summaryrefslogtreecommitdiffstats
path: root/sip/tdecore/twinmodule.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdecore/twinmodule.sip
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/tdecore/twinmodule.sip')
-rw-r--r--sip/tdecore/twinmodule.sip30
1 files changed, 15 insertions, 15 deletions
diff --git a/sip/tdecore/twinmodule.sip b/sip/tdecore/twinmodule.sip
index 4bca087..ba80592 100644
--- a/sip/tdecore/twinmodule.sip
+++ b/sip/tdecore/twinmodule.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KWinModule : QObject
+class KWinModule : TQObject
{
%TypeHeaderCode
#include <twinmodule.h>
@@ -42,22 +42,22 @@ public:
INFO_ALL
};
- KWinModule (QObject* /TransferThis/, int);
+ KWinModule (TQObject* /TransferThis/, int);
%End
- KWinModule (QObject* /TransferThis/ = 0);
- const QValueList<WId>& windows () const;
- const QValueList<WId>& stackingOrder () const;
+ KWinModule (TQObject* /TransferThis/ = 0);
+ const TQValueList<WId>& windows () const;
+ const TQValueList<WId>& stackingOrder () const;
bool hasWId (WId) const;
- const QValueList<WId>& systemTrayWindows () const;
+ const TQValueList<WId>& systemTrayWindows () const;
int currentDesktop () const;
int numberOfDesktops () const;
WId activeWindow () const;
- QRect workArea (int = -1) const;
- QRect workArea (const QValueList<WId>&, int = -1) const;
- QString desktopName (int) const;
- void setDesktopName (int, const QString&);
- void doNotManage (const QString&);
+ TQRect workArea (int = -1) const;
+ TQRect workArea (const TQValueList<WId>&, int = -1) const;
+ TQString desktopName (int) const;
+ void setDesktopName (int, const TQString&);
+ void doNotManage (const TQString&);
signals:
void currentDesktopChanged (int);
@@ -90,7 +90,7 @@ protected:
-%MappedType QValueList<WId>
+%MappedType TQValueList<WId>
//converts a Python list of WId
{
%TypeHeaderCode
@@ -107,10 +107,10 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<WId> *cpplist = (QValueList<WId> *)sipCpp;
+ TQValueList<WId> *cpplist = (TQValueList<WId> *)sipCpp;
// Get it.
- QValueList<WId>::Iterator it;
+ TQValueList<WId>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
WId cpp = *it;
@@ -129,7 +129,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<WId> *cpplist = new QValueList<WId>;
+ TQValueList<WId> *cpplist = new TQValueList<WId>;
PyObject *elem;
WId cpp;