summaryrefslogtreecommitdiffstats
path: root/sip/qtpe
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qtpe')
-rw-r--r--sip/qtpe/copying.sip18
-rw-r--r--sip/qtpe/qpeapplication.sip56
-rw-r--r--sip/qtpe/qpeapplnk.sip84
-rw-r--r--sip/qtpe/qpeconfig.sip54
-rw-r--r--sip/qtpe/qpefilemanager.sip22
-rw-r--r--sip/qtpe/qpefileselector.sip20
-rw-r--r--sip/qtpe/qpefontdatabase.sip20
-rw-r--r--sip/qtpe/qpeglobal.sip46
-rw-r--r--sip/qtpe/qpemenubar.sip16
-rw-r--r--sip/qtpe/qpemenubutton.sip28
-rw-r--r--sip/qtpe/qpeqcopenvelope.sip14
-rw-r--r--sip/qtpe/qpeqdawg.sip36
-rw-r--r--sip/qtpe/qperesource.sip22
-rw-r--r--sip/qtpe/qpetimestring.sip28
-rw-r--r--sip/qtpe/qpetoolbar.sip16
-rw-r--r--sip/qtpe/qtpemod.sip24
16 files changed, 252 insertions, 252 deletions
diff --git a/sip/qtpe/copying.sip b/sip/qtpe/copying.sip
index 463904b..6da646e 100644
--- a/sip/qtpe/copying.sip
+++ b/sip/qtpe/copying.sip
@@ -1,22 +1,22 @@
-// This is the SIP file defining the PyQt license.
+// This is the SIP file defining the PyTQt license.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -24,20 +24,20 @@
Copyright (c) 2007
Riverbank Computing Limited <info@riverbankcomputing.co.uk>
-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.
%End
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 <info@riverbankcomputing.co.uk>
//
-// 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();
diff --git a/sip/qtpe/qpeapplnk.sip b/sip/qtpe/qpeapplnk.sip
index f817ae5..9bf07fa 100644
--- a/sip/qtpe/qpeapplnk.sip
+++ b/sip/qtpe/qpeapplnk.sip
@@ -4,20 +4,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -35,7 +35,7 @@ class AppLnk
public:
AppLnk();
- AppLnk(const QString &);
+ AppLnk(const TQString &);
AppLnk(const AppLnk &);
bool isValid() const;
@@ -45,43 +45,43 @@ public:
static int smallIconSize();
static int bigIconSize();
- QString name() const;
- const QPixmap& pixmap() const;
- const QPixmap& bigPixmap() const;
- virtual QString exec() const /PyName=exec_property/;
- QString type() const;
- QString rotation() const;
- QString comment() const;
- QString file() const;
- QString linkFile() const;
- QStringList mimeTypes() const;
- QStringList mimeTypeIcons() const;
- const QArray<int> &categories() const;
+ TQString name() const;
+ const TQPixmap& pixmap() const;
+ const TQPixmap& bigPixmap() const;
+ virtual TQString exec() const /PyName=exec_property/;
+ TQString type() const;
+ TQString rotation() const;
+ TQString comment() const;
+ TQString file() const;
+ TQString linkFile() const;
+ TQStringList mimeTypes() const;
+ TQStringList mimeTypeIcons() const;
+ const TQArray<int> &categories() const;
int id() const;
bool fileKnown() const;
bool linkFileKnown() const;
void execute() const /ReleaseGIL/;
- void execute(const QStringList &) const /ReleaseGIL/;
+ void execute(const TQStringList &) const /ReleaseGIL/;
void removeFiles();
void removeLinkFile();
- void setName(const QString &);
- void setExec(const QString &);
- void setFile(const QString &);
- void setLinkFile(const QString &);
- void setComment(const QString &);
- void setType(const QString &);
- void setIcon(const QString &);
- void setCategories(const QArray<int> &);
+ void setName(const TQString &);
+ void setExec(const TQString &);
+ void setFile(const TQString &);
+ void setLinkFile(const TQString &);
+ void setComment(const TQString &);
+ void setType(const TQString &);
+ void setIcon(const TQString &);
+ void setCategories(const TQArray<int> &);
bool writeLink() const;
- void setProperty(const QString &,const QString &);
- QString property(const QString &) const;
+ void setProperty(const TQString &,const TQString &);
+ TQString property(const TQString &) const;
protected:
- virtual void invoke(const QStringList &) const;
+ virtual void invoke(const TQStringList &) const;
bool ensureLinkExists() const;
// Undocumented and missing on the Zaurus.
// void storeLink() const;
@@ -97,13 +97,13 @@ class DocLnk : AppLnk
public:
DocLnk();
DocLnk(const DocLnk &);
- DocLnk(const QString &);
- DocLnk(const QString &,bool);
+ DocLnk(const TQString &);
+ DocLnk(const TQString &,bool);
- QString exec() const /PyName=exec_property/;
+ TQString exec() const /PyName=exec_property/;
protected:
- void invoke(const QStringList &) const;
+ void invoke(const TQStringList &) const;
};
@@ -115,20 +115,20 @@ class AppLnkSet
public:
AppLnkSet();
- AppLnkSet(const QString &);
+ AppLnkSet(const TQString &);
const AppLnk *find(int) const;
- const AppLnk *findExec(const QString &) const;
+ const AppLnk *findExec(const TQString &) const;
- QStringList types() const;
- QString typeName(const QString &) const;
- QPixmap typePixmap(const QString &) const;
- QPixmap typeBigPixmap(const QString &) const;
+ TQStringList types() const;
+ TQString typeName(const TQString &) const;
+ TQPixmap typePixmap(const TQString &) const;
+ TQPixmap typeBigPixmap(const TQString &) const;
void add(AppLnk *);
bool remove(AppLnk *);
- const QList<AppLnk> &children() const;
+ const TQList<AppLnk> &children() const;
void detachChildren();
private:
@@ -144,9 +144,9 @@ class DocLnkSet : AppLnkSet
public:
DocLnkSet();
- DocLnkSet(const QString &,const QString & = QString::null);
+ DocLnkSet(const TQString &,const TQString & = TQString::null);
- const QList<DocLnk> &children() const;
+ const TQList<DocLnk> &children() const;
void appendFrom(DocLnkSet &);
diff --git a/sip/qtpe/qpeconfig.sip b/sip/qtpe/qpeconfig.sip
index a8f78d7..e816101 100644
--- a/sip/qtpe/qpeconfig.sip
+++ b/sip/qtpe/qpeconfig.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -33,46 +33,46 @@ class Config
%End
public:
- typedef QMap<QString,QString> ConfigGroup;
+ typedef TQMap<TQString,TQString> ConfigGroup;
enum Domain {
File,
User
};
- Config(const QString &,Domain = User);
+ Config(const TQString &,Domain = User);
bool isValid() const;
- bool hasKey(const QString &) const;
+ bool hasKey(const TQString &) const;
- void setGroup(const QString &);
-// void writeEntry(const QString &,const char *);
- void writeEntry(const QString &,const QString &);
- void writeEntryCrypt(const QString &,const QString &);
- void writeEntry(const QString &,int);
-// void writeEntry(const QString &,bool);
- void writeEntry(const QString &,const QStringList &,const QChar &);
- void removeEntry(const QString &);
+ void setGroup(const TQString &);
+// void writeEntry(const TQString &,const char *);
+ void writeEntry(const TQString &,const TQString &);
+ void writeEntryCrypt(const TQString &,const TQString &);
+ void writeEntry(const TQString &,int);
+// void writeEntry(const TQString &,bool);
+ void writeEntry(const TQString &,const TQStringList &,const TQChar &);
+ void removeEntry(const TQString &);
- QString readEntry(const QString &,
- const QString & = QString::null) const;
- QString readEntryCrypt(const QString &,
- const QString & = QString::null) const;
- QString readEntryDirect(const QString &,
- const QString & = QString::null) const;
- int readNumEntry(const QString &,int = -1) const;
- bool readBoolEntry(const QString &,bool = 0) const;
- QStringList readListEntry(const QString &,const QChar &) const;
+ TQString readEntry(const TQString &,
+ const TQString & = TQString::null) const;
+ TQString readEntryCrypt(const TQString &,
+ const TQString & = TQString::null) const;
+ TQString readEntryDirect(const TQString &,
+ const TQString & = TQString::null) const;
+ int readNumEntry(const TQString &,int = -1) const;
+ bool readBoolEntry(const TQString &,bool = 0) const;
+ TQStringList readListEntry(const TQString &,const TQChar &) const;
void clearGroup();
- void write(const QString & = QString::null);
+ void write(const TQString & = TQString::null);
protected:
// void read();
-// bool parse(const QString &);
+// bool parse(const TQString &);
-// static QString configFilename(const QString &,Domain);
+// static TQString configFilename(const TQString &,Domain);
};
%End
diff --git a/sip/qtpe/qpefilemanager.sip b/sip/qtpe/qpefilemanager.sip
index d917980..abd4cce 100644
--- a/sip/qtpe/qpefilemanager.sip
+++ b/sip/qtpe/qpefilemanager.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -35,19 +35,19 @@ class FileManager
public:
FileManager();
- bool saveFile(const DocLnk &,const QByteArray &);
- bool saveFile(const DocLnk &,const QString &);
- bool loadFile(const DocLnk &,QByteArray &);
- bool loadFile(const DocLnk &,QString &);
+ bool saveFile(const DocLnk &,const TQByteArray &);
+ bool saveFile(const DocLnk &,const TQString &);
+ bool loadFile(const DocLnk &,TQByteArray &);
+ bool loadFile(const DocLnk &,TQString &);
bool copyFile(const AppLnk &,const AppLnk &);
- QIODevice *openFile(const DocLnk &) /ReleaseGIL/;
- QIODevice *saveFile(const DocLnk &) /ReleaseGIL/;
+ TQIODevice *openFile(const DocLnk &) /ReleaseGIL/;
+ TQIODevice *saveFile(const DocLnk &) /ReleaseGIL/;
bool exists(const DocLnk &);
protected:
- bool ensurePathExists(const QString &);
+ bool ensurePathExists(const TQString &);
};
%End
diff --git a/sip/qtpe/qpefileselector.sip b/sip/qtpe/qpefileselector.sip
index cfea063..044cd59 100644
--- a/sip/qtpe/qpefileselector.sip
+++ b/sip/qtpe/qpefileselector.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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,37 +26,37 @@
%If (WS_QWS)
-class FileSelectorItem : QListViewItem
+class FileSelectorItem : TQListViewItem
{
%TypeHeaderCode
#include <qpe/fileselector.h>
%End
public:
- FileSelectorItem(QListView * /TransferThis/,const DocLnk &);
+ FileSelectorItem(TQListView * /TransferThis/,const DocLnk &);
DocLnk file() const;
};
-class FileSelector : QVBox
+class FileSelector : TQVBox
{
%TypeHeaderCode
#include <qpe/fileselector.h>
%End
public:
- FileSelector(const QString &,QWidget * /TransferThis/,const char *,
+ FileSelector(const TQString &,TQWidget * /TransferThis/,const char *,
bool = 1,bool = 1);
void setNewVisible(bool);
void setCloseVisible(bool);
void reread();
int fileCount();
-%If (- QtPE_1_6_0)
+%If (- TQtPE_1_6_0)
const DocLnk *selected();
%End
-%If (QtPE_1_6_0 -)
+%If (TQtPE_1_6_0 -)
DocLnk selectedDocument();
%End
diff --git a/sip/qtpe/qpefontdatabase.sip b/sip/qtpe/qpefontdatabase.sip
index 2276b5b..4b9eb9c 100644
--- a/sip/qtpe/qpefontdatabase.sip
+++ b/sip/qtpe/qpefontdatabase.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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,9 +26,9 @@
%If (WS_QWS)
-%If (Qt_FONTDATABASE)
+%If (TQt_FONTDATABASE)
-class FontDatabase : QFontDatabase
+class FontDatabase : TQFontDatabase
{
%TypeHeaderCode
#include <qpe/fontdatabase.h>
@@ -37,7 +37,7 @@ class FontDatabase : QFontDatabase
public:
FontDatabase();
- QStringList families() const;
+ TQStringList families() const;
static void loadRenderers();
};
@@ -45,7 +45,7 @@ public:
%End
-%If (!Qt_FONTDATABASE)
+%If (!TQt_FONTDATABASE)
class FontDatabase
{
@@ -56,8 +56,8 @@ class FontDatabase
public:
FontDatabase();
- QStringList families() const;
- static QValueList<int> standardSizes();
+ TQStringList families() const;
+ static TQValueList<int> standardSizes();
static void loadRenderers();
};
diff --git a/sip/qtpe/qpeglobal.sip b/sip/qtpe/qpeglobal.sip
index f5b4482..89a32be 100644
--- a/sip/qtpe/qpeglobal.sip
+++ b/sip/qtpe/qpeglobal.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -35,49 +35,49 @@ class Global
public:
Global();
- static const QDawg &fixedDawg();
- static const QDawg &addedDawg();
- static const QDawg &dawg(const QString &);
+ static const TQDawg &fixedDawg();
+ static const TQDawg &addedDawg();
+ static const TQDawg &dawg(const TQString &);
- static void addWords(const QStringList &);
- static void addWords(const QString &,const QStringList &);
+ static void addWords(const TQStringList &);
+ static void addWords(const TQString &,const TQStringList &);
static void createDocDir();
- static void findDocuments(DocLnkSet *,const QString & = QString::null);
+ static void findDocuments(DocLnkSet *,const TQString & = TQString::null);
- static QString applicationFileName(const QString &,const QString &);
+ static TQString applicationFileName(const TQString &,const TQString &);
// struct Command {
// const char *file;
-// QWidget *(*func)(bool);
+// TQWidget *(*func)(bool);
// bool maximized;
// bool documentary;
// };
// static void setBuiltinCommands(Command *);
-%If (- QtPE_1_6_0)
- static void invoke(const QString &);
+%If (- TQtPE_1_6_0)
+ static void invoke(const TQString &);
%End
- static void execute(const QString &,const QString & = QString::null) /ReleaseGIL/;
- static void setDocument(QWidget *,const QString &);
- static bool terminateBuiltin(const QString &);
+ static void execute(const TQString &,const TQString & = TQString::null) /ReleaseGIL/;
+ static void setDocument(TQWidget *,const TQString &);
+ static bool terminateBuiltin(const TQString &);
static void terminate(const AppLnk *);
- static bool isBuiltinCommand(const QString &);
+ static bool isBuiltinCommand(const TQString &);
static void applyStyle();
- static void statusMessage(const QString &);
- static QWidget *shutdown(bool = 0);
- static QWidget *restart(bool = 0);
+ static void statusMessage(const TQString &);
+ static TQWidget *shutdown(bool = 0);
+ static TQWidget *restart(bool = 0);
static void hideInputMethod();
static void showInputMethod();
static void writeHWClock();
- static QString shellQuote(const QString &);
- static QString stringQuote(const QString &);
+ static TQString shellQuote(const TQString &);
+ static TQString stringQuote(const TQString &);
};
%End
diff --git a/sip/qtpe/qpemenubar.sip b/sip/qtpe/qpemenubar.sip
index 4164843..faaa50f 100644
--- a/sip/qtpe/qpemenubar.sip
+++ b/sip/qtpe/qpemenubar.sip
@@ -1,22 +1,22 @@
-// This is the SIP interface definition for QPEMenuBar.
+// This is the SIP interface definition for TQPEMenuBar.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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,17 +26,17 @@
%If (WS_QWS)
-class QPEMenuBar : QMenuBar
+class TQPEMenuBar : TQMenuBar
{
%TypeHeaderCode
#include <qpe/qpemenubar.h>
%End
public:
- QPEMenuBar(QWidget * /TransferThis/ = 0,const char * = 0);
+ TQPEMenuBar(TQWidget * /TransferThis/ = 0,const char * = 0);
protected:
- virtual void keyPressEvent(QKeyEvent *);
+ virtual void keyPressEvent(TQKeyEvent *);
};
%End
diff --git a/sip/qtpe/qpemenubutton.sip b/sip/qtpe/qpemenubutton.sip
index ff3a729..24538c3 100644
--- a/sip/qtpe/qpemenubutton.sip
+++ b/sip/qtpe/qpemenubutton.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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,36 +26,36 @@
%If (WS_QWS)
-class MenuButton : QPushButton
+class MenuButton : TQPushButton
{
%TypeHeaderCode
#include <qpe/menubutton.h>
%End
public:
- MenuButton(QWidget * /TransferThis/,const char * = 0);
- MenuButton(const QStringList &,QWidget * /TransferThis/,
+ MenuButton(TQWidget * /TransferThis/,const char * = 0);
+ MenuButton(const TQStringList &,TQWidget * /TransferThis/,
const char * = 0);
void clear();
int currentItem() const;
- QString currentText() const;
+ TQString currentText() const;
- void insertItems(const QStringList &);
- void insertItem(const QIconSet &,const QString & = QString::null);
- void insertItem(const QString &);
+ void insertItems(const TQStringList &);
+ void insertItem(const TQIconSet &,const TQString & = TQString::null);
+ void insertItem(const TQString &);
void insertSeparator();
- void setLabel(const QString &);
+ void setLabel(const TQString &);
signals:
void selected(int);
- void selected(const QString &);
+ void selected(const TQString &);
public slots:
void select(int);
- void select(const QString &);
+ void select(const TQString &);
};
%End
diff --git a/sip/qtpe/qpeqcopenvelope.sip b/sip/qtpe/qpeqcopenvelope.sip
index 9bbff30..49e0c39 100644
--- a/sip/qtpe/qpeqcopenvelope.sip
+++ b/sip/qtpe/qpeqcopenvelope.sip
@@ -1,22 +1,22 @@
-// This is the SIP interface definition for QCopEnvelope.
+// This is the SIP interface definition for TQCopEnvelope.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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,14 +26,14 @@
%If (WS_QWS)
-class QCopEnvelope : QDataStream
+class TQCopEnvelope : TQDataStream
{
%TypeHeaderCode
#include <qpe/qcopenvelope_qws.h>
%End
public:
- QCopEnvelope(const QCString &,const QCString &);
+ TQCopEnvelope(const TQCString &,const TQCString &);
};
%End
diff --git a/sip/qtpe/qpeqdawg.sip b/sip/qtpe/qpeqdawg.sip
index f04d642..e681b9c 100644
--- a/sip/qtpe/qpeqdawg.sip
+++ b/sip/qtpe/qpeqdawg.sip
@@ -1,22 +1,22 @@
-// This is the SIP interface definition for QDawg.
+// This is the SIP interface definition for TQDawg.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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,38 +26,38 @@
%If (WS_QWS)
-class QDawg
+class TQDawg
{
%TypeHeaderCode
#include <qpe/qdawg.h>
%End
public:
- QDawg();
+ TQDawg();
- bool readFile(const QString &) /ReleaseGIL/;
- bool read(QIODevice *) /ReleaseGIL/;
- bool write(QIODevice *) const /ReleaseGIL/;
- bool createFromWords(QIODevice *);
- void createFromWords(const QStringList &);
- QStringList allWords() const;
+ bool readFile(const TQString &) /ReleaseGIL/;
+ bool read(TQIODevice *) /ReleaseGIL/;
+ bool write(TQIODevice *) const /ReleaseGIL/;
+ bool createFromWords(TQIODevice *);
+ void createFromWords(const TQStringList &);
+ TQStringList allWords() const;
- bool contains(const QString &) const;
+ bool contains(const TQString &) const;
int countWords() const;
class Node {
public:
- QChar letter() const;
+ TQChar letter() const;
bool isWord() const;
bool isLast() const;
- const QDawg::Node *next() const;
- const QDawg::Node *jump() const;
+ const TQDawg::Node *next() const;
+ const TQDawg::Node *jump() const;
private:
Node();
};
- const QDawg::Node *root() const;
+ const TQDawg::Node *root() const;
void dump() const;
};
diff --git a/sip/qtpe/qperesource.sip b/sip/qtpe/qperesource.sip
index de094b0..79b940d 100644
--- a/sip/qtpe/qperesource.sip
+++ b/sip/qtpe/qperesource.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -35,16 +35,16 @@ class Resource
public:
Resource();
- static QImage loadImage(const QString &);
+ static TQImage loadImage(const TQString &);
- static QPixmap loadPixmap(const QString &);
- static QBitmap loadBitmap(const QString &);
- static QString findPixmap(const QString &);
+ static TQPixmap loadPixmap(const TQString &);
+ static TQBitmap loadBitmap(const TQString &);
+ static TQString findPixmap(const TQString &);
- static QIconSet loadIconSet(const QString &);
+ static TQIconSet loadIconSet(const TQString &);
- static QString findSound(const QString &);
- static QStringList allSounds();
+ static TQString findSound(const TQString &);
+ static TQStringList allSounds();
};
%End
diff --git a/sip/qtpe/qpetimestring.sip b/sip/qtpe/qpetimestring.sip
index 4df6a4f..21961d1 100644
--- a/sip/qtpe/qpetimestring.sip
+++ b/sip/qtpe/qpetimestring.sip
@@ -3,20 +3,20 @@
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -39,8 +39,8 @@ public:
YearMonthDay
};
- DateFormat(QChar = '/',Order = MonthDayYear);
- DateFormat(QChar,Order,Order);
+ DateFormat(TQChar = '/',Order = MonthDayYear);
+ DateFormat(TQChar,Order,Order);
DateFormat(const DateFormat &);
enum Verbosity {
@@ -52,18 +52,18 @@ public:
showWeekDay
};
- QString toNumberString() const;
- QString toWordString() const;
+ TQString toNumberString() const;
+ TQString toWordString() const;
- QString numberDate(const QDate &,int = 0) const;
- QString wordDate(const QDate &,int = 0) const;
+ TQString numberDate(const TQDate &,int = 0) const;
+ TQString wordDate(const TQDate &,int = 0) const;
-%If (Qt_DATASTREAM)
- void load(QDataStream &);
- void save(QDataStream &) const;
+%If (TQt_DATASTREAM)
+ void load(TQDataStream &);
+ void save(TQDataStream &) const;
%End
- QChar separator() const;
+ TQChar separator() const;
Order shortOrder() const;
Order longOrder() const;
};
diff --git a/sip/qtpe/qpetoolbar.sip b/sip/qtpe/qpetoolbar.sip
index 1d503ea..541cb92 100644
--- a/sip/qtpe/qpetoolbar.sip
+++ b/sip/qtpe/qpetoolbar.sip
@@ -1,22 +1,22 @@
-// This is the SIP interface definition for QPEToolBar.
+// This is the SIP interface definition for TQPEToolBar.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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,17 +26,17 @@
%If (WS_QWS)
-class QPEToolBar : QToolBar
+class TQPEToolBar : TQToolBar
{
%TypeHeaderCode
#include <qpe/qpetoolbar.h>
%End
public:
- QPEToolBar(QMainWindow * /TransferThis/ = 0,const char * = 0);
+ TQPEToolBar(TQMainWindow * /TransferThis/ = 0,const char * = 0);
protected:
- virtual void childEvent(QChildEvent *);
+ virtual void childEvent(TQChildEvent *);
};
%End
diff --git a/sip/qtpe/qtpemod.sip b/sip/qtpe/qtpemod.sip
index 3194a03..a00a1a3 100644
--- a/sip/qtpe/qtpemod.sip
+++ b/sip/qtpe/qtpemod.sip
@@ -1,22 +1,22 @@
-// This is the SIP interface definition for the qtpe module of PyQt.
+// This is the SIP interface definition for the qtpe module of PyTQt.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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.
@@ -27,15 +27,15 @@
%Include copying.sip
-// QPE has it's own version numbering.
-%Timeline {QtPE_1_5_0 QtPE_1_6_0}
+// TQPE has it's own version numbering.
+%Timeline {TQtPE_1_5_0 TQtPE_1_6_0}
%ModuleHeaderCode
#include <qpe/version.h>
%End
-const char *QPE_VERSION;
+const char *TQPE_VERSION;
%Include qpeapplication.sip
@@ -62,20 +62,20 @@ const char *QPE_VERSION;
# Copyright (c) 2007
# Riverbank Computing Limited <info@riverbankcomputing.co.uk>
#
-# 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.