summaryrefslogtreecommitdiffstats
path: root/sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-07 11:03:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-07 11:03:01 -0600
commit432ed6857a0a5904f0a2b96afa94f96a7ccc82d3 (patch)
treecce40e438df6f0c861ef9ee70094ab206ad84c17 /sip
parentb3f48c5f7f807147c4d0338137b9a77525aeaefb (diff)
downloadpytde-432ed6857a0a5904f0a2b96afa94f96a7ccc82d3.tar.gz
pytde-432ed6857a0a5904f0a2b96afa94f96a7ccc82d3.zip
Rename KAbout to avoid conflicts with KDE4
Diffstat (limited to 'sip')
-rw-r--r--sip/tdecore/kaboutdata.sip52
-rw-r--r--sip/tdeui/kaboutapplication.sip20
-rw-r--r--sip/tdeui/kaboutdialog.sip32
-rw-r--r--sip/tdeui/kaboutkde.sip6
4 files changed, 55 insertions, 55 deletions
diff --git a/sip/tdecore/kaboutdata.sip b/sip/tdecore/kaboutdata.sip
index eb75fed..ef46ee9 100644
--- a/sip/tdecore/kaboutdata.sip
+++ b/sip/tdecore/kaboutdata.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAboutPerson
+class TDEAboutPerson
{
%TypeHeaderCode
#include <kaboutdata.h>
@@ -32,17 +32,17 @@ class KAboutPerson
public:
- KAboutPerson (const char*, const char*, const char*, const char*);
- KAboutPerson ();
+ TDEAboutPerson (const char*, const char*, const char*, const char*);
+ TDEAboutPerson ();
TQString name () const;
TQString task () const;
TQString emailAddress () const;
TQString webAddress () const;
-}; // class KAboutPerson
+}; // class TDEAboutPerson
-class KAboutTranslator
+class TDEAboutTranslator
{
%TypeHeaderCode
#include <kaboutdata.h>
@@ -50,11 +50,11 @@ class KAboutTranslator
public:
- KAboutTranslator (const TQString& = TQString ::null , const TQString& = TQString ::null );
+ TDEAboutTranslator (const TQString& = TQString ::null , const TQString& = TQString ::null );
TQString name () const;
TQString emailAddress () const;
-}; // class KAboutTranslator
+}; // class TDEAboutTranslator
class TDEAboutData
@@ -144,9 +144,9 @@ public:
const char* internalBugAddress () const;
%End
- const TQValueList<KAboutPerson> authors () const;
- const TQValueList<KAboutPerson> credits () const;
- const TQValueList<KAboutTranslator> translators () const;
+ const TQValueList<TDEAboutPerson> authors () const;
+ const TQValueList<TDEAboutPerson> credits () const;
+ const TQValueList<TDEAboutTranslator> translators () const;
static TQString aboutTranslationTeam ();
TQString otherText () const;
TQString license () const;
@@ -165,8 +165,8 @@ public:
-%MappedType TQValueList<KAboutPerson>
-//converts a Python list of KAboutPerson
+%MappedType TQValueList<TDEAboutPerson>
+//converts a Python list of TDEAboutPerson
{
%TypeHeaderCode
#include <tqvaluelist.h>
@@ -181,14 +181,14 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KAboutPerson> *cpplist = (TQValueList<KAboutPerson> *)sipCpp;
+ TQValueList<TDEAboutPerson> *cpplist = (TQValueList<TDEAboutPerson> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KAboutPerson>::Iterator it;
+ TQValueList<TDEAboutPerson>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KAboutPerson(*it), sipType_KAboutPerson, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEAboutPerson(*it), sipType_TDEAboutPerson, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -204,16 +204,16 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KAboutPerson> *cpplist = new TQValueList<KAboutPerson>;
+ TQValueList<TDEAboutPerson> *cpplist = new TQValueList<TDEAboutPerson>;
PyObject *elem;
- KAboutPerson *cpp;
+ TDEAboutPerson *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KAboutPerson *)sipForceConvertToType(elem, sipType_KAboutPerson, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEAboutPerson *)sipForceConvertToType(elem, sipType_TDEAboutPerson, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
@@ -232,8 +232,8 @@ public:
};
-%MappedType TQValueList<KAboutTranslator>
-//converts a Python list of KAboutTranslator
+%MappedType TQValueList<TDEAboutTranslator>
+//converts a Python list of TDEAboutTranslator
{
%TypeHeaderCode
#include <tqvaluelist.h>
@@ -248,14 +248,14 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KAboutTranslator> *cpplist = (TQValueList<KAboutTranslator> *)sipCpp;
+ TQValueList<TDEAboutTranslator> *cpplist = (TQValueList<TDEAboutTranslator> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KAboutTranslator>::Iterator it;
+ TQValueList<TDEAboutTranslator>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KAboutTranslator(*it), sipType_KAboutTranslator, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEAboutTranslator(*it), sipType_TDEAboutTranslator, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -271,16 +271,16 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KAboutTranslator> *cpplist = new TQValueList<KAboutTranslator>;
+ TQValueList<TDEAboutTranslator> *cpplist = new TQValueList<TDEAboutTranslator>;
PyObject *elem;
- KAboutTranslator *cpp;
+ TDEAboutTranslator *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KAboutTranslator *)sipForceConvertToType(elem, sipType_KAboutTranslator, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEAboutTranslator *)sipForceConvertToType(elem, sipType_TDEAboutTranslator, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip
index 51eaf8b..23746cf 100644
--- a/sip/tdeui/kaboutapplication.sip
+++ b/sip/tdeui/kaboutapplication.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAboutApplication : KAboutDialog
+class TDEAboutApplication : TDEAboutDialog
{
%TypeHeaderCode
#include <kaboutapplication.h>
@@ -32,8 +32,8 @@ class KAboutApplication : KAboutDialog
public:
- KAboutApplication (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
- KAboutApplication (const TDEAboutData*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ TDEAboutApplication (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ TDEAboutApplication (const TDEAboutData*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
protected:
void buildDialog (const TDEAboutData*);
@@ -44,12 +44,12 @@ protected:
// must be sorted by name.
static sipStringTypeClassMap map[] = {
- {sipName_KAboutApplication, &sipClass_KAboutApplication},
- {sipName_KAboutContainer, &sipClass_KAboutContainer},
- {sipName_KAboutContributor, &sipClass_KAboutContributor},
- {sipName_KAboutDialog, &sipClass_KAboutDialog},
- {sipName_KAboutKDE, &sipClass_KAboutKDE},
- {sipName_KAboutWidget, &sipClass_KAboutWidget},
+ {sipName_TDEAboutApplication, &sipClass_TDEAboutApplication},
+ {sipName_TDEAboutContainer, &sipClass_TDEAboutContainer},
+ {sipName_TDEAboutContributor, &sipClass_TDEAboutContributor},
+ {sipName_TDEAboutDialog, &sipClass_TDEAboutDialog},
+ {sipName_TDEAboutKDE, &sipClass_TDEAboutKDE},
+ {sipName_TDEAboutWidget, &sipClass_TDEAboutWidget},
{sipName_TDEAction, &sipClass_TDEAction},
{sipName_TDEActionCollection, &sipClass_TDEActionCollection},
{sipName_TDEActionMenu, &sipClass_TDEActionMenu},
@@ -201,5 +201,5 @@ protected:
%End
//end
-}; // class KAboutApplication
+}; // class TDEAboutApplication
diff --git a/sip/tdeui/kaboutdialog.sip b/sip/tdeui/kaboutdialog.sip
index cc07e28..ad36cf9 100644
--- a/sip/tdeui/kaboutdialog.sip
+++ b/sip/tdeui/kaboutdialog.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAboutContainer : TQFrame
+class TDEAboutContainer : TQFrame
{
%TypeHeaderCode
#include <kaboutdialog.h>
@@ -32,7 +32,7 @@ class KAboutContainer : TQFrame
public:
- KAboutContainer (TQWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter );
+ TDEAboutContainer (TQWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter );
void addWidget (TQWidget*);
void addPerson (const TQString&, const TQString&, const TQString&, const TQString&, bool = 0, bool = 0, bool = 0);
void addTitle (const TQString&, int = AlignLeft , bool = 0, bool = 0);
@@ -47,10 +47,10 @@ signals:
void urlClick (const TQString&);
void mailClick (const TQString&, const TQString&);
-}; // class KAboutContainer
+}; // class TDEAboutContainer
-class KAboutContributor : TQFrame
+class TDEAboutContributor : TQFrame
{
%TypeHeaderCode
#include <kaboutdialog.h>
@@ -58,7 +58,7 @@ class KAboutContributor : TQFrame
public:
- KAboutContributor (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0, bool = 1, bool = 0);
+ TDEAboutContributor (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0, bool = 1, bool = 0);
void setName (const TQString&, const TQString& = TQString ::null , bool = 1);
void setEmail (const TQString&, const TQString& = TQString ::null , bool = 1);
void setURL (const TQString&, const TQString& = TQString ::null , bool = 1);
@@ -80,10 +80,10 @@ signals:
void sendEmail (const TQString&, const TQString&);
void openURL (const TQString&);
-}; // class KAboutContributor
+}; // class TDEAboutContributor
-class KAboutWidget : TQWidget
+class TDEAboutWidget : TQWidget
{
%TypeHeaderCode
#include <kaboutdialog.h>
@@ -91,7 +91,7 @@ class KAboutWidget : TQWidget
public:
- KAboutWidget (TQWidget* /TransferThis/ = 0, const char* = 0);
+ TDEAboutWidget (TQWidget* /TransferThis/ = 0, const char* = 0);
void adjust ();
void setLogo (const TQPixmap&);
void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&);
@@ -110,10 +110,10 @@ signals:
protected:
void resizeEvent (TQResizeEvent*);
-}; // class KAboutWidget
+}; // class TDEAboutWidget
-class KAboutDialog : KDialogBase
+class TDEAboutDialog : KDialogBase
{
%TypeHeaderCode
#include <kaboutdialog.h>
@@ -138,8 +138,8 @@ public:
public:
- KAboutDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
- KAboutDialog (int, const TQString&, int, ButtonCode, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
+ TDEAboutDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ TDEAboutDialog (int, const TQString&, int, ButtonCode, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
void adjust ();
virtual void show ();
virtual void show (TQWidget*);
@@ -161,9 +161,9 @@ public:
void setProduct (const TQString&, const TQString&, const TQString&, const TQString&);
TQFrame* addTextPage (const TQString&, const TQString&, bool = 0, int = 10);
TQFrame* addLicensePage (const TQString&, const TQString&, int = 10);
- KAboutContainer* addContainerPage (const TQString&, int = AlignCenter , int = AlignCenter );
- KAboutContainer* addScrolledContainerPage (const TQString&, int = AlignCenter , int = AlignCenter );
- KAboutContainer* addContainer (int, int);
+ TDEAboutContainer* addContainerPage (const TQString&, int = AlignCenter , int = AlignCenter );
+ TDEAboutContainer* addScrolledContainerPage (const TQString&, int = AlignCenter , int = AlignCenter );
+ TDEAboutContainer* addContainer (int, int);
TQFrame* addPage (const TQString&);
void setLogo (const TQPixmap&);
void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&);
@@ -186,5 +186,5 @@ protected slots:
protected:
//igx virtual void virtual_hook (int, void*);
-}; // class KAboutDialog
+}; // class TDEAboutDialog
diff --git a/sip/tdeui/kaboutkde.sip b/sip/tdeui/kaboutkde.sip
index 10f615f..b9cd58b 100644
--- a/sip/tdeui/kaboutkde.sip
+++ b/sip/tdeui/kaboutkde.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAboutKDE : KAboutDialog
+class TDEAboutKDE : TDEAboutDialog
{
%TypeHeaderCode
#include <kaboutkde.h>
@@ -32,7 +32,7 @@ class KAboutKDE : KAboutDialog
public:
- KAboutKDE (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ TDEAboutKDE (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
-}; // class KAboutKDE
+}; // class TDEAboutKDE