diff options
Diffstat (limited to 'sip/kabc/key.sip')
-rw-r--r-- | sip/kabc/key.sip | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sip/kabc/key.sip b/sip/kabc/key.sip index 2321204..26bee15 100644 --- a/sip/kabc/key.sip +++ b/sip/kabc/key.sip @@ -36,8 +36,8 @@ class Key public: - typedef QValueList<KABC::Key> List; - typedef QValueList<int> TypeList; + typedef TQValueList<KABC::Key> List; + typedef TQValueList<int> TypeList; enum Types { @@ -46,27 +46,27 @@ public: Custom }; - Key (const QString& = QString ::null , int = PGP ); + Key (const TQString& = TQString ::null , int = PGP ); bool operator == (const KABC::Key&) const; bool operator != (const KABC::Key&) const; - void setId (const QString&); - QString id () const; - void setBinaryData (const QByteArray&); - QByteArray binaryData () const; - void setTextData (const QString&); - QString textData () const; + void setId (const TQString&); + TQString id () const; + void setBinaryData (const TQByteArray&); + TQByteArray binaryData () const; + void setTextData (const TQString&); + TQString textData () const; bool isBinary () const; void setType (int); - void setCustomTypeString (const QString&); + void setCustomTypeString (const TQString&); int type () const; - QString customTypeString () const; + TQString customTypeString () const; static TypeList typeList (); - static QString typeLabel (int); + static TQString typeLabel (int); }; // class Key -//igx QDataStream& operator << (QDataStream&, const KABC::Key&); -//igx QDataStream& operator >> (QDataStream&, KABC::Key&); +//igx TQDataStream& operator << (TQDataStream&, const KABC::Key&); +//igx TQDataStream& operator >> (TQDataStream&, KABC::Key&); }; // namespace KABC %End @@ -78,7 +78,7 @@ public: { %TypeHeaderCode #include <qvaluelist.h> -//typedef QValueList<KABC::Key> List; +//typedef TQValueList<KABC::Key> List; %End %ConvertFromTypeCode @@ -90,11 +90,11 @@ public: if ((pylist = PyList_New(0)) == NULL) return NULL; - QValueList<KABC::Key> *cpplist = (QValueList<KABC::Key> *)sipCpp; + TQValueList<KABC::Key> *cpplist = (TQValueList<KABC::Key> *)sipCpp; PyObject *inst; // Get it. - QValueList<KABC::Key>::Iterator it; + TQValueList<KABC::Key>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { if (((inst = sipConvertFromNewType(new KABC::Key(*it), sipType_KABC_Key, NULL)) == NULL) @@ -113,7 +113,7 @@ public: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KABC::Key> *cpplist = new QValueList<KABC::Key>; + TQValueList<KABC::Key> *cpplist = new TQValueList<KABC::Key>; PyObject *elem; KABC::Key *cpp; |