author | ulf69 <ulf69> | 2004-08-04 22:45:22 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-04 22:45:22 (UTC) |
commit | c3a704f5acda9cf9fee66e5c0b1b864f3b7dd852 (patch) (unidiff) | |
tree | dc59744a6d59ba241e793ce051da485d0bf16d06 /kabc/resource.cpp | |
parent | b83866e08ddcc5cb2734801977927f48b53a2e1c (diff) | |
download | kdepimpi-c3a704f5acda9cf9fee66e5c0b1b864f3b7dd852.zip kdepimpi-c3a704f5acda9cf9fee66e5c0b1b864f3b7dd852.tar.gz kdepimpi-c3a704f5acda9cf9fee66e5c0b1b864f3b7dd852.tar.bz2 |
final changes for addressbook sync config dialog
-rw-r--r-- | kabc/resource.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kabc/resource.cpp b/kabc/resource.cpp index 2f03927..d39fd6a 100644 --- a/kabc/resource.cpp +++ b/kabc/resource.cpp | |||
@@ -84,56 +84,61 @@ Ticket *Resource::requestSaveTicket() | |||
84 | } | 84 | } |
85 | 85 | ||
86 | bool Resource::load() | 86 | bool Resource::load() |
87 | { | 87 | { |
88 | return true; | 88 | return true; |
89 | } | 89 | } |
90 | 90 | ||
91 | bool Resource::save( Ticket * ) | 91 | bool Resource::save( Ticket * ) |
92 | { | 92 | { |
93 | return false; | 93 | return false; |
94 | } | 94 | } |
95 | 95 | ||
96 | Ticket *Resource::createTicket( Resource *resource ) | 96 | Ticket *Resource::createTicket( Resource *resource ) |
97 | { | 97 | { |
98 | return new Ticket( resource ); | 98 | return new Ticket( resource ); |
99 | } | 99 | } |
100 | 100 | ||
101 | void Resource::removeAddressee( const Addressee& ) | 101 | void Resource::removeAddressee( const Addressee& ) |
102 | { | 102 | { |
103 | // do nothing | 103 | // do nothing |
104 | } | 104 | } |
105 | 105 | ||
106 | void Resource::cleanUp() | 106 | void Resource::cleanUp() |
107 | { | 107 | { |
108 | // do nothing | 108 | // do nothing |
109 | } | 109 | } |
110 | 110 | ||
111 | bool Resource::isSyncable() const | 111 | bool Resource::isSyncable() const |
112 | { | 112 | { |
113 | return (mSyncProfile != 0); | 113 | return (mSyncProfile != 0); |
114 | } | 114 | } |
115 | 115 | ||
116 | KSyncProfile* Resource::getSyncProfile() | ||
117 | { | ||
118 | return mSyncProfile; | ||
119 | } | ||
120 | |||
116 | 121 | ||
117 | QString Resource::fileName() const | 122 | QString Resource::fileName() const |
118 | { | 123 | { |
119 | return mFileName; | 124 | return mFileName; |
120 | } | 125 | } |
121 | 126 | ||
122 | void Resource::setFileName( const QString &fileName ) | 127 | void Resource::setFileName( const QString &fileName ) |
123 | { | 128 | { |
124 | mFileName = fileName; | 129 | mFileName = fileName; |
125 | } | 130 | } |
126 | 131 | ||
127 | /** | 132 | /** |
128 | * Set the name of resource.You can override this method, | 133 | * Set the name of resource.You can override this method, |
129 | * but also remember to call Resource::setResourceName(). | 134 | * but also remember to call Resource::setResourceName(). |
130 | */ | 135 | */ |
131 | void Resource::setResourceName( const QString &name ) | 136 | void Resource::setResourceName( const QString &name ) |
132 | { | 137 | { |
133 | KRES::Resource::setResourceName(name); | 138 | KRES::Resource::setResourceName(name); |
134 | if(mSyncProfile != 0) { | 139 | if(mSyncProfile != 0) { |
135 | mSyncProfile->setName( name ); | 140 | mSyncProfile->setName( name ); |
136 | } | 141 | } |
137 | 142 | ||
138 | } | 143 | } |
139 | 144 | ||