diff options
author | kh1 <qt-info@nokia.com> | 2011-06-01 14:55:19 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-06-01 14:55:19 +0200 |
commit | 351907678da36edc59df7b3006168bd1940c6a47 (patch) | |
tree | 88e346d7148d648003e2872a550077a640eee90f /examples/testapp/componentselectiondialog.h | |
parent | a48a6eec657840b5a5068537e6fd88a3c1303207 (diff) |
Adjust to fit the new component model.
Diffstat (limited to 'examples/testapp/componentselectiondialog.h')
-rw-r--r-- | examples/testapp/componentselectiondialog.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/examples/testapp/componentselectiondialog.h b/examples/testapp/componentselectiondialog.h index f75a62c7b..609d08eb4 100644 --- a/examples/testapp/componentselectiondialog.h +++ b/examples/testapp/componentselectiondialog.h @@ -37,26 +37,25 @@ class ComponentSelectionDialog : public QDialog Q_OBJECT public: - explicit ComponentSelectionDialog( QInstaller::Installer* installer, QWidget* parent = 0 ); + explicit ComponentSelectionDialog(QInstaller::Installer *installer, QWidget *parent = 0); virtual ~ComponentSelectionDialog(); - Q_INVOKABLE void selectComponent( const QString& compoenent ); - Q_INVOKABLE void deselectComponent( const QString& component ); + + Q_INVOKABLE void selectComponent(const QString &compoenent); + Q_INVOKABLE void deselectComponent(const QString &component); Q_INVOKABLE void selectAll(); Q_INVOKABLE void deselectAll(); Q_INVOKABLE void install(); -public Q_SLOTS: - void refreshDialog(); - Q_SIGNALS: void requestUpdate(); private: + Q_PRIVATE_SLOT(d, void modelReset()) + Q_PRIVATE_SLOT(d, void currentChanged(const QModelIndex &index)) + +private: class Private; Private *d; - - Q_PRIVATE_SLOT( d, void selectionChanged() ) - Q_PRIVATE_SLOT( d, void modelReset() ) }; #endif |