X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fkde%2Ftocdlg.h;h=e185fb99c95679d0a269ab782f34b4a49cadb662;hb=f6aaac088c411f6d03bab73695b14a5441ea85b1;hp=e21b0d806467ce6c3d3ac61f27de6a265f790f9c;hpb=8ccdbef7a0d4f7f09cf4de4ca1873d8a497231cb;p=lyx.git diff --git a/src/frontends/kde/tocdlg.h b/src/frontends/kde/tocdlg.h index e21b0d8064..e185fb99c9 100644 --- a/src/frontends/kde/tocdlg.h +++ b/src/frontends/kde/tocdlg.h @@ -1,18 +1,11 @@ -/* - * tocdlg.h - * (C) 2000 LyX Team - * John Levon, moz@compsoc.man.ac.uk +/** + * \file tocdlg.h + * Copyright 2001 the LyX Team + * Read the file COPYING + * + * \author John Levon */ -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - #ifndef TOCDLG_H #define TOCDLG_H @@ -30,37 +23,37 @@ #include "FormToc.h" -class TocDialog : public QWidget { - Q_OBJECT +class TocDialog : public QDialog { + Q_OBJECT public: - TocDialog(FormToc *form, QWidget *parent=0, const char *name=0, + TocDialog(FormToc * form, QWidget * parent=0, char const * name=0, bool modal=false, WFlags f=0); ~TocDialog(); // widgets - QComboBox *menu; - QListView *tree; - QPushButton *buttonUpdate; - QPushButton *buttonClose; - QSlider *depth; - QLabel *depthlabel; + QComboBox * menu; + QListView * tree; + QPushButton * buttonUpdate; + QPushButton * buttonClose; + QSlider * depth; + QLabel * depthlabel; protected: - void closeEvent(QCloseEvent *e); + void closeEvent(QCloseEvent * e); private: - FormToc *form_; + FormToc * form_; // layouts - QHBoxLayout *topLayout; - QVBoxLayout *layout; - QHBoxLayout *buttonLayout; + QHBoxLayout * topLayout; + QVBoxLayout * layout; + QHBoxLayout * buttonLayout; private slots: /// adaptor to FormToc::select - void select_adaptor(QListViewItem *item) { + void select_adaptor(QListViewItem * item) { form_->select(item->text(0)); } @@ -102,4 +95,4 @@ private slots: } }; -#endif +#endif // TOCDLG_H