summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/kcmodule.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
commit352b2ef6c06332062d35211d7f49942315d2f36a (patch)
tree842a828f1f3c6686c33cd8512d00b80d6feaefdd /sip/tdeui/kcmodule.sip
parent8bd906c03534d2ad9cff2f22e957bf30987c99a9 (diff)
downloadpytde-352b2ef6c06332062d35211d7f49942315d2f36a.tar.gz
pytde-352b2ef6c06332062d35211d7f49942315d2f36a.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'sip/tdeui/kcmodule.sip')
-rw-r--r--sip/tdeui/kcmodule.sip28
1 files changed, 14 insertions, 14 deletions
diff --git a/sip/tdeui/kcmodule.sip b/sip/tdeui/kcmodule.sip
index 8878de2..0ff0b24 100644
--- a/sip/tdeui/kcmodule.sip
+++ b/sip/tdeui/kcmodule.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KCModule : TQWidget
+class TDECModule : TQWidget
{
%TypeHeaderCode
#include <kcmodule.h>
@@ -44,8 +44,8 @@ public:
SysDefault
};
- KCModule (TQWidget* /TransferThis/ = 0, const char* = 0, const TQStringList& = TQStringList ());
- KCModule (TDEInstance*, TQWidget* /TransferThis/ = 0, const TQStringList& = TQStringList ());
+ TDECModule (TQWidget* /TransferThis/ = 0, const char* = 0, const TQStringList& = TQStringList ());
+ TDECModule (TDEInstance*, TQWidget* /TransferThis/ = 0, const TQStringList& = TQStringList ());
virtual void load ();
virtual void save ();
virtual void defaults ();
@@ -63,14 +63,14 @@ public:
TDEInstance* instance () const;
%If ( KDE_3_4_0 - )
- const TQPtrList<KConfigDialogManager>& configs () const;
+ const TQPtrList<TDEConfigDialogManager>& configs () const;
%End
protected:
%If ( KDE_3_3_0 - )
- KConfigDialogManager* addConfig (KConfigSkeleton*, TQWidget*);
+ TDEConfigDialogManager* addConfig (TDEConfigSkeleton*, TQWidget*);
void setQuickHelp (const TQString&);
%End
@@ -105,13 +105,13 @@ protected:
protected:
//igx virtual void virtual_hook (int, void*);
-}; // class KCModule
+}; // class TDECModule
%If (KDE_3_3_0 - )
-%MappedType TQPtrList<KConfigDialogManager>
-//converts a Python list of KConfigDialogManager
+%MappedType TQPtrList<TDEConfigDialogManager>
+//converts a Python list of TDEConfigDialogManager
{
%TypeHeaderCode
#include <tqptrlist.h>
@@ -130,14 +130,14 @@ protected:
// Get it.
- TQPtrList<KConfigDialogManager> *cpplist = (TQPtrList<KConfigDialogManager> *)sipCpp;
- KConfigDialogManager *cpp;
+ TQPtrList<TDEConfigDialogManager> *cpplist = (TQPtrList<TDEConfigDialogManager> *)sipCpp;
+ TDEConfigDialogManager *cpp;
PyObject *inst;
// the loop depends on the type of iterator the tmeplate makes available
for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () )
{
- if (((inst = sipConvertFromInstance (cpp, sipClass_KConfigDialogManager, sipTransferObj)) == NULL)
+ if (((inst = sipConvertFromInstance (cpp, sipClass_TDEConfigDialogManager, sipTransferObj)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -152,16 +152,16 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQPtrList<KConfigDialogManager> *cpplist = new TQPtrList<KConfigDialogManager>;
+ TQPtrList<TDEConfigDialogManager> *cpplist = new TQPtrList<TDEConfigDialogManager>;
PyObject *elem;
- KConfigDialogManager *cpp;
+ TDEConfigDialogManager *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KConfigDialogManager *)sipForceConvertToType(elem, sipType_KConfigDialogManager, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEConfigDialogManager *)sipForceConvertToType(elem, sipType_TDEConfigDialogManager, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{