diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:29:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:29:47 +0000 |
commit | 157db246622e300d8cfb4684c197ed873523e3e2 (patch) | |
tree | eaae500286d2b11f6625063f6d7f48c45392de5d /languages/cpp | |
parent | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (diff) | |
download | tdevelop-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')
39 files changed, 61 insertions, 61 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 { diff --git a/languages/cpp/ast_utils.h b/languages/cpp/ast_utils.h index 1a1c1813..7e6d44e3 100644 --- a/languages/cpp/ast_utils.h +++ b/languages/cpp/ast_utils.h @@ -17,7 +17,7 @@ class AST; class DeclaratorAST; class TypeSpecifierAST; -class QStringList; +class TQStringList; namespace KTextEditor { diff --git a/languages/cpp/ccconfigwidget.h b/languages/cpp/ccconfigwidget.h index 8dd8c9a3..ea6c6d4a 100644 --- a/languages/cpp/ccconfigwidget.h +++ b/languages/cpp/ccconfigwidget.h @@ -17,7 +17,7 @@ class CppSupportPart; class Catalog; -class QCheckListItem; +class TQCheckListItem; class KEditListBox; class CCConfigWidget : public CCConfigWidgetBase diff --git a/languages/cpp/cppcodecompletionconfig.h b/languages/cpp/cppcodecompletionconfig.h index 4fbf2d1b..75f0d570 100644 --- a/languages/cpp/cppcodecompletionconfig.h +++ b/languages/cpp/cppcodecompletionconfig.h @@ -16,7 +16,7 @@ #include <tqobject.h> class CppSupportPart; -class QDomDocument; +class TQDomDocument; /** diff --git a/languages/cpp/cppnewclassdlg.h b/languages/cpp/cppnewclassdlg.h index 18399d1c..fcff0bd0 100644 --- a/languages/cpp/cppnewclassdlg.h +++ b/languages/cpp/cppnewclassdlg.h @@ -25,7 +25,7 @@ class CppSupportPart; class KDevProject; -class QPopupMenu; +class TQPopupMenu; class KCompletion; class CodeModel; diff --git a/languages/cpp/cppsplitheadersourceconfig.h b/languages/cpp/cppsplitheadersourceconfig.h index 52be4297..20c0f94d 100644 --- a/languages/cpp/cppsplitheadersourceconfig.h +++ b/languages/cpp/cppsplitheadersourceconfig.h @@ -24,7 +24,7 @@ #include <tqobject.h> class CppSupportPart; -class QDomDocument; +class TQDomDocument; class CppSplitHeaderSourceConfig : public QObject { diff --git a/languages/cpp/cppsupportpart.h b/languages/cpp/cppsupportpart.h index fecfe2d1..00628c94 100644 --- a/languages/cpp/cppsupportpart.h +++ b/languages/cpp/cppsupportpart.h @@ -78,12 +78,12 @@ class QtBuildConfig; class ProblemReporter; class BackgroundParser; class Catalog; -class QLabel; -class QProgressBar; -class QStringList; -class QListViewItem; +class TQLabel; +class TQProgressBar; +class TQStringList; +class TQListViewItem; class TranslationUnitAST; -class QTimer; +class TQTimer; class KListView; class Driver; class KPopupMenu; diff --git a/languages/cpp/creategettersetterconfiguration.h b/languages/cpp/creategettersetterconfiguration.h index e89dd60b..38bbb72d 100644 --- a/languages/cpp/creategettersetterconfiguration.h +++ b/languages/cpp/creategettersetterconfiguration.h @@ -17,7 +17,7 @@ #include <tqstringlist.h> class CppSupportPart; -class QDomDocument; +class TQDomDocument; /** * Class containing the settings for the creation of get/set methods for class attributes. diff --git a/languages/cpp/debugger/dbgcontroller.h b/languages/cpp/debugger/dbgcontroller.h index 5085da79..7b161313 100644 --- a/languages/cpp/debugger/dbgcontroller.h +++ b/languages/cpp/debugger/dbgcontroller.h @@ -24,8 +24,8 @@ class KProcess; -class QString; -class QStrList; +class TQString; +class TQStrList; namespace GDBDebugger { diff --git a/languages/cpp/debugger/dbgpsdlg.h b/languages/cpp/debugger/dbgpsdlg.h index acc725bc..214e67a7 100644 --- a/languages/cpp/debugger/dbgpsdlg.h +++ b/languages/cpp/debugger/dbgpsdlg.h @@ -18,7 +18,7 @@ #include <kdialog.h> -class QListBox; +class TQListBox; class KProcess; class KListView; class KListViewSearchLineWidget; diff --git a/languages/cpp/debugger/debuggerpart.h b/languages/cpp/debugger/debuggerpart.h index c20b1f39..a217cfee 100644 --- a/languages/cpp/debugger/debuggerpart.h +++ b/languages/cpp/debugger/debuggerpart.h @@ -23,8 +23,8 @@ namespace KParts { class Part; } -class QLabel; -class QPopupMenu; +class TQLabel; +class TQPopupMenu; class KDialogBase; class ProcessWidget; class ProcessLineMaker; diff --git a/languages/cpp/debugger/gdbbreakpointwidget.h b/languages/cpp/debugger/gdbbreakpointwidget.h index 42d1286d..c0728dec 100644 --- a/languages/cpp/debugger/gdbbreakpointwidget.h +++ b/languages/cpp/debugger/gdbbreakpointwidget.h @@ -25,9 +25,9 @@ #include "mi/gdbmi.h" #include "gdbcontroller.h" -class QDomElement; -class QToolButton; -class QLabel; +class TQDomElement; +class TQToolButton; +class TQLabel; class KURL; /***************************************************************************/ diff --git a/languages/cpp/debugger/gdboutputwidget.h b/languages/cpp/debugger/gdboutputwidget.h index 0b14b599..e0ad9c39 100644 --- a/languages/cpp/debugger/gdboutputwidget.h +++ b/languages/cpp/debugger/gdboutputwidget.h @@ -25,9 +25,9 @@ class KHistoryCombo; -class QTextEdit; -class QToolButton; -class QDomElement; +class TQTextEdit; +class TQToolButton; +class TQDomElement; namespace GDBDebugger { diff --git a/languages/cpp/debugger/memviewdlg.h b/languages/cpp/debugger/memviewdlg.h index 7008fb48..4febe14a 100644 --- a/languages/cpp/debugger/memviewdlg.h +++ b/languages/cpp/debugger/memviewdlg.h @@ -23,8 +23,8 @@ #include <tqvaluevector.h> class KLineEdit; -class QMultiLineEdit; -class QToolBox; +class TQMultiLineEdit; +class TQToolBox; namespace GDBDebugger { diff --git a/languages/cpp/debugger/stty.h b/languages/cpp/debugger/stty.h index 7c026251..9cacf50f 100644 --- a/languages/cpp/debugger/stty.h +++ b/languages/cpp/debugger/stty.h @@ -25,7 +25,7 @@ #ifndef _STTY_H_ #define _STTY_H_ -class QSocketNotifier; +class TQSocketNotifier; #include <tqobject.h> #include <tqstring.h> diff --git a/languages/cpp/problemreporter.h b/languages/cpp/problemreporter.h index 2d5741f4..fc25523e 100644 --- a/languages/cpp/problemreporter.h +++ b/languages/cpp/problemreporter.h @@ -28,10 +28,10 @@ #include "hashedstring.h" class CppSupportPart; -class QTimer; -class QTabBar; -class QWidgetStack; -class QGridLayout; +class TQTimer; +class TQTabBar; +class TQWidgetStack; +class TQGridLayout; class KDialogBase; class Problem; class KURL; diff --git a/languages/cpp/qtbuildconfig.h b/languages/cpp/qtbuildconfig.h index d9790111..193f582d 100644 --- a/languages/cpp/qtbuildconfig.h +++ b/languages/cpp/qtbuildconfig.h @@ -22,7 +22,7 @@ #include <tqstringlist.h> class CppSupportPart; -class QDomDocument; +class TQDomDocument; /** @brief The QtBuildConfig class stores all parameters related to the used Qt library diff --git a/languages/cpp/subclassingdlg.h b/languages/cpp/subclassingdlg.h index 2e2e9e95..c49ad683 100644 --- a/languages/cpp/subclassingdlg.h +++ b/languages/cpp/subclassingdlg.h @@ -16,8 +16,8 @@ #include "subclassingdlgbase.h" -class QStringList; -class QDomDocument; +class TQStringList; +class TQDomDocument; class CppSupportPart; class SlotItem : public QCheckListItem |