summaryrefslogtreecommitdiffstats
path: root/sip/kabc/addressee.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kabc/addressee.sip')
-rw-r--r--sip/kabc/addressee.sip128
1 files changed, 64 insertions, 64 deletions
diff --git a/sip/kabc/addressee.sip b/sip/kabc/addressee.sip
index 536bd2e..24ce9b4 100644
--- a/sip/kabc/addressee.sip
+++ b/sip/kabc/addressee.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KABC
+namespace TDEABC
{
class Addressee
@@ -34,18 +34,18 @@ class Addressee
public:
-//ig typedef TQValueList<KABC::Addressee> List;
+//ig typedef TQValueList<TDEABC::Addressee> List;
%If ( KDE_3_4_2 - )
- typedef TQMap<TQString,KABC::Addressee> Map;
+ typedef TQMap<TQString,TDEABC::Addressee> Map;
%End
Addressee ();
- Addressee (const KABC::Addressee&);
+ Addressee (const TDEABC::Addressee&);
%If ( KDE_3_1_0 - )
- bool operator == (const KABC::Addressee&) const;
- bool operator != (const KABC::Addressee&) const;
+ bool operator == (const TDEABC::Addressee&) const;
+ bool operator != (const TDEABC::Addressee&) const;
%End
bool isEmpty () const;
@@ -147,15 +147,15 @@ public:
static TQString mailerLabel ();
%End
- void setTimeZone (const KABC::TimeZone&);
- KABC::TimeZone timeZone () const;
+ void setTimeZone (const TDEABC::TimeZone&);
+ TDEABC::TimeZone timeZone () const;
%If ( KDE_3_1_0 - )
static TQString timeZoneLabel ();
%End
- void setGeo (const KABC::Geo&);
- KABC::Geo geo () const;
+ void setGeo (const TDEABC::Geo&);
+ TDEABC::Geo geo () const;
%If ( KDE_3_1_0 - )
static TQString geoLabel ();
@@ -215,20 +215,20 @@ public:
%If ( KDE_3_1_0 - )
static TQString urlLabel ();
- void setSecrecy (const KABC::Secrecy&);
- KABC::Secrecy secrecy () const;
+ void setSecrecy (const TDEABC::Secrecy&);
+ TDEABC::Secrecy secrecy () const;
static TQString secrecyLabel ();
- void setLogo (const KABC::Picture&);
- KABC::Picture logo () const;
+ void setLogo (const TDEABC::Picture&);
+ TDEABC::Picture logo () const;
static TQString logoLabel ();
- void setPhoto (const KABC::Picture&);
- KABC::Picture photo () const;
+ void setPhoto (const TDEABC::Picture&);
+ TDEABC::Picture photo () const;
static TQString photoLabel ();
- void setSound (const KABC::Sound&);
- KABC::Sound sound () const;
+ void setSound (const TDEABC::Sound&);
+ TDEABC::Sound sound () const;
static TQString soundLabel ();
- void setAgent (const KABC::Agent&);
- KABC::Agent agent () const;
+ void setAgent (const TDEABC::Agent&);
+ TDEABC::Agent agent () const;
static TQString agentLabel ();
%End
@@ -249,41 +249,41 @@ public:
void setEmails (const TQStringList&);
%End
- void insertPhoneNumber (const KABC::PhoneNumber&);
- void removePhoneNumber (const KABC::PhoneNumber&);
- KABC::PhoneNumber phoneNumber (int) const;
- KABC::PhoneNumber::List phoneNumbers () const;
+ void insertPhoneNumber (const TDEABC::PhoneNumber&);
+ void removePhoneNumber (const TDEABC::PhoneNumber&);
+ TDEABC::PhoneNumber phoneNumber (int) const;
+ TDEABC::PhoneNumber::List phoneNumbers () const;
%If ( KDE_3_1_0 - )
- KABC::PhoneNumber::List phoneNumbers (int) const;
+ TDEABC::PhoneNumber::List phoneNumbers (int) const;
%End
- KABC::PhoneNumber findPhoneNumber (const TQString&) const;
+ TDEABC::PhoneNumber findPhoneNumber (const TQString&) const;
%If ( KDE_3_1_0 - )
- void insertKey (const KABC::Key&);
- void removeKey (const KABC::Key&);
- KABC::Key key (int, TQString = TQString ::null ) const;
- KABC::Key::List keys () const;
+ void insertKey (const TDEABC::Key&);
+ void removeKey (const TDEABC::Key&);
+ TDEABC::Key key (int, TQString = TQString ::null ) const;
+ TDEABC::Key::List keys () const;
%If ( KDE_3_4_2 - )
- void setKeys (const KABC::Key::List&);
+ void setKeys (const TDEABC::Key::List&);
%End
- KABC::Key::List keys (int, TQString = TQString ::null ) const;
- KABC::Key findKey (const TQString&) const;
+ TDEABC::Key::List keys (int, TQString = TQString ::null ) const;
+ TDEABC::Key findKey (const TQString&) const;
%End
- void insertAddress (const KABC::Address&);
- void removeAddress (const KABC::Address&);
- KABC::Address address (int) const;
- KABC::Address::List addresses () const;
+ void insertAddress (const TDEABC::Address&);
+ void removeAddress (const TDEABC::Address&);
+ TDEABC::Address address (int) const;
+ TDEABC::Address::List addresses () const;
%If ( KDE_3_1_0 - )
- KABC::Address::List addresses (int) const;
+ TDEABC::Address::List addresses (int) const;
%End
- KABC::Address findAddress (const TQString&) const;
+ TDEABC::Address findAddress (const TQString&) const;
void insertCategory (const TQString&);
void removeCategory (const TQString&);
bool hasCategory (const TQString&) const;
@@ -303,14 +303,14 @@ public:
%If ( KDE_3_1_0 - )
TQString asString () const;
- void setResource (KABC::Resource*);
- KABC::Resource* resource () const;
+ void setResource (TDEABC::Resource*);
+ TDEABC::Resource* resource () const;
void setChanged (bool);
bool changed () const;
%If ( KDE_3_4_2 - )
- static void setSortMode (KABC::SortMode*);
- bool operator < (const KABC::Addressee&);
+ static void setSortMode (TDEABC::SortMode*);
+ bool operator < (const TDEABC::Addressee&);
%End
%End
@@ -324,20 +324,20 @@ public:
%If ( KDE_3_1_0 - )
-//igx TQDataStream& operator << (TQDataStream&, const KABC::Addressee&);
-//igx TQDataStream& operator >> (TQDataStream&, KABC::Addressee&);
+//igx TQDataStream& operator << (TQDataStream&, const TDEABC::Addressee&);
+//igx TQDataStream& operator >> (TQDataStream&, TDEABC::Addressee&);
%End
-}; // namespace KABC
+}; // namespace TDEABC
-%MappedType KABC::Addressee::List
-//converts a Python list of KABC::Addressee
+%MappedType TDEABC::Addressee::List
+//converts a Python list of TDEABC::Addressee
{
%TypeHeaderCode
#include <tqvaluelist.h>
-//typedef TQValueList<KABC::Addressee> List;
+//typedef TQValueList<TDEABC::Addressee> List;
%End
%ConvertFromTypeCode
@@ -349,14 +349,14 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KABC::Addressee> *cpplist = (TQValueList<KABC::Addressee> *)sipCpp;
+ TQValueList<TDEABC::Addressee> *cpplist = (TQValueList<TDEABC::Addressee> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KABC::Addressee>::Iterator it;
+ TQValueList<TDEABC::Addressee>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KABC::Addressee (*it), sipType_KABC_Addressee, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEABC::Addressee (*it), sipType_KABC_Addressee, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -372,16 +372,16 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KABC::Addressee> *cpplist = new TQValueList<KABC::Addressee>;
+ TQValueList<TDEABC::Addressee> *cpplist = new TQValueList<TDEABC::Addressee>;
PyObject *elem;
- KABC::Addressee *cpp;
+ TDEABC::Addressee *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KABC::Addressee *)sipForceConvertToType(elem, sipType_KABC_Addressee, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEABC::Addressee *)sipForceConvertToType(elem, sipType_KABC_Addressee, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
@@ -399,12 +399,12 @@ public:
%End
};
-%MappedType KABC::Address::List
-//converts a Python list of KABC::Address
+%MappedType TDEABC::Address::List
+//converts a Python list of TDEABC::Address
{
%TypeHeaderCode
#include <tqvaluelist.h>
-//typedef TQValueList<KABC::Address> List;
+//typedef TQValueList<TDEABC::Address> List;
%End
%ConvertFromTypeCode
@@ -416,14 +416,14 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KABC::Address> *cpplist = (TQValueList<KABC::Address> *)sipCpp;
+ TQValueList<TDEABC::Address> *cpplist = (TQValueList<TDEABC::Address> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KABC::Address>::Iterator it;
+ TQValueList<TDEABC::Address>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KABC::Address (*it), sipType_KABC_Address, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEABC::Address (*it), sipType_KABC_Address, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -439,16 +439,16 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KABC::Address> *cpplist = new TQValueList<KABC::Address>;
+ TQValueList<TDEABC::Address> *cpplist = new TQValueList<TDEABC::Address>;
PyObject *elem;
- KABC::Address *cpp;
+ TDEABC::Address *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KABC::Address *)sipForceConvertToType(elem, sipType_KABC_Address, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEABC::Address *)sipForceConvertToType(elem, sipType_KABC_Address, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{