Diffstat (limited to 'noncore/unsupported/oipkg/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/settings.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/noncore/unsupported/oipkg/settings.h b/noncore/unsupported/oipkg/settings.h deleted file mode 100644 index 44459b2..0000000 --- a/noncore/unsupported/oipkg/settings.h +++ b/dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * This program is free software; you can redistribute it and/or modify * | ||
4 | * it under the terms of the GNU General Public License as published by * | ||
5 | * the Free Software Foundation; either version 2 of the License, or * | ||
6 | * (at your option) any later version. * | ||
7 | * * | ||
8 | ***************************************************************************/ | ||
9 | // (c) 2002 Patrick S. Vogt <tille@handhelds.org> | ||
10 | #ifndef PACKAGEMANAGERSETTINGS_H | ||
11 | #define PACKAGEMANAGERSETTINGS_H | ||
12 | |||
13 | #include "pksettingsbase.h" | ||
14 | #include <qintdict.h> | ||
15 | |||
16 | |||
17 | class PackageManagerSettings : public PackageManagerSettingsBase | ||
18 | { | ||
19 | Q_OBJECT | ||
20 | public: | ||
21 | PackageManagerSettings( QWidget* , const char* , WFlags ); | ||
22 | ~PackageManagerSettings(); | ||
23 | |||
24 | bool showDialog( int ) ; | ||
25 | QString getDestinationUrl(); | ||
26 | QString getDestinationName(); | ||
27 | QString getLinkDestinationName(); | ||
28 | bool createLinks(); | ||
29 | QStringList getActiveServers(); | ||
30 | QStringList getDestinationUrls(); | ||
31 | |||
32 | public slots: /** No descriptions */ | ||
33 | void createLinks(); | ||
34 | void removeLinks(); | ||
35 | void writeInstallationSettings(); | ||
36 | void readInstallationSettings(); | ||
37 | void writeCurrentInstallationSetting(); | ||
38 | void readInstallationSetting(int); | ||
39 | void installationSettingSetName(const QString &); | ||
40 | void activeDestinationChange(int) | ||
41 | void newServer(); | ||
42 | void editServer(int); | ||
43 | void removeDestination(); | ||
44 | void newDestination(); | ||
45 | void editDestination(int); | ||
46 | void linkEnabled(bool); | ||
47 | void removeServer(); | ||
48 | void serverNameChanged(const QString&); | ||
49 | void serverUrlChanged(const QString&); | ||
50 | void destNameChanged(const QString&); | ||
51 | void destUrlChanged(const QString&); | ||
52 | void installationSettingChange(int); | ||
53 | void newInstallationSetting(); | ||
54 | void removeInstallationSetting(); | ||
55 | void renameInstallationSetting(); | ||
56 | |||
57 | private: | ||
58 | QIntDict<QString> serverurlDic; | ||
59 | QIntDict<QString> destinationurlDic; | ||
60 | int ipkg_old; | ||
61 | int editedserver; | ||
62 | int editeddestination; | ||
63 | int currentSetting; | ||
64 | int installationSettingsCount; | ||
65 | bool changed; | ||
66 | bool serverChanged; | ||
67 | |||
68 | bool readIpkgConfig(const QString&); | ||
69 | void writeIpkgConfig(const QString&); | ||
70 | void writeSettings(); | ||
71 | void readSettings(); | ||
72 | }; | ||
73 | |||
74 | #endif | ||
75 | |||