3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
12 #include "FormIndex.h"
13 #include "dlg/indexdlgdata.h"
15 class IndexDialog : public IndexDialogData
20 IndexDialog (FormIndex * form, QWidget * parent = NULL, char const * name = NULL);
22 void setIndexText(char const * str) { line_index->setText(str); }
23 char const * getIndexText() { return line_index->text(); }
26 virtual void clickedOK() { form_->OKButton(); };
27 virtual void clickedCancel() { form_->CancelButton(); };
28 virtual void closeEvent(QCloseEvent * e);
34 #endif // INDEXDIALOG_H