summaryrefslogtreecommitdiffstats
path: root/sip/qtpe/qpeapplication.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qtpe/qpeapplication.sip')
-rw-r--r--sip/qtpe/qpeapplication.sip56
1 files changed, 28 insertions, 28 deletions
diff --git a/sip/qtpe/qpeapplication.sip b/sip/qtpe/qpeapplication.sip
index f71240e..de404c0 100644
--- a/sip/qtpe/qpeapplication.sip
+++ b/sip/qtpe/qpeapplication.sip
@@ -1,22 +1,22 @@
-// This is the SIP interface definition for QPEApplication.
+// This is the SIP interface definition for TQPEApplication.
//
// Copyright (c) 2007
// Riverbank Computing Limited <[email protected]>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -26,7 +26,7 @@
%If (WS_QWS)
-class QPEApplication : QApplication
+class TQPEApplication : TQApplication
{
%TypeHeaderCode
#include <qpe/qpeapplication.h>
@@ -34,7 +34,7 @@ class QPEApplication : QApplication
%End
public:
- QPEApplication(SIP_PYLIST,Type=GuiClient) [(int &,char **,Type=GuiClient)];
+ TQPEApplication(SIP_PYLIST,Type=GuiClient) [(int &,char **,Type=GuiClient)];
%MethodCode
// The Python interface is a list of argument strings that is
// modified.
@@ -51,7 +51,7 @@ public:
int nargc = argc;
Py_BEGIN_ALLOW_THREADS
- sipCpp = new sipQPEApplication(nargc,argv,(QApplication::Type)a1);
+ sipCpp = new sipTQPEApplication(nargc,argv,(TQApplication::Type)a1);
Py_END_ALLOW_THREADS
// Now modify the original list.
@@ -59,14 +59,14 @@ public:
}
%End
- ~QPEApplication();
+ ~TQPEApplication();
%MethodCode
- // See the comments in ~QApplication() to understand what's
+ // See the comments in ~TQApplication() to understand what's
// being done here.
- QWidgetList *tlw = QApplication::topLevelWidgets();
- QWidgetListIt it(*tlw);
- QWidget *w;
+ TQWidgetList *tlw = TQApplication::topLevelWidgets();
+ TQWidgetListIt it(*tlw);
+ TQWidget *w;
while ((w = it.current()) != 0)
{
@@ -97,8 +97,8 @@ public:
sizeof (map)/sizeof (map[0]));
%End
- static QString qpeDir();
- static QString documentDir();
+ static TQString qpeDir();
+ static TQString documentDir();
void applyStyle();
static int defaultRotation();
static void setDefaultRotation(int);
@@ -110,8 +110,8 @@ public:
RightOnHold
};
- static void setStylusOperation(QWidget *,StylusMode);
- static StylusMode stylusOperation(QWidget *);
+ static void setStylusOperation(TQWidget *,StylusMode);
+ static StylusMode stylusOperation(TQWidget *);
enum InputMethodHint {
Normal,
@@ -126,38 +126,38 @@ public:
Enable
};
- static void setInputMethodHint(QWidget *,InputMethodHint);
- static InputMethodHint inputMethodHint(QWidget *);
+ static void setInputMethodHint(TQWidget *,InputMethodHint);
+ static InputMethodHint inputMethodHint(TQWidget *);
- void showMainWidget(QWidget *,bool = 0);
- void showMainDocumentWidget(QWidget *,bool = 0);
+ void showMainWidget(TQWidget *,bool = 0);
+ void showMainDocumentWidget(TQWidget *,bool = 0);
static void setKeepRunning();
bool keepRunning() const;
int exec() /PyName=exec_loop, ReleaseGIL,
- PreHook=__pyQtPreEventLoopHook__,
- PostHook=__pyQtPostEventLoopHook__/;
+ PreHook=__pyTQtPreEventLoopHook__,
+ PostHook=__pyTQtPostEventLoopHook__/;
signals:
void clientMoused();
void timeChanged();
void clockChanged(bool);
void volumeChanged(bool);
- void appMessage(const QCString &,const QByteArray &);
+ void appMessage(const TQCString &,const TQByteArray &);
void weekChanged(bool);
void dateFormatChanged(DateFormat);
void flush();
void reload();
protected:
-// bool qwsEventFilter(QWSEvent *);
-// void internalSetStyle(const QString &);
+// bool qwsEventFilter(TQWSEvent *);
+// void internalSetStyle(const TQString &);
void prepareForTermination(bool);
virtual void restart();
virtual void shutdown();
- bool eventFilter(QObject *,QEvent *);
- void timerEvent(QTimerEvent *);
+ bool eventFilter(TQObject *,TQEvent *);
+ void timerEvent(TQTimerEvent *);
bool keyboardGrabbed() const;
bool raiseAppropriateWindow();
virtual void tryQuit();