diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/kabc/field.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
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; |