X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt2%2FQTocDialog.h;h=2c568600bed9f21581b7bed580ef19e04f0dd4d1;hb=1fcedd4b635807e7046342f324d054c04c37f054;hp=b01da871a9b796fa79da88d90a5dc0983a623693;hpb=03add3957a3807cdd9f7608aa9277c0177988a9e;p=lyx.git diff --git a/src/frontends/qt2/QTocDialog.h b/src/frontends/qt2/QTocDialog.h index b01da871a9..2c568600be 100644 --- a/src/frontends/qt2/QTocDialog.h +++ b/src/frontends/qt2/QTocDialog.h @@ -1,35 +1,34 @@ +// -*- C++ -*- /** * \file QTocDialog.h - * Copyright 2001 the LyX Team - * Read the file COPYING + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author John Levon + * \author John Levon + * + * Full author contact details are available in file CREDITS */ #ifndef QTOCDIALOG_H #define QTOCDIALOG_H - + + #include "ui/QTocDialogBase.h" class QToc; -class QTocDialog : public QTocDialogBase -{ Q_OBJECT - +class QTocDialog : public QTocDialogBase { + Q_OBJECT public: - QTocDialog(QToc * form, QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags fl = 0); + QTocDialog(QToc * form); ~QTocDialog(); - public slots: void activate_adaptor(int); - void close_adaptor(); void depth_adaptor(int); void select_adaptor(QListViewItem *); void update_adaptor(); - protected: void closeEvent(QCloseEvent * e); - private: QToc * form_; };