summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/previewwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qtconfig/previewwidget.h')
-rw-r--r--tools/qtconfig/previewwidget.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/qtconfig/previewwidget.h b/tools/qtconfig/previewwidget.h
index 1452932..ee3513d 100644
--- a/tools/qtconfig/previewwidget.h
+++ b/tools/qtconfig/previewwidget.h
@@ -42,19 +42,26 @@
#ifndef PREVIEWWIDGET_H
#define PREVIEWWIDGET_H
-#include "ui_previewwidget.h"
+#include <QtGui/QWidget>
+
+namespace Ui {
+ class PreviewWidget;
+}
QT_BEGIN_NAMESPACE
-class PreviewWidget : public QWidget, public Ui::PreviewWidget
+class PreviewWidget : public QWidget
{
Q_OBJECT
public:
PreviewWidget(QWidget *parent = 0);
+ ~PreviewWidget();
- void closeEvent(QCloseEvent *);
bool eventFilter(QObject *, QEvent *);
+private:
+ void closeEvent(QCloseEvent *);
+ Ui::PreviewWidget* ui;
};
QT_END_NAMESPACE