]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QErrorList.h
more dialog merging
[lyx.git] / src / frontends / qt4 / QErrorList.h
index 89553442a2a3b40330bb712008e19a4045357815..bc1c1aafcb7384abf45a864a6d119cfeef7e3a6d 100644 (file)
 #define QERRORLIST_H
 
 #include "QDialogView.h"
-#include "QErrorListDialog.h"
+#include "ui/ErrorListUi.h"
+
+#include <QDialog>
 
 class QListWidgetItem;
+class QCloseEvent;
+class QShowEvent;
 
 namespace lyx {
 namespace frontend {
 
+class QErrorList;
+
+class QErrorListDialog : public QDialog, public Ui::QErrorListUi {
+       Q_OBJECT
+public:
+       QErrorListDialog(QErrorList * form);
+
+public Q_SLOTS:
+       void select_adaptor(QListWidgetItem *);
+protected:
+       void closeEvent(QCloseEvent *);
+       void showEvent(QShowEvent *);
+private:
+       QErrorList * form_;
+};
+
+
 class ControlErrorList;
 
 class QErrorList :