-rw-r--r-- | kabc/resource.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kabc/resource.cpp b/kabc/resource.cpp index 9632a3f..2f03927 100644 --- a/kabc/resource.cpp +++ b/kabc/resource.cpp | |||
@@ -92,63 +92,48 @@ 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 | /** | ||
117 | * This method returns the number of elements that are currently in the resource. | ||
118 | */ | ||
119 | int Resource::count() const | ||
120 | { | ||
121 | return 0; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * This method removes all elements from the resource!! (Not from the addressbook) | ||
126 | */ | ||
127 | bool Resource::clear() | ||
128 | { | ||
129 | return false; | ||
130 | } | ||
131 | 116 | ||
132 | QString Resource::fileName() const | 117 | QString Resource::fileName() const |
133 | { | 118 | { |
134 | return mFileName; | 119 | return mFileName; |
135 | } | 120 | } |
136 | 121 | ||
137 | void Resource::setFileName( const QString &fileName ) | 122 | void Resource::setFileName( const QString &fileName ) |
138 | { | 123 | { |
139 | mFileName = fileName; | 124 | mFileName = fileName; |
140 | } | 125 | } |
141 | 126 | ||
142 | /** | 127 | /** |
143 | * Set the name of resource.You can override this method, | 128 | * Set the name of resource.You can override this method, |
144 | * but also remember to call Resource::setResourceName(). | 129 | * but also remember to call Resource::setResourceName(). |
145 | */ | 130 | */ |
146 | void Resource::setResourceName( const QString &name ) | 131 | void Resource::setResourceName( const QString &name ) |
147 | { | 132 | { |
148 | KRES::Resource::setResourceName(name); | 133 | KRES::Resource::setResourceName(name); |
149 | if(mSyncProfile != 0) { | 134 | if(mSyncProfile != 0) { |
150 | mSyncProfile->setName( name ); | 135 | mSyncProfile->setName( name ); |
151 | } | 136 | } |
152 | 137 | ||
153 | } | 138 | } |
154 | 139 | ||