summaryrefslogtreecommitdiffstats
path: root/sip/kabc/ldapclient.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:22:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:22:33 -0600
commit406efe8c28ee592ef8fe878d80e4de7334436687 (patch)
treef29eefb11fa46751d48c1314baf4864ec84e3ed3 /sip/kabc/ldapclient.sip
parent32b4fbc109cefc7cff3b7355b4d4f3084336c97b (diff)
downloadpytde-406efe8c28ee592ef8fe878d80e4de7334436687.tar.gz
pytde-406efe8c28ee592ef8fe878d80e4de7334436687.zip
Rename KABC namespace
Diffstat (limited to 'sip/kabc/ldapclient.sip')
-rw-r--r--sip/kabc/ldapclient.sip36
1 files changed, 18 insertions, 18 deletions
diff --git a/sip/kabc/ldapclient.sip b/sip/kabc/ldapclient.sip
index baf3f6d..9e66a8a 100644
--- a/sip/kabc/ldapclient.sip
+++ b/sip/kabc/ldapclient.sip
@@ -25,10 +25,10 @@
%If ( KDE_3_1_0 - )
-namespace KABC
+namespace TDEABC
{
//ig typedef TQValueList<TQByteArray> LdapAttrValue;
-//ig typedef TQMap<TQString,KABC::LdapAttrValue> LdapAttrMap;
+//ig typedef TQMap<TQString,TDEABC::LdapAttrValue> LdapAttrMap;
class LdapObject
{
@@ -41,22 +41,22 @@ public:
LdapObject ();
%If ( KDE_3_3_0 - )
- LdapObject (const TQString&, KABC::LdapClient*);
+ LdapObject (const TQString&, TDEABC::LdapClient*);
%End
- LdapObject (const KABC::LdapObject&);
+ LdapObject (const TDEABC::LdapObject&);
TQString toString () const;
void clear ();
TQString dn;
//ig LdapAttrMap attrs;
%If ( KDE_3_3_0 - )
- KABC::LdapClient* client;
+ TDEABC::LdapClient* client;
%End
protected:
- void assign (const KABC::LdapObject&);
+ void assign (const TDEABC::LdapObject&);
public:
@@ -82,7 +82,7 @@ public:
signals:
void done ();
void error (const TQString&);
- void result (const KABC::LdapObject&);
+ void result (const TDEABC::LdapObject&);
public slots:
void setHost (const TQString&);
@@ -138,7 +138,7 @@ public:
%If ( KDE_3_3_0 - )
-typedef TQValueList<KABC::LdapResult> LdapResultList;
+typedef TQValueList<TDEABC::LdapResult> LdapResultList;
%End
@@ -159,22 +159,22 @@ signals:
void searchData (const TQStringList&);
%If ( KDE_3_3_0 - )
- void searchData (const KABC::LdapResultList&);
+ void searchData (const TDEABC::LdapResultList&);
%End
void searchDone ();
}; // class LdapSearch
-}; // namespace KABC
+}; // namespace TDEABC
%End
%If (KDE_3_3_0 - )
-%MappedType KABC::LdapResultList
-//converts a Python list of KABC::LdapREsult
+%MappedType TDEABC::LdapResultList
+//converts a Python list of TDEABC::LdapREsult
{
%TypeHeaderCode
#include <ldapclient.h>
@@ -189,14 +189,14 @@ signals:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KABC::LdapResult> *cpplist = (TQValueList<KABC::LdapResult> *)sipCpp;
+ TQValueList<TDEABC::LdapResult> *cpplist = (TQValueList<TDEABC::LdapResult> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KABC::LdapResult>::Iterator it;
+ TQValueList<TDEABC::LdapResult>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KABC::LdapResult(*it), sipType_KABC_LdapResult, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEABC::LdapResult(*it), sipType_KABC_LdapResult, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -212,16 +212,16 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KABC::LdapResult> *cpplist = new TQValueList<KABC::LdapResult>;
+ TQValueList<TDEABC::LdapResult> *cpplist = new TQValueList<TDEABC::LdapResult>;
PyObject *elem;
- KABC::LdapResult *cpp;
+ TDEABC::LdapResult *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KABC::LdapResult *)sipForceConvertToType(elem, sipType_KABC_LdapResult, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEABC::LdapResult *)sipForceConvertToType(elem, sipType_KABC_LdapResult, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{