summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/settings.h
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/settings.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/noncore/unsupported/oipkg/settings.h b/noncore/unsupported/oipkg/settings.h
index cf6e614..e2072f1 100644
--- a/noncore/unsupported/oipkg/settings.h
+++ b/noncore/unsupported/oipkg/settings.h
@@ -21,28 +21,13 @@ public:
21 QStringList getActiveServers(); 21 QStringList getActiveServers();
22 QStringList getDestinationUrls(); 22 QStringList getDestinationUrls();
23 23
24private:
25 QIntDict<QString> serverurlDic;
26 QIntDict<QString> destinationurlDic;
27 int ipkg_old;
28 int editedserver;
29 int editeddestination;
30 int currentSetting;
31 int installationSettingsCount;
32 bool changed;
33
34 bool readIpkgConfig(const QString&);
35 void writeIpkgConfig(const QString&);
36 void writeSettings();
37 void readSettings();
38
39public slots: 24public slots:
40 void writeInstallationSettings(); 25 void writeInstallationSettings();
41 void readInstallationSettings(); 26 void readInstallationSettings();
42 void writeCurrentInstallationSetting(); 27 void writeCurrentInstallationSetting();
43 void readInstallationSetting(int); 28 void readInstallationSetting(int);
44 void installationSettingSetName(const QString &); 29 void installationSettingSetName(const QString &);
45 30 void activeDestinationChange(int)
46 void newServer(); 31 void newServer();
47 void editServer(int); 32 void editServer(int);
48 void removeDestination(); 33 void removeDestination();
@@ -58,6 +43,21 @@ public slots:
58 void newInstallationSetting(); 43 void newInstallationSetting();
59 void removeInstallationSetting(); 44 void removeInstallationSetting();
60 void renameInstallationSetting(); 45 void renameInstallationSetting();
46
47private:
48 QIntDict<QString> serverurlDic;
49 QIntDict<QString> destinationurlDic;
50 int ipkg_old;
51 int editedserver;
52 int editeddestination;
53 int currentSetting;
54 int installationSettingsCount;
55 bool changed;
56
57 bool readIpkgConfig(const QString&);
58 void writeIpkgConfig(const QString&);
59 void writeSettings();
60 void readSettings();
61}; 61};
62 62
63#endif 63#endif