Diffstat (limited to 'noncore/unsupported/oipkg/pksettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pksettings.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/pksettings.h b/noncore/unsupported/oipkg/pksettings.h index cda352a..2982f1c 100644 --- a/noncore/unsupported/oipkg/pksettings.h +++ b/noncore/unsupported/oipkg/pksettings.h | |||
@@ -1,62 +1,61 @@ | |||
1 | #ifndef PACKAGEMANAGERSETTINGS_H | 1 | #ifndef PACKAGEMANAGERSETTINGS_H |
2 | #define PACKAGEMANAGERSETTINGS_H | 2 | #define PACKAGEMANAGERSETTINGS_H |
3 | 3 | ||
4 | #include "pksettingsbase.h" | 4 | #include "pksettingsbase.h" |
5 | #include <qintdict.h> | 5 | #include <qintdict.h> |
6 | 6 | ||
7 | 7 | ||
8 | class PackageManagerSettings : private PackageManagerSettingsBase | 8 | class PackageManagerSettings : private PackageManagerSettingsBase |
9 | { | 9 | { |
10 | // Q_OBJECT | 10 | // Q_OBJECT |
11 | public: | 11 | public: |
12 | PackageManagerSettings( QWidget* , const char* , WFlags ); | 12 | PackageManagerSettings( QWidget* , const char* , WFlags ); |
13 | ~PackageManagerSettings(); | 13 | ~PackageManagerSettings(); |
14 | 14 | ||
15 | bool showDialog( int ) ; | 15 | bool showDialog( int ) ; |
16 | QString getDestinationUrl(); | 16 | QString getDestinationUrl(); |
17 | QString getDestinationName(); | 17 | QString getDestinationName(); |
18 | QString getLinkDestinationName(); | 18 | QString getLinkDestinationName(); |
19 | bool createLinks(); | 19 | bool createLinks(); |
20 | QStringList getActiveServers(); | 20 | QStringList getActiveServers(); |
21 | QStringList getDestinationUrls(); | 21 | QStringList getDestinationUrls(); |
22 | |||
23 | private: | 22 | private: |
24 | QIntDict<QString> serverurlDic; | 23 | QIntDict<QString> serverurlDic; |
25 | QIntDict<QString> destinationurlDic; | 24 | QIntDict<QString> destinationurlDic; |
26 | int ipkg_old; | 25 | int ipkg_old; |
27 | int editedserver; | 26 | int editedserver; |
28 | int editeddestination; | 27 | int editeddestination; |
29 | int currentSetting; | 28 | int currentSetting; |
30 | int installationSettingsCount; | 29 | int installationSettingsCount; |
31 | bool changed; | 30 | bool changed; |
32 | 31 | ||
33 | bool readIpkgConfig(const QString&); | 32 | bool readIpkgConfig(const QString&); |
34 | void writeIpkgConfig(const QString&); | 33 | void writeIpkgConfig(const QString&); |
35 | void writeSettings(); | 34 | void writeSettings(); |
36 | void readSettings(); | 35 | void readSettings(); |
37 | 36 | ||
38 | public slots: | 37 | public slots: |
39 | void writeInstallationSettings(); | 38 | void writeInstallationSettings(); |
40 | void readInstallationSettings(); | 39 | void readInstallationSettings(); |
41 | void writeCurrentInstallationSetting(); | 40 | void writeCurrentInstallationSetting(); |
42 | void readInstallationSetting(int); | 41 | void readInstallationSetting(int); |
43 | void installationSettingSetName(const QString &); | 42 | void installationSettingSetName(const QString &); |
44 | 43 | ||
45 | void newServer(); | 44 | void newServer(); |
46 | void editServer(int); | 45 | void editServer(int); |
47 | void removeDestination(); | 46 | void removeDestination(); |
48 | void newDestination(); | 47 | void newDestination(); |
49 | void editDestination(int); | 48 | void editDestination(int); |
50 | void linkEnabled(bool); | 49 | void linkEnabled(bool); |
51 | void removeServer(); | 50 | void removeServer(); |
52 | void serverNameChanged(const QString&); | 51 | void serverNameChanged(const QString&); |
53 | void serverUrlChanged(const QString&); | 52 | void serverUrlChanged(const QString&); |
54 | void destNameChanged(const QString&); | 53 | void destNameChanged(const QString&); |
55 | void destUrlChanged(const QString&); | 54 | void destUrlChanged(const QString&); |
56 | void installationSettingChange(int); | 55 | void installationSettingChange(int); |
57 | void newInstallationSetting(); | 56 | void newInstallationSetting(); |
58 | void removeInstallationSetting(); | 57 | void removeInstallationSetting(); |
59 | void renameInstallationSetting(); | 58 | void renameInstallationSetting(); |
60 | }; | 59 | }; |
61 | 60 | ||
62 | #endif | 61 | #endif |