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/addressee.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/kabc/addressee.sip')
-rw-r--r-- | sip/kabc/addressee.sip | 246 |
1 files changed, 123 insertions, 123 deletions
diff --git a/sip/kabc/addressee.sip b/sip/kabc/addressee.sip index 803b4d2..c3f62a1 100644 --- a/sip/kabc/addressee.sip +++ b/sip/kabc/addressee.sip @@ -34,10 +34,10 @@ class Addressee public: -//ig typedef QValueList<KABC::Addressee> List; +//ig typedef TQValueList<KABC::Addressee> List; %If ( KDE_3_4_2 - ) - typedef QMap<QString,KABC::Addressee> Map; + typedef TQMap<TQString,KABC::Addressee> Map; %End Addressee (); @@ -49,204 +49,204 @@ public: %End bool isEmpty () const; - void setUid (const QString&); - QString uid () const; + void setUid (const TQString&); + TQString uid () const; %If ( KDE_3_1_0 - ) - static QString uidLabel (); + static TQString uidLabel (); %End - void setName (const QString&); - QString name () const; + void setName (const TQString&); + TQString name () const; %If ( KDE_3_1_0 - ) - static QString nameLabel (); + static TQString nameLabel (); %End - void setFormattedName (const QString&); - QString formattedName () const; + void setFormattedName (const TQString&); + TQString formattedName () const; %If ( KDE_3_1_0 - ) - static QString formattedNameLabel (); + static TQString formattedNameLabel (); %End - void setFamilyName (const QString&); - QString familyName () const; + void setFamilyName (const TQString&); + TQString familyName () const; %If ( KDE_3_1_0 - ) - static QString familyNameLabel (); + static TQString familyNameLabel (); %End - void setGivenName (const QString&); - QString givenName () const; + void setGivenName (const TQString&); + TQString givenName () const; %If ( KDE_3_1_0 - ) - static QString givenNameLabel (); + static TQString givenNameLabel (); %End - void setAdditionalName (const QString&); - QString additionalName () const; + void setAdditionalName (const TQString&); + TQString additionalName () const; %If ( KDE_3_1_0 - ) - static QString additionalNameLabel (); + static TQString additionalNameLabel (); %End - void setPrefix (const QString&); - QString prefix () const; + void setPrefix (const TQString&); + TQString prefix () const; %If ( KDE_3_1_0 - ) - static QString prefixLabel (); + static TQString prefixLabel (); %End - void setSuffix (const QString&); - QString suffix () const; + void setSuffix (const TQString&); + TQString suffix () const; %If ( KDE_3_1_0 - ) - static QString suffixLabel (); + static TQString suffixLabel (); %End - void setNickName (const QString&); - QString nickName () const; + void setNickName (const TQString&); + TQString nickName () const; %If ( KDE_3_1_0 - ) - static QString nickNameLabel (); + static TQString nickNameLabel (); %End - void setBirthday (const QDateTime&); - QDateTime birthday () const; + void setBirthday (const TQDateTime&); + TQDateTime birthday () const; %If ( KDE_3_1_0 - ) - static QString birthdayLabel (); - static QString homeAddressStreetLabel (); - static QString homeAddressLocalityLabel (); - static QString homeAddressRegionLabel (); - static QString homeAddressPostalCodeLabel (); - static QString homeAddressCountryLabel (); - static QString homeAddressLabelLabel (); - static QString businessAddressStreetLabel (); - static QString businessAddressLocalityLabel (); - static QString businessAddressRegionLabel (); - static QString businessAddressPostalCodeLabel (); - static QString businessAddressCountryLabel (); - static QString businessAddressLabelLabel (); - static QString homePhoneLabel (); - static QString businessPhoneLabel (); - static QString mobilePhoneLabel (); - static QString homeFaxLabel (); - static QString businessFaxLabel (); - static QString carPhoneLabel (); - static QString isdnLabel (); - static QString pagerLabel (); - static QString emailLabel (); -%End - - void setMailer (const QString&); - QString mailer () const; + static TQString birthdayLabel (); + static TQString homeAddressStreetLabel (); + static TQString homeAddressLocalityLabel (); + static TQString homeAddressRegionLabel (); + static TQString homeAddressPostalCodeLabel (); + static TQString homeAddressCountryLabel (); + static TQString homeAddressLabelLabel (); + static TQString businessAddressStreetLabel (); + static TQString businessAddressLocalityLabel (); + static TQString businessAddressRegionLabel (); + static TQString businessAddressPostalCodeLabel (); + static TQString businessAddressCountryLabel (); + static TQString businessAddressLabelLabel (); + static TQString homePhoneLabel (); + static TQString businessPhoneLabel (); + static TQString mobilePhoneLabel (); + static TQString homeFaxLabel (); + static TQString businessFaxLabel (); + static TQString carPhoneLabel (); + static TQString isdnLabel (); + static TQString pagerLabel (); + static TQString emailLabel (); +%End + + void setMailer (const TQString&); + TQString mailer () const; %If ( KDE_3_1_0 - ) - static QString mailerLabel (); + static TQString mailerLabel (); %End void setTimeZone (const KABC::TimeZone&); KABC::TimeZone timeZone () const; %If ( KDE_3_1_0 - ) - static QString timeZoneLabel (); + static TQString timeZoneLabel (); %End void setGeo (const KABC::Geo&); KABC::Geo geo () const; %If ( KDE_3_1_0 - ) - static QString geoLabel (); + static TQString geoLabel (); %End - void setTitle (const QString&); - QString title () const; + void setTitle (const TQString&); + TQString title () const; %If ( KDE_3_1_0 - ) - static QString titleLabel (); + static TQString titleLabel (); %End - void setRole (const QString&); - QString role () const; + void setRole (const TQString&); + TQString role () const; %If ( KDE_3_1_0 - ) - static QString roleLabel (); + static TQString roleLabel (); %End - void setOrganization (const QString&); - QString organization () const; + void setOrganization (const TQString&); + TQString organization () const; %If ( KDE_3_1_0 - ) - static QString organizationLabel (); + static TQString organizationLabel (); %End - void setNote (const QString&); - QString note () const; + void setNote (const TQString&); + TQString note () const; %If ( KDE_3_1_0 - ) - static QString noteLabel (); + static TQString noteLabel (); %End - void setProductId (const QString&); - QString productId () const; + void setProductId (const TQString&); + TQString productId () const; %If ( KDE_3_1_0 - ) - static QString productIdLabel (); + static TQString productIdLabel (); %End - void setRevision (const QDateTime&); - QDateTime revision () const; + void setRevision (const TQDateTime&); + TQDateTime revision () const; %If ( KDE_3_1_0 - ) - static QString revisionLabel (); + static TQString revisionLabel (); %End - void setSortString (const QString&); - QString sortString () const; + void setSortString (const TQString&); + TQString sortString () const; %If ( KDE_3_1_0 - ) - static QString sortStringLabel (); + static TQString sortStringLabel (); %End void setUrl (const KURL&); KURL url () const; %If ( KDE_3_1_0 - ) - static QString urlLabel (); + static TQString urlLabel (); void setSecrecy (const KABC::Secrecy&); KABC::Secrecy secrecy () const; - static QString secrecyLabel (); + static TQString secrecyLabel (); void setLogo (const KABC::Picture&); KABC::Picture logo () const; - static QString logoLabel (); + static TQString logoLabel (); void setPhoto (const KABC::Picture&); KABC::Picture photo () const; - static QString photoLabel (); + static TQString photoLabel (); void setSound (const KABC::Sound&); KABC::Sound sound () const; - static QString soundLabel (); + static TQString soundLabel (); void setAgent (const KABC::Agent&); KABC::Agent agent () const; - static QString agentLabel (); + static TQString agentLabel (); %End - void setNameFromString (const QString&); - QString realName () const; + void setNameFromString (const TQString&); + TQString realName () const; %If ( KDE_3_1_0 - ) - QString assembledName () const; + TQString assembledName () const; %End - QString fullEmail (const QString& = QString ::null ) const; - void insertEmail (const QString&, bool = 0); - void removeEmail (const QString&); - QString preferredEmail () const; - QStringList emails () const; + TQString fullEmail (const TQString& = TQString ::null ) const; + void insertEmail (const TQString&, bool = 0); + void removeEmail (const TQString&); + TQString preferredEmail () const; + TQStringList emails () const; %If ( KDE_3_4_2 - ) - void setEmails (const QStringList&); + void setEmails (const TQStringList&); %End void insertPhoneNumber (const KABC::PhoneNumber&); @@ -258,20 +258,20 @@ public: KABC::PhoneNumber::List phoneNumbers (int) const; %End - KABC::PhoneNumber findPhoneNumber (const QString&) const; + KABC::PhoneNumber findPhoneNumber (const TQString&) const; %If ( KDE_3_1_0 - ) void insertKey (const KABC::Key&); void removeKey (const KABC::Key&); - KABC::Key key (int, QString = QString ::null ) const; + KABC::Key key (int, TQString = TQString ::null ) const; KABC::Key::List keys () const; %If ( KDE_3_4_2 - ) void setKeys (const KABC::Key::List&); %End - KABC::Key::List keys (int, QString = QString ::null ) const; - KABC::Key findKey (const QString&) const; + KABC::Key::List keys (int, TQString = TQString ::null ) const; + KABC::Key findKey (const TQString&) const; %End void insertAddress (const KABC::Address&); @@ -283,26 +283,26 @@ public: KABC::Address::List addresses (int) const; %End - KABC::Address findAddress (const QString&) const; - void insertCategory (const QString&); - void removeCategory (const QString&); - bool hasCategory (const QString&) const; - void setCategories (const QStringList&); - QStringList categories () const; - void insertCustom (const QString&, const QString&, const QString&); - void removeCustom (const QString&, const QString&); - QString custom (const QString&, const QString&) const; - void setCustoms (const QStringList&); - QStringList customs () const; + KABC::Address findAddress (const TQString&) const; + void insertCategory (const TQString&); + void removeCategory (const TQString&); + bool hasCategory (const TQString&) const; + void setCategories (const TQStringList&); + TQStringList categories () const; + void insertCustom (const TQString&, const TQString&, const TQString&); + void removeCustom (const TQString&, const TQString&); + TQString custom (const TQString&, const TQString&) const; + void setCustoms (const TQStringList&); + TQStringList customs () const; %If ( KDE_3_1_0 - ) - static void parseEmailAddress (const QString&, QString&, QString&); + static void parseEmailAddress (const TQString&, TQString&, TQString&); %End void dump () const; %If ( KDE_3_1_0 - ) - QString asString () const; + TQString asString () const; void setResource (KABC::Resource*); KABC::Resource* resource () const; void setChanged (bool); @@ -324,8 +324,8 @@ public: %If ( KDE_3_1_0 - ) -//igx QDataStream& operator << (QDataStream&, const KABC::Addressee&); -//igx QDataStream& operator >> (QDataStream&, KABC::Addressee&); +//igx TQDataStream& operator << (TQDataStream&, const KABC::Addressee&); +//igx TQDataStream& operator >> (TQDataStream&, KABC::Addressee&); %End }; // namespace KABC @@ -337,7 +337,7 @@ public: { %TypeHeaderCode #include <qvaluelist.h> -//typedef QValueList<KABC::Addressee> List; +//typedef TQValueList<KABC::Addressee> List; %End %ConvertFromTypeCode @@ -349,11 +349,11 @@ public: if ((pylist = PyList_New(0)) == NULL) return NULL; - QValueList<KABC::Addressee> *cpplist = (QValueList<KABC::Addressee> *)sipCpp; + TQValueList<KABC::Addressee> *cpplist = (TQValueList<KABC::Addressee> *)sipCpp; PyObject *inst; // Get it. - QValueList<KABC::Addressee>::Iterator it; + TQValueList<KABC::Addressee>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { if (((inst = sipConvertFromNewType(new KABC::Addressee (*it), sipType_KABC_Addressee, NULL)) == NULL) @@ -372,7 +372,7 @@ public: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KABC::Addressee> *cpplist = new QValueList<KABC::Addressee>; + TQValueList<KABC::Addressee> *cpplist = new TQValueList<KABC::Addressee>; PyObject *elem; KABC::Addressee *cpp; @@ -404,7 +404,7 @@ public: { %TypeHeaderCode #include <qvaluelist.h> -//typedef QValueList<KABC::Address> List; +//typedef TQValueList<KABC::Address> List; %End %ConvertFromTypeCode @@ -416,11 +416,11 @@ public: if ((pylist = PyList_New(0)) == NULL) return NULL; - QValueList<KABC::Address> *cpplist = (QValueList<KABC::Address> *)sipCpp; + TQValueList<KABC::Address> *cpplist = (TQValueList<KABC::Address> *)sipCpp; PyObject *inst; // Get it. - QValueList<KABC::Address>::Iterator it; + TQValueList<KABC::Address>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { if (((inst = sipConvertFromNewType(new KABC::Address (*it), sipType_KABC_Address, NULL)) == NULL) @@ -439,7 +439,7 @@ public: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KABC::Address> *cpplist = new QValueList<KABC::Address>; + TQValueList<KABC::Address> *cpplist = new TQValueList<KABC::Address>; PyObject *elem; KABC::Address *cpp; |