Diffstat (limited to 'kabc/plugins/dir/resourcedir.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kabc/plugins/dir/resourcedir.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kabc/plugins/dir/resourcedir.h b/kabc/plugins/dir/resourcedir.h index 6e35695..c2aedad 100644 --- a/kabc/plugins/dir/resourcedir.h +++ b/kabc/plugins/dir/resourcedir.h | |||
@@ -40,57 +40,57 @@ class QTimer; | |||
40 | namespace KABC { | 40 | namespace KABC { |
41 | 41 | ||
42 | class FormatPlugin; | 42 | class FormatPlugin; |
43 | 43 | ||
44 | /** | 44 | /** |
45 | @internal | 45 | @internal |
46 | */ | 46 | */ |
47 | class ResourceDir : public Resource | 47 | class ResourceDir : public Resource |
48 | { | 48 | { |
49 | Q_OBJECT | 49 | Q_OBJECT |
50 | 50 | ||
51 | public: | 51 | public: |
52 | ResourceDir( const KConfig* ); | 52 | ResourceDir( const KConfig*, bool syncable ); |
53 | ~ResourceDir(); | 53 | ~ResourceDir(); |
54 | 54 | ||
55 | virtual void writeConfig( KConfig* ); | 55 | virtual void writeConfig( KConfig* ); |
56 | 56 | ||
57 | virtual bool doOpen(); | 57 | virtual bool doOpen(); |
58 | virtual void doClose(); | 58 | virtual void doClose(); |
59 | 59 | ||
60 | virtual Ticket *requestSaveTicket(); | 60 | virtual Ticket *requestSaveTicket(); |
61 | 61 | ||
62 | virtual bool load(); | 62 | virtual bool load(); |
63 | virtual bool save( Ticket * ); | 63 | virtual bool save( Ticket * ); |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * Set path to be used for saving. | 66 | * Set path to be used for saving. |
67 | */ | 67 | */ |
68 | void setPath( const QString & ); | 68 | void setPath( const QString & ); |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * Return path used for loading and saving the address book. | 71 | * Return path used for loading and saving the address book. |
72 | */ | 72 | */ |
73 | QString path() const; | 73 | QString path() const; |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * Set the format by name. | 76 | * Set the format by name. |
77 | */ | 77 | */ |
78 | void setFormat( const QString &format ); | 78 | void setFormat( const QString &format ); |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * Returns the format name. | 81 | * Returns the format name. |
82 | */ | 82 | */ |
83 | QString format() const; | 83 | QString format() const; |
84 | 84 | ||
85 | /** | 85 | /** |
86 | * Remove a addressee from its source. | 86 | * Remove a addressee from its source. |
87 | * This method is mainly called by KABC::AddressBook. | 87 | * This method is mainly called by KABC::AddressBook. |
88 | */ | 88 | */ |
89 | virtual void removeAddressee( const Addressee& addr ); | 89 | virtual void removeAddressee( const Addressee& addr ); |
90 | 90 | ||
91 | /** | 91 | /** |
92 | * This method is called by an error handler if the application | 92 | * This method is called by an error handler if the application |
93 | * crashed | 93 | * crashed |
94 | */ | 94 | */ |
95 | virtual void cleanUp(); | 95 | virtual void cleanUp(); |
96 | 96 | ||