]> git.lyx.org Git - features.git/blob - src/frontends/kde/indexdlg.h
renaming, fix citation (still no search though)
[features.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 class IndexDialog : public IndexDialogData
16 {
17 Q_OBJECT
18
19 public:
20         IndexDialog (FormIndex * form, QWidget * parent = NULL, char const * name = NULL);
21
22         void setIndexText(char const * str) { line_index->setText(str); }
23         char const * getIndexText() { return line_index->text(); }
24
25 protected slots:
26         virtual void clickedOK() { form_->OKButton(); };
27         virtual void clickedCancel() { form_->CancelButton(); };
28         virtual void closeEvent(QCloseEvent * e);
29
30 private:
31         FormIndex * form_;
32
33 };
34 #endif // INDEXDIALOG_H