summaryrefslogtreecommitdiffstats
path: root/sip/kabc/distributionlist.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kabc/distributionlist.sip')
-rw-r--r--sip/kabc/distributionlist.sip44
1 files changed, 22 insertions, 22 deletions
diff --git a/sip/kabc/distributionlist.sip b/sip/kabc/distributionlist.sip
index 28f10c5..1526117 100644
--- a/sip/kabc/distributionlist.sip
+++ b/sip/kabc/distributionlist.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 DistributionList
@@ -39,23 +39,23 @@ public:
{
public:
- typedef TQValueList<KABC::DistributionList::Entry> List;
+ typedef TQValueList<TDEABC::DistributionList::Entry> List;
Entry ();
- Entry (const KABC::Addressee&, const TQString&);
- KABC::Addressee addressee;
+ Entry (const TDEABC::Addressee&, const TQString&);
+ TDEABC::Addressee addressee;
TQString email;
}; // class Entry
public:
- DistributionList (KABC::DistributionListManager*, const TQString&);
+ DistributionList (TDEABC::DistributionListManager*, const TQString&);
void setName (const TQString&);
TQString name () const;
- void insertEntry (const KABC::Addressee&, const TQString& = TQString ::null );
- void removeEntry (const KABC::Addressee&, const TQString& = TQString ::null );
+ void insertEntry (const TDEABC::Addressee&, const TQString& = TQString ::null );
+ void removeEntry (const TDEABC::Addressee&, const TQString& = TQString ::null );
TQStringList emails () const;
- KABC::DistributionList::Entry::List entries () const;
+ TDEABC::DistributionList::Entry::List entries () const;
}; // class DistributionList
@@ -68,10 +68,10 @@ class DistributionListManager
public:
- DistributionListManager (KABC::AddressBook*);
- KABC::DistributionList* list (const TQString&);
- void insert (KABC::DistributionList*);
- void remove (KABC::DistributionList*);
+ DistributionListManager (TDEABC::AddressBook*);
+ TDEABC::DistributionList* list (const TQString&);
+ void insert (TDEABC::DistributionList*);
+ void remove (TDEABC::DistributionList*);
TQStringList listNames ();
bool load ();
bool save ();
@@ -89,7 +89,7 @@ class DistributionListWatcher : TQObject
public:
- static KABC::DistributionListWatcher* self ();
+ static TDEABC::DistributionListWatcher* self ();
signals:
void changed ();
@@ -102,12 +102,12 @@ protected:
%End
-}; // namespace KABC
+}; // namespace TDEABC
-%MappedType KABC::DistributionList::Entry::List
-//converts a Python list of KABC::DistributionList::Entry
+%MappedType TDEABC::DistributionList::Entry::List
+//converts a Python list of TDEABC::DistributionList::Entry
{
%TypeHeaderCode
#include <distributionlist.h>
@@ -122,14 +122,14 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KABC::DistributionList::Entry> *cpplist = (TQValueList<KABC::DistributionList::Entry> *)sipCpp;
+ TQValueList<TDEABC::DistributionList::Entry> *cpplist = (TQValueList<TDEABC::DistributionList::Entry> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KABC::DistributionList::Entry>::Iterator it;
+ TQValueList<TDEABC::DistributionList::Entry>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KABC::DistributionList::Entry (*it), sipType_KABC_DistributionList_Entry, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEABC::DistributionList::Entry (*it), sipType_KABC_DistributionList_Entry, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -145,16 +145,16 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KABC::DistributionList::Entry> *cpplist = new TQValueList<KABC::DistributionList::Entry>;
+ TQValueList<TDEABC::DistributionList::Entry> *cpplist = new TQValueList<TDEABC::DistributionList::Entry>;
PyObject *elem;
- KABC::DistributionList::Entry *cpp;
+ TDEABC::DistributionList::Entry *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KABC::DistributionList::Entry *)sipForceConvertToType(elem, sipType_KABC_DistributionList_Entry, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEABC::DistributionList::Entry *)sipForceConvertToType(elem, sipType_KABC_DistributionList_Entry, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{