summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/updatesettings.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@nokia.com>2011-11-15 12:37:01 +0100
committerKarsten Heimrich <karsten.heimrich@nokia.com>2011-11-15 14:54:00 +0100
commitd48cb97ba1b1179ce314d6ab190a7379f802465a (patch)
tree21ed68e872ef7f1eef8fad1d276786af8ac50348 /installerbuilder/libinstaller/updatesettings.h
parent2023eb987e50bdf751c444c3a86e36aad72efc5d (diff)
Use QSet throughout the whole code, saves us QList conversions.
Remove default parameter from Repo ctor, lead already to confusion. Also add some more specific {get/set} repo functions, to be able to distinguish between the different kind of repositories (needed for setting dialog). Change-Id: I2c1e4d5377799f54e408a89785bdc5f01619f846 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
Diffstat (limited to 'installerbuilder/libinstaller/updatesettings.h')
-rw-r--r--installerbuilder/libinstaller/updatesettings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/installerbuilder/libinstaller/updatesettings.h b/installerbuilder/libinstaller/updatesettings.h
index 0b2f46bd8..490dea838 100644
--- a/installerbuilder/libinstaller/updatesettings.h
+++ b/installerbuilder/libinstaller/updatesettings.h
@@ -31,7 +31,7 @@
QT_BEGIN_NAMESPACE
class QDateTime;
template<typename T>
-class QList;
+class QSet;
class QSettings;
QT_END_NAMESPACE
@@ -65,8 +65,8 @@ public:
bool checkOnlyImportantUpdates() const;
void setCheckOnlyImportantUpdates(bool checkOnlyImportantUpdates);
- QList<Repository> repositories() const;
- void setRepositories(const QList<Repository> &repositories);
+ QSet<Repository> repositories() const;
+ void setRepositories(const QSet<Repository> &repositories);
private:
class Private;