summaryrefslogtreecommitdiffstats
path: root/sip/kabc/resource.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kabc/resource.sip')
-rw-r--r--sip/kabc/resource.sip78
1 files changed, 39 insertions, 39 deletions
diff --git a/sip/kabc/resource.sip b/sip/kabc/resource.sip
index f5ed27b..e289140 100644
--- a/sip/kabc/resource.sip
+++ b/sip/kabc/resource.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KABC
+namespace TDEABC
{
class Ticket
@@ -34,10 +34,10 @@ class Ticket
public:
- KABC::Resource* resource ();
+ TDEABC::Resource* resource ();
private:
- Ticket (KABC::Resource*);
+ Ticket (TDEABC::Resource*);
}; // class Ticket
@@ -59,35 +59,35 @@ public:
//ig class ConstIterator;
Resource (const TDEConfig*);
-//ig virtual KABC::Resource::ConstIterator begin () const;
-//ig virtual KABC::Resource::Iterator begin ();
-//ig virtual KABC::Resource::ConstIterator end () const;
-//ig virtual KABC::Resource::Iterator end ();
- KABC::AddressBook* addressBook ();
+//ig virtual TDEABC::Resource::ConstIterator begin () const;
+//ig virtual TDEABC::Resource::Iterator begin ();
+//ig virtual TDEABC::Resource::ConstIterator end () const;
+//ig virtual TDEABC::Resource::Iterator end ();
+ TDEABC::AddressBook* addressBook ();
virtual void writeConfig (TDEConfig*);
- virtual KABC::Ticket* requestSaveTicket () = 0;
- virtual void releaseSaveTicket (KABC::Ticket*) = 0;
+ virtual TDEABC::Ticket* requestSaveTicket () = 0;
+ virtual void releaseSaveTicket (TDEABC::Ticket*) = 0;
virtual bool load () = 0;
virtual bool asyncLoad ();
- virtual void insertAddressee (const KABC::Addressee&);
- virtual void removeAddressee (const KABC::Addressee&);
- virtual bool save (KABC::Ticket*) = 0;
- virtual bool asyncSave (KABC::Ticket*);
- virtual KABC::Addressee findByUid (const TQString&);
- virtual KABC::Addressee::List findByName (const TQString&);
- virtual KABC::Addressee::List findByEmail (const TQString&);
- virtual KABC::Addressee::List findByCategory (const TQString&);
+ virtual void insertAddressee (const TDEABC::Addressee&);
+ virtual void removeAddressee (const TDEABC::Addressee&);
+ virtual bool save (TDEABC::Ticket*) = 0;
+ virtual bool asyncSave (TDEABC::Ticket*);
+ virtual TDEABC::Addressee findByUid (const TQString&);
+ virtual TDEABC::Addressee::List findByName (const TQString&);
+ virtual TDEABC::Addressee::List findByEmail (const TQString&);
+ virtual TDEABC::Addressee::List findByCategory (const TQString&);
virtual void clear ();
- void setAddressBook (KABC::AddressBook*);
+ void setAddressBook (TDEABC::AddressBook*);
signals:
- void loadingFinished (KABC::Resource*);
- void loadingError (KABC::Resource*, const TQString&);
- void savingFinished (KABC::Resource*);
- void savingError (KABC::Resource*, const TQString&);
+ void loadingFinished (TDEABC::Resource*);
+ void loadingError (TDEABC::Resource*, const TQString&);
+ void savingFinished (TDEABC::Resource*);
+ void savingError (TDEABC::Resource*, const TQString&);
protected:
- KABC::Ticket* createTicket (KABC::Resource*);
+ TDEABC::Ticket* createTicket (TDEABC::Resource*);
}; // class Resource
@@ -96,7 +96,7 @@ protected:
%If ( KDE_3_1_0 - KDE_3_2_0 )
-class Resource : KABC::Plugin
+class Resource : TDEABC::Plugin
{
%TypeHeaderCode
#include <tdeabc/resource.h>
@@ -104,15 +104,15 @@ class Resource : KABC::Plugin
public:
- Resource (KABC::AddressBook*);
+ Resource (TDEABC::AddressBook*);
virtual bool open ();
virtual void close ();
- virtual KABC::Ticket* requestSaveTicket ();
+ virtual TDEABC::Ticket* requestSaveTicket ();
virtual bool load ();
- virtual bool save (KABC::Ticket*);
- KABC::AddressBook* addressBook ();
+ virtual bool save (TDEABC::Ticket*);
+ TDEABC::AddressBook* addressBook ();
virtual TQString identifier () const;
- virtual void removeAddressee (const KABC::Addressee&);
+ virtual void removeAddressee (const TDEABC::Addressee&);
virtual void cleanUp ();
virtual void setReadOnly (bool);
virtual bool readOnly () const;
@@ -123,7 +123,7 @@ public:
static TQString cryptStr (const TQString&);
protected:
- KABC::Ticket* createTicket (KABC::Resource*);
+ TDEABC::Ticket* createTicket (TDEABC::Resource*);
}; // class Resource
@@ -140,21 +140,21 @@ class Resource
public:
- Resource (KABC::AddressBook*);
+ Resource (TDEABC::AddressBook*);
virtual bool open ();
virtual void close ();
- virtual KABC::Ticket* requestSaveTicket ();
- virtual bool load (KABC::AddressBook*);
- virtual bool save (KABC::Ticket*);
- void setAddressBook (KABC::AddressBook*);
- KABC::AddressBook* addressBook ();
+ virtual TDEABC::Ticket* requestSaveTicket ();
+ virtual bool load (TDEABC::AddressBook*);
+ virtual bool save (TDEABC::Ticket*);
+ void setAddressBook (TDEABC::AddressBook*);
+ TDEABC::AddressBook* addressBook ();
protected:
- KABC::Ticket* createTicket (KABC::Resource*);
+ TDEABC::Ticket* createTicket (TDEABC::Resource*);
}; // class Resource
%End
-}; // namespace KABC
+}; // namespace TDEABC