summaryrefslogtreecommitdiffstats
path: root/examples/testapp/componentselectiondialog.h
diff options
context:
space:
mode:
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