diff options
Diffstat (limited to 'sip/kabc/addressbook.sip')
-rw-r--r-- | sip/kabc/addressbook.sip | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sip/kabc/addressbook.sip b/sip/kabc/addressbook.sip index a3fa824..563be99 100644 --- a/sip/kabc/addressbook.sip +++ b/sip/kabc/addressbook.sip @@ -26,7 +26,7 @@ namespace KABC { -class AddressBook : QObject +class AddressBook : TQObject { %TypeHeaderCode #include <resource.h> @@ -44,7 +44,7 @@ public: AddressBook (); %If ( KDE_3_2_0 - ) - AddressBook (const QString&); + AddressBook (const TQString&); %End KABC::Ticket* requestSaveTicket (KABC::Resource* = 0); @@ -74,29 +74,29 @@ public: void removeAddressee (const KABC::Addressee&); //ig void removeAddressee (const KABC::AddressBook::Iterator&); //igx KABC::AddressBook::Iterator find (const Addressee&); - KABC::Addressee findByUid (const QString&); + KABC::Addressee findByUid (const TQString&); %If ( KDE_3_2_0 - ) KABC::Addressee::List allAddressees (); %End - KABC::Addressee::List findByName (const QString&); - KABC::Addressee::List findByEmail (const QString&); - KABC::Addressee::List findByCategory (const QString&); - virtual QString identifier (); + KABC::Addressee::List findByName (const TQString&); + KABC::Addressee::List findByEmail (const TQString&); + KABC::Addressee::List findByCategory (const TQString&); + virtual TQString identifier (); %If ( KDE_3_1_0 - ) KABC::Field::List fields (int = KABC ::Field ::All ); - bool addCustomField (const QString&, int = KABC ::Field ::All , const QString& = QString ::null , const QString& = QString ::null ); + bool addCustomField (const TQString&, int = KABC ::Field ::All , const TQString& = TQString ::null , const TQString& = TQString ::null ); %End bool addResource (KABC::Resource*); %If ( KDE_3_1_0 - ) bool removeResource (KABC::Resource*); - QPtrList<KABC::Resource> resources (); + TQPtrList<KABC::Resource> resources (); void setErrorHandler (KABC::ErrorHandler*); - void error (const QString&); + void error (const TQString&); void cleanUp (); %End @@ -126,8 +126,8 @@ protected slots: %If ( KDE_3_2_0 - ) void resourceLoadingFinished (KABC::Resource*); void resourceSavingFinished (KABC::Resource*); - void resourceLoadingError (KABC::Resource*, const QString&); - void resourceSavingError (KABC::Resource*, const QString&); + void resourceLoadingError (KABC::Resource*, const TQString&); + void resourceSavingError (KABC::Resource*, const TQString&); %End @@ -149,15 +149,15 @@ protected: %If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::AddressBook&); -//igx QDataStream& operator >> (QDataStream&, KABC::AddressBook&); +//igx TQDataStream& operator << (TQDataStream&, const KABC::AddressBook&); +//igx TQDataStream& operator >> (TQDataStream&, KABC::AddressBook&); %End }; // namespace KABC -%MappedType QPtrList<KABC::Resource> +%MappedType TQPtrList<KABC::Resource> //converts a Python list of KABC::Resource { %TypeHeaderCode @@ -177,7 +177,7 @@ protected: // Get it. - QPtrList<KABC::Resource> *cpplist = (QPtrList<KABC::Resource> *)sipCpp; + TQPtrList<KABC::Resource> *cpplist = (TQPtrList<KABC::Resource> *)sipCpp; KABC::Resource *cpp; PyObject *inst; @@ -199,7 +199,7 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<KABC::Resource> *cpplist = new QPtrList<KABC::Resource>; + TQPtrList<KABC::Resource> *cpplist = new TQPtrList<KABC::Resource>; PyObject *elem; KABC::Resource *cpp; |