summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/settings.h
authortille <tille>2002-04-29 22:45:35 (UTC)
committer tille <tille>2002-04-29 22:45:35 (UTC)
commitb794af4c50efffe239c94e5a015e90565ff991c3 (patch) (unidiff)
treedd4e20851eba8052a07396b57388f9216f85ae7f /noncore/unsupported/oipkg/settings.h
parente4d0908ec054b71a9b97e9c35efbd5a697d0b58d (diff)
downloadopie-b794af4c50efffe239c94e5a015e90565ff991c3.zip
opie-b794af4c50efffe239c94e5a015e90565ff991c3.tar.gz
opie-b794af4c50efffe239c94e5a015e90565ff991c3.tar.bz2
removes links again
Diffstat (limited to 'noncore/unsupported/oipkg/settings.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/settings.h32
1 files changed, 16 insertions, 16 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
@@ -18,34 +18,19 @@ public:
18 QString getDestinationName(); 18 QString getDestinationName();
19 QString getLinkDestinationName(); 19 QString getLinkDestinationName();
20 bool createLinks(); 20 bool createLinks();
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();
49 void newDestination(); 34 void newDestination();
50 void editDestination(int); 35 void editDestination(int);
51 void linkEnabled(bool); 36 void linkEnabled(bool);
@@ -55,9 +40,24 @@ public slots:
55 void destNameChanged(const QString&); 40 void destNameChanged(const QString&);
56 void destUrlChanged(const QString&); 41 void destUrlChanged(const QString&);
57 void installationSettingChange(int); 42 void installationSettingChange(int);
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