summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/componentmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/componentmodel.h')
-rw-r--r--src/libs/installer/componentmodel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/installer/componentmodel.h b/src/libs/installer/componentmodel.h
index 78d7e6401..f9fbae47a 100644
--- a/src/libs/installer/componentmodel.h
+++ b/src/libs/installer/componentmodel.h
@@ -90,17 +90,17 @@ public Q_SLOTS:
void setCheckedState(QInstaller::ComponentModel::ModelStateFlag state);
Q_SIGNALS:
- void checkStateChanged(const QModelIndex &index);
- void checkStateChanged(QInstaller::ComponentModel::ModelState state);
+ void componentsCheckStateChanged(const QList<QModelIndex> &indexes);
+ void modelCheckStateChanged(QInstaller::ComponentModel::ModelState state);
private Q_SLOTS:
void onVirtualStateChanged();
private:
void postModelReset();
- void updateAndEmitModelState();
+ void updateModelState();
void collectComponents(Component *const component, const QModelIndex &parent) const;
- QSet<QModelIndex> updateCheckedState(const ComponentSet &components, Qt::CheckState state);
+ QList<QModelIndex> updateCheckedState(const ComponentSet &components, const Qt::CheckState state);
private:
PackageManagerCore *m_core;