summaryrefslogtreecommitdiffstats
path: root/examples/testapp/componentselectiondialog.h
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-05-24 23:15:05 +0200
committerkh1 <qt-info@nokia.com>2011-05-24 23:15:05 +0200
commit5c6ab233652ba2bcb116269d60711753e4d4cc8b (patch)
tree55488c1cc2be44f72ecbd8a5717f22ef9fa74198 /examples/testapp/componentselectiondialog.h
parent37702a9650d2bd79bf36992638d29e621eff932b (diff)
Make it compile again. Still does not work.
Diffstat (limited to 'examples/testapp/componentselectiondialog.h')
-rw-r--r--examples/testapp/componentselectiondialog.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/examples/testapp/componentselectiondialog.h b/examples/testapp/componentselectiondialog.h
index 0b67084c6..f75a62c7b 100644
--- a/examples/testapp/componentselectiondialog.h
+++ b/examples/testapp/componentselectiondialog.h
@@ -28,20 +28,17 @@
#include <QtGui/QDialog>
-#include <KDToolsCore/pimpl_ptr>
-
-#include "installer_global.h"
-
-namespace QInstaller
-{
-class Installer;
+namespace QInstaller {
+ class Installer;
+}
-class INSTALLER_EXPORT ComponentSelectionDialog : public QDialog
+class ComponentSelectionDialog : public QDialog
{
Q_OBJECT
+
public:
explicit ComponentSelectionDialog( QInstaller::Installer* installer, QWidget* parent = 0 );
- ~ComponentSelectionDialog();
+ virtual ~ComponentSelectionDialog();
Q_INVOKABLE void selectComponent( const QString& compoenent );
Q_INVOKABLE void deselectComponent( const QString& component );
Q_INVOKABLE void selectAll();
@@ -55,13 +52,11 @@ Q_SIGNALS:
void requestUpdate();
private:
- Q_PRIVATE_SLOT( d, void selectionChanged() );
- Q_PRIVATE_SLOT( d, void modelReset() );
-
class Private;
- kdtools::pimpl_ptr< Private > d;
-};
+ Private *d;
-}
+ Q_PRIVATE_SLOT( d, void selectionChanged() )
+ Q_PRIVATE_SLOT( d, void modelReset() )
+};
#endif