]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/indexdlg.h
implement getLabelList
[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 "FormIndex.h" 
13 #include "dlg/indexdlgdata.h"
14
15 // FIXME: closeEvent 
16
17 class IndexDialog : public IndexDialogData
18 {
19 Q_OBJECT
20
21 public:
22         IndexDialog (FormIndex * form, QWidget * parent = NULL, char const * name = NULL);
23
24         void setIndexText(char const * str) { line_index->setText(str); }
25         char const * getIndexText() { return line_index->text(); }
26
27 private slots:
28         void clickedOK() { form_->OKButton(); };
29         void clickedCancel() { form_->CancelButton(); };
30
31 private:
32         FormIndex * form_;
33
34 };
35 #endif // INDEXDIALOG_H