diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-04-23 17:27:46 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-04-25 14:23:56 +0200 |
commit | 3eb3be2e042a6c93007f8bf4a1b6079b4961d919 (patch) | |
tree | 98d9b55d91bdfe65718e5dc9506e9a75e9a0df72 /src/libs/installer/componentmodel.h | |
parent | c6821e8dc0b1c4724f158d4714b7b25e60bd6638 (diff) |
Move the models inside core engine.
Improves the situation for qml based installer.
Change-Id: Ia7198f0720a1268c7918517228c13255cccce4ea
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'src/libs/installer/componentmodel.h')
-rw-r--r-- | src/libs/installer/componentmodel.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libs/installer/componentmodel.h b/src/libs/installer/componentmodel.h index 6dd6b634a..d51c25edf 100644 --- a/src/libs/installer/componentmodel.h +++ b/src/libs/installer/componentmodel.h @@ -67,10 +67,6 @@ public: int role = Qt::EditRole); Qt::ItemFlags flags(const QModelIndex &index) const; - - void setRootComponents(QList<Component*> rootComponents); - void appendRootComponents(QList<Component*> rootComponents); - PackageManagerCore *packageManagerCore() const; bool defaultCheckState() const; @@ -85,6 +81,9 @@ public Q_SLOTS: void deselectAll(); void selectDefault(); + void setRootComponents(QList<QInstaller::Component*> rootComponents); + void appendRootComponents(QList<QInstaller::Component*> rootComponents); + Q_SIGNALS: void defaultCheckStateChanged(bool changed); void checkStateChanged(const QModelIndex &index); |