diff options
Diffstat (limited to 'sip/kabc/field.sip')
-rw-r--r-- | sip/kabc/field.sip | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sip/kabc/field.sip b/sip/kabc/field.sip index ab4d670..443fa2c 100644 --- a/sip/kabc/field.sip +++ b/sip/kabc/field.sip @@ -36,7 +36,7 @@ class Field public: - typedef QValueList<KABC::Field*> List; + typedef TQValueList<KABC::Field*> List; enum FieldCategory { @@ -49,26 +49,26 @@ public: CustomCategory }; - virtual QString label (); + virtual TQString label (); virtual int category (); - static QString categoryLabel (int); - virtual QString value (const KABC::Addressee&); - virtual bool setValue (KABC::Addressee&, const QString&); + static TQString categoryLabel (int); + virtual TQString value (const KABC::Addressee&); + virtual bool setValue (KABC::Addressee&, const TQString&); %If ( KDE_3_2_0 - ) - QString sortKey (const KABC::Addressee&); + TQString sortKey (const KABC::Addressee&); %End virtual bool isCustom (); virtual bool equals (KABC::Field*); static KABC::Field::List allFields (); static KABC::Field::List defaultFields (); - static KABC::Field* createCustomField (const QString&, int, const QString&, const QString&); + static KABC::Field* createCustomField (const TQString&, int, const TQString&, const TQString&); static void deleteFields (); - static void saveFields (KConfig*, const QString&, const KABC::Field::List&); - static void saveFields (const QString&, const KABC::Field::List&); - static KABC::Field::List restoreFields (KConfig*, const QString&); - static KABC::Field::List restoreFields (const QString&); + static void saveFields (KConfig*, const TQString&, const KABC::Field::List&); + static void saveFields (const TQString&, const KABC::Field::List&); + static KABC::Field::List restoreFields (KConfig*, const TQString&); + static KABC::Field::List restoreFields (const TQString&); protected: static void createField (int, int = 0); @@ -106,11 +106,11 @@ private: if ((pylist = PyList_New(0)) == NULL) return NULL; - QValueList<KABC::Field *> *cpplist = (QValueList<KABC::Field *> *)sipCpp; + TQValueList<KABC::Field *> *cpplist = (TQValueList<KABC::Field *> *)sipCpp; PyObject *inst; // Get it. - QValueList<KABC::Field *>::Iterator it; + TQValueList<KABC::Field *>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { if (((inst = sipConvertFromType((KABC::Field *)(*it), sipType_KABC_Field, NULL)) == NULL) @@ -129,7 +129,7 @@ private: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KABC::Field *> *cpplist = new QValueList<KABC::Field *>; + TQValueList<KABC::Field *> *cpplist = new TQValueList<KABC::Field *>; PyObject *elem; KABC::Field *cpp; |