]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QIndexDialog.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QIndexDialog.h
index 559bc3ff673607dbacf3ae4baea34c67722c5dff..5ee70d21dbc32190bd6860914a3357cd6174e2cf 100644 (file)
@@ -1,34 +1,35 @@
+// -*- C++ -*-
 /**
  * \file QIndexDialog.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef QINDEXDIALOG_H
 #define QINDEXDIALOG_H
-#include <config.h>
+
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "ui/QIndexDialogBase.h"
 
 class QIndex;
 
-class QIndexDialog : public QIndexDialogBase
-{ Q_OBJECT
-
+class QIndexDialog : public QIndexDialogBase {
+       Q_OBJECT
 public:
-       QIndexDialog(QIndex * form, QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags fl = 0);
-       ~QIndexDialog();
-
-public slots:
-       void apply_adaptor();
-       void close_adaptor();
+       QIndexDialog(QIndex * form);
 
+       virtual void show();
+protected slots:
+       virtual void change_adaptor();
 protected:
-       void closeEvent(QCloseEvent * e);
-
+       virtual void closeEvent(QCloseEvent * e);
 private:
        QIndex * form_;
 };