diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-02-28 18:42:06 +0100 |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-02-28 19:07:41 +0100 |
commit | 5fe25728c0ebb04c3fd2958d902cc58d2064b84d (patch) | |
tree | 12623614b0c2fbbf483e842235731956dd649ad7 /tools/qtconfig/previewwidget.h | |
parent | 74c683c6879dea1cb4eaa99aaf61e16524b8a4a1 (diff) | |
download | qt4-tools-5fe25728c0ebb04c3fd2958d902cc58d2064b84d.tar.gz |
Remove qt3support dependency of qtconfig
Revert "Revert the integration of the merge request 2286."
This reverts commit e3edad83a1e6e99a551d40d4118352435c6dd710.
This had been submitted in the Qt 4.7, but reverted because
the change was to intrusive to be pushed in a stable branch.
Now re-apply the change in master.
Conflicts:
tools/qtconfig/mainwindowbase.cpp
tools/qtconfig/mainwindowbase.h
tools/qtconfig/paletteeditoradvancedbase.cpp
tools/qtconfig/paletteeditoradvancedbase.h
tools/qtconfig/paletteeditoradvancedbase.ui
tools/qtconfig/previewwidgetbase.cpp
tools/qtconfig/previewwidgetbase.h
tools/qtconfig/previewwidgetbase.ui
tools/tools.pro
Diffstat (limited to 'tools/qtconfig/previewwidget.h')
-rw-r--r-- | tools/qtconfig/previewwidget.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/tools/qtconfig/previewwidget.h b/tools/qtconfig/previewwidget.h index a6ec5b3c62..d39fd75404 100644 --- a/tools/qtconfig/previewwidget.h +++ b/tools/qtconfig/previewwidget.h @@ -42,21 +42,29 @@ #ifndef PREVIEWWIDGET_H #define PREVIEWWIDGET_H -#include "previewwidgetbase.h" +#include <QtGui/QWidget> QT_BEGIN_NAMESPACE -class PreviewWidget : public PreviewWidgetBase +namespace Ui { + class PreviewWidget; +} + + +class PreviewWidget : public QWidget { Q_OBJECT public: - PreviewWidget( QWidget *parent = 0, const char *name = 0 ); + PreviewWidget(QWidget *parent = 0); + ~PreviewWidget(); - void closeEvent(QCloseEvent *); bool eventFilter(QObject *, QEvent *); +private: + void closeEvent(QCloseEvent *); + Ui::PreviewWidget *ui; }; QT_END_NAMESPACE -#endif +#endif // PREVIEWWIDGET_H |