author | ulf69 <ulf69> | 2004-08-02 18:10:42 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-02 18:10:42 (UTC) |
commit | 09e8e7e5d4c3cafcf2b05511e5c78717fb5380e7 (patch) (unidiff) | |
tree | 4060a8dad4d840c92c62c16f9c51e733da51e33c /microkde/kresources/managerimpl.h | |
parent | 7520e7cb4f10eb535efd457c539a15a0b7e52137 (diff) | |
download | kdepimpi-09e8e7e5d4c3cafcf2b05511e5c78717fb5380e7.zip kdepimpi-09e8e7e5d4c3cafcf2b05511e5c78717fb5380e7.tar.gz kdepimpi-09e8e7e5d4c3cafcf2b05511e5c78717fb5380e7.tar.bz2 |
add changes that resources can be used for syncing as well
Diffstat (limited to 'microkde/kresources/managerimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/managerimpl.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/microkde/kresources/managerimpl.h b/microkde/kresources/managerimpl.h index a049bcc..0425279 100644 --- a/microkde/kresources/managerimpl.h +++ b/microkde/kresources/managerimpl.h | |||
@@ -23,2 +23,9 @@ | |||
23 | 23 | ||
24 | /* | ||
25 | Enhanced Version of the file for platform independent KDE tools. | ||
26 | Copyright (c) 2004 Ulf Schenk | ||
27 | |||
28 | $Id$ | ||
29 | */ | ||
30 | |||
24 | #ifndef KRESOURCES_MANAGERIMPL_H | 31 | #ifndef KRESOURCES_MANAGERIMPL_H |
@@ -60,3 +67,3 @@ class ManagerImpl : public QObject | |||
60 | public: | 67 | public: |
61 | ManagerImpl( const QString &family ); | 68 | ManagerImpl( const QString &family, bool syncable); |
62 | ~ManagerImpl(); | 69 | ~ManagerImpl(); |
@@ -85,2 +92,7 @@ class ManagerImpl : public QObject | |||
85 | 92 | ||
93 | /** | ||
94 | Return true, if the manager manages syncable resources. | ||
95 | */ | ||
96 | bool manageSyncable() const; | ||
97 | |||
86 | public slots: | 98 | public slots: |
@@ -93,6 +105,6 @@ class ManagerImpl : public QObject | |||
93 | void createStandardConfig(); | 105 | void createStandardConfig(); |
94 | 106 | ||
95 | Resource *readResourceConfig( const QString& identifier, bool checkActive ); | 107 | Resource *readResourceConfig( const QString& identifier, bool checkActive ); |
96 | void writeResourceConfig( Resource *resource, bool checkActive ); | 108 | void writeResourceConfig( Resource *resource, bool checkActive ); |
97 | 109 | ||
98 | void removeResource( Resource *resource ); | 110 | void removeResource( Resource *resource ); |
@@ -102,2 +114,3 @@ class ManagerImpl : public QObject | |||
102 | QString mFamily; | 114 | QString mFamily; |
115 | bool mSyncable; | ||
103 | KConfig *mConfig; | 116 | KConfig *mConfig; |