]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/indexdlg.h
small cleanup, doxygen, formatting changes
[lyx.git] / src / frontends / kde / indexdlg.h
1 /**
2  * \file indexdlg.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon
7  */
8
9 #ifndef INDEXDIALOG_H
10 #define INDEXDIALOG_H
11
12 #include "dlg/indexdlgdata.h"
13
14 class FormIndex;
15
16 class IndexDialog : public IndexDialogData
17 {
18 Q_OBJECT
19
20 public:
21         IndexDialog (FormIndex * form, QWidget * parent = NULL, char const * name = NULL);
22         virtual ~IndexDialog();
23
24         void setIndexText(char const * str) { index->setText(str); }
25         char const * getIndexText() { return index->text(); }
26         void setReadOnly(bool);
27
28 private slots:
29         void clickedOK();
30         void clickedCancel();
31
32 private:
33         FormIndex * form_;
34
35 };
36 #endif // INDEXDIALOG_H