summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:29:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:29:47 +0000
commit157db246622e300d8cfb4684c197ed873523e3e2 (patch)
treeeaae500286d2b11f6625063f6d7f48c45392de5d /languages/cpp/app_templates
parentd6f8bbb45b267065a6907e71ff9c98bb6d161241 (diff)
downloadtdevelop-157db246622e300d8cfb4684c197ed873523e3e2.tar.gz
tdevelop-157db246622e300d8cfb4684c197ed873523e3e2.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1158455 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates')
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp2
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h2
-rw-r--r--languages/cpp/app_templates/kapp/appview.h2
-rw-r--r--languages/cpp/app_templates/kconfig35/appview.h2
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.cpp2
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4view.h2
-rw-r--r--languages/cpp/app_templates/kdevpart/kdevpart_part.h2
-rw-r--r--languages/cpp/app_templates/kdevpart2/kdevpart_part.h2
-rw-r--r--languages/cpp/app_templates/kfileplugin/kfile_plugin.h2
-rw-r--r--languages/cpp/app_templates/kioslave/slave.h2
-rw-r--r--languages/cpp/app_templates/kofficepart/kopart_view.h2
-rw-r--r--languages/cpp/app_templates/kpartapp/app_part.h6
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/app_part.h6
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/appkmdi.h2
-rw-r--r--languages/cpp/app_templates/kscons_kxt/appview.h2
-rw-r--r--languages/cpp/app_templates/kxt/appview.h2
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.h4
-rw-r--r--languages/cpp/app_templates/opieinput/simpleimpl.h4
-rw-r--r--languages/cpp/app_templates/qmakeapp/qmakeapp.cpp2
-rw-r--r--languages/cpp/app_templates/qmakeapp/qmakeapp.h2
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp2
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.h4
22 files changed, 29 insertions, 29 deletions
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
index 973aee2c..f3c5f7f2 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
@@ -28,7 +28,7 @@
%{APPNAME}::%{APPNAME}()
: TQMainWindow( 0, "%{APPNAME}", WDestructiveClose )
{
- printer = new QPrinter;
+ printer = new TQPrinter;
TQPixmap openIcon, saveIcon, printIcon;
TQToolBar * fileTools = new TQToolBar( this, "file operations" );
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
index 48bf459a..af12e1eb 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
@@ -5,7 +5,7 @@
#include <tqmainwindow.h>
-class QTextEdit;
+class TQTextEdit;
class %{APPNAME}: public QMainWindow
{
diff --git a/languages/cpp/app_templates/kapp/appview.h b/languages/cpp/app_templates/kapp/appview.h
index 236749bc..a4f0b2e6 100644
--- a/languages/cpp/app_templates/kapp/appview.h
+++ b/languages/cpp/app_templates/kapp/appview.h
@@ -7,7 +7,7 @@
#include <kparts/part.h>
#include <%{APPNAMELC}iface.h>
-class QPainter;
+class TQPainter;
class KURL;
/**
diff --git a/languages/cpp/app_templates/kconfig35/appview.h b/languages/cpp/app_templates/kconfig35/appview.h
index 5b69ae24..e0738ebe 100644
--- a/languages/cpp/app_templates/kconfig35/appview.h
+++ b/languages/cpp/app_templates/kconfig35/appview.h
@@ -7,7 +7,7 @@
#include "%{APPNAMELC}view_base.h"
-class QPainter;
+class TQPainter;
class KURL;
/**
diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp
index b8849a58..b73c02cb 100644
--- a/languages/cpp/app_templates/kde4app/kapp4.cpp
+++ b/languages/cpp/app_templates/kde4app/kapp4.cpp
@@ -79,7 +79,7 @@ void %{APPNAME}::optionsPreferences()
return;
}
KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self());
- TQWidget *generalSettingsDlg = new QWidget;
+ TQWidget *generalSettingsDlg = new TQWidget;
ui_prefs_base.setupUi(generalSettingsDlg);
dialog->addPage(generalSettingsDlg, i18n("General"), "package_setting");
connect(dialog, TQT_SIGNAL(settingsChanged(TQString)), m_view, TQT_SLOT(settingsChanged()));
diff --git a/languages/cpp/app_templates/kde4app/kapp4view.h b/languages/cpp/app_templates/kde4app/kapp4view.h
index 9572b914..40749696 100644
--- a/languages/cpp/app_templates/kde4app/kapp4view.h
+++ b/languages/cpp/app_templates/kde4app/kapp4view.h
@@ -6,7 +6,7 @@
#include "ui_%{APPNAMELC}view_base.h"
-class QPainter;
+class TQPainter;
class KUrl;
/**
diff --git a/languages/cpp/app_templates/kdevpart/kdevpart_part.h b/languages/cpp/app_templates/kdevpart/kdevpart_part.h
index 246e539d..b73e61da 100644
--- a/languages/cpp/app_templates/kdevpart/kdevpart_part.h
+++ b/languages/cpp/app_templates/kdevpart/kdevpart_part.h
@@ -6,7 +6,7 @@
#include <tqguardedptr.h>
-class QPopupMenu;
+class TQPopupMenu;
class KAction;
class KDialogBase;
class Context;
diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h
index 246e539d..b73e61da 100644
--- a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h
+++ b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h
@@ -6,7 +6,7 @@
#include <tqguardedptr.h>
-class QPopupMenu;
+class TQPopupMenu;
class KAction;
class KDialogBase;
class Context;
diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h
index 8a0355f1..94776938 100644
--- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h
+++ b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h
@@ -8,7 +8,7 @@
*/
#include <kfilemetainfo.h>
-class QStringList;
+class TQStringList;
class %{APPNAME}Plugin: public KFilePlugin
{
diff --git a/languages/cpp/app_templates/kioslave/slave.h b/languages/cpp/app_templates/kioslave/slave.h
index d094a23a..bdfef93c 100644
--- a/languages/cpp/app_templates/kioslave/slave.h
+++ b/languages/cpp/app_templates/kioslave/slave.h
@@ -9,7 +9,7 @@
#include <kio/global.h>
#include <kio/slavebase.h>
-class QCString;
+class TQCString;
class kio_%{APPNAMELC}Protocol : public KIO::SlaveBase
{
diff --git a/languages/cpp/app_templates/kofficepart/kopart_view.h b/languages/cpp/app_templates/kofficepart/kopart_view.h
index bab3d89e..63f5127b 100644
--- a/languages/cpp/app_templates/kofficepart/kopart_view.h
+++ b/languages/cpp/app_templates/kofficepart/kopart_view.h
@@ -9,7 +9,7 @@
#include <koView.h>
class KAction;
-class QPaintEvent;
+class TQPaintEvent;
class %{APPNAME}Part;
diff --git a/languages/cpp/app_templates/kpartapp/app_part.h b/languages/cpp/app_templates/kpartapp/app_part.h
index 6b56c36a..1ebc7825 100644
--- a/languages/cpp/app_templates/kpartapp/app_part.h
+++ b/languages/cpp/app_templates/kpartapp/app_part.h
@@ -5,10 +5,10 @@
#include <kparts/part.h>
#include <kparts/factory.h>
-class QWidget;
-class QPainter;
+class TQWidget;
+class TQPainter;
class KURL;
-class QMultiLineEdit;
+class TQMultiLineEdit;
/**
* This is a "Part". It that does all the real work in a KPart
diff --git a/languages/cpp/app_templates/kscons_kmdi/app_part.h b/languages/cpp/app_templates/kscons_kmdi/app_part.h
index 2d4ea947..3fa9beb5 100644
--- a/languages/cpp/app_templates/kscons_kmdi/app_part.h
+++ b/languages/cpp/app_templates/kscons_kmdi/app_part.h
@@ -6,9 +6,9 @@
#include <kparts/part.h>
#include <kparts/factory.h>
-class QMultiLineEdit;
-class QWidget;
-class QPainter;
+class TQMultiLineEdit;
+class TQWidget;
+class TQPainter;
class KURL;
class KAboutData;
diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdi.h b/languages/cpp/app_templates/kscons_kmdi/appkmdi.h
index 8ff90205..8e80ab29 100644
--- a/languages/cpp/app_templates/kscons_kmdi/appkmdi.h
+++ b/languages/cpp/app_templates/kscons_kmdi/appkmdi.h
@@ -14,7 +14,7 @@ class KRecentFilesAction;
class kmdikonsole;
class KMdiChildView;
-class QWidgetStack;
+class TQWidgetStack;
class %{APPNAMELC}kmdiView;
class TextProperties;
class MiscProperties;
diff --git a/languages/cpp/app_templates/kscons_kxt/appview.h b/languages/cpp/app_templates/kscons_kxt/appview.h
index 96f0845f..8cd02bef 100644
--- a/languages/cpp/app_templates/kscons_kxt/appview.h
+++ b/languages/cpp/app_templates/kscons_kxt/appview.h
@@ -7,7 +7,7 @@
#include "%{APPNAMELC}view_base.h"
-class QPainter;
+class TQPainter;
class KURL;
/**
diff --git a/languages/cpp/app_templates/kxt/appview.h b/languages/cpp/app_templates/kxt/appview.h
index 5b69ae24..e0738ebe 100644
--- a/languages/cpp/app_templates/kxt/appview.h
+++ b/languages/cpp/app_templates/kxt/appview.h
@@ -7,7 +7,7 @@
#include "%{APPNAMELC}view_base.h"
-class QPainter;
+class TQPainter;
class KURL;
/**
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.h b/languages/cpp/app_templates/noatunui/plugin_impl.h
index e918f925..476530f2 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.h
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.h
@@ -13,8 +13,8 @@
#include <noatun/pref.h>
class Player;
-class QSlider;
-class QPushButton;
+class TQSlider;
+class TQPushButton;
class KStatusBar;
/**
diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.h b/languages/cpp/app_templates/opieinput/simpleimpl.h
index 17972b29..6d7033f0 100644
--- a/languages/cpp/app_templates/opieinput/simpleimpl.h
+++ b/languages/cpp/app_templates/opieinput/simpleimpl.h
@@ -5,8 +5,8 @@
#include <qpe/inputmethodinterface.h>
-class QPixmap;
-class QCheckBox;
+class TQPixmap;
+class TQCheckBox;
class %{APPNAME} : public TQHBox {
Q_OBJECT
public:
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
index 973aee2c..f3c5f7f2 100644
--- a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
+++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
@@ -28,7 +28,7 @@
%{APPNAME}::%{APPNAME}()
: TQMainWindow( 0, "%{APPNAME}", WDestructiveClose )
{
- printer = new QPrinter;
+ printer = new TQPrinter;
TQPixmap openIcon, saveIcon, printIcon;
TQToolBar * fileTools = new TQToolBar( this, "file operations" );
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.h b/languages/cpp/app_templates/qmakeapp/qmakeapp.h
index 48bf459a..af12e1eb 100644
--- a/languages/cpp/app_templates/qmakeapp/qmakeapp.h
+++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.h
@@ -5,7 +5,7 @@
#include <tqmainwindow.h>
-class QTextEdit;
+class TQTextEdit;
class %{APPNAME}: public QMainWindow
{
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
index 11bcf85f..cdf18174 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
@@ -10,7 +10,7 @@
%{APPNAME}::%{APPNAME}()
{
- textEdit = new QTextEdit;
+ textEdit = new TQTextEdit;
setCentralWidget(textEdit);
createActions();
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
index 8140766b..14a40d99 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
@@ -6,9 +6,9 @@
#include <TQMainWindow>
#include <TQCloseEvent>
-class QAction;
+class TQAction;
class QMenu;
-class QTextEdit;
+class TQTextEdit;
class %{APPNAME}:public QMainWindow
{