summaryrefslogtreecommitdiffstats
path: root/kdevdesigner
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 /kdevdesigner
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 'kdevdesigner')
-rw-r--r--kdevdesigner/designer/actiondnd.h2
-rw-r--r--kdevdesigner/designer/actioneditorimpl.h2
-rw-r--r--kdevdesigner/designer/command.h20
-rw-r--r--kdevdesigner/designer/customwidgeteditorimpl.h4
-rw-r--r--kdevdesigner/designer/database.h4
-rw-r--r--kdevdesigner/designer/dbconnectionimpl.h2
-rw-r--r--kdevdesigner/designer/designerapp.h2
-rw-r--r--kdevdesigner/designer/designerappiface.h2
-rw-r--r--kdevdesigner/designer/editfunctionsimpl.h2
-rw-r--r--kdevdesigner/designer/filechooser.h4
-rw-r--r--kdevdesigner/designer/formwindow.cpp2
-rw-r--r--kdevdesigner/designer/formwindow.h22
-rw-r--r--kdevdesigner/designer/hierarchyview.h10
-rw-r--r--kdevdesigner/designer/kdevdesigner_part.h6
-rw-r--r--kdevdesigner/designer/layout.h2
-rw-r--r--kdevdesigner/designer/listboxeditorimpl.h2
-rw-r--r--kdevdesigner/designer/listboxrename.h2
-rw-r--r--kdevdesigner/designer/listviewdnd.h4
-rw-r--r--kdevdesigner/designer/mainwindow.h14
-rw-r--r--kdevdesigner/designer/menubareditor.h4
-rw-r--r--kdevdesigner/designer/metadatabase.h4
-rw-r--r--kdevdesigner/designer/multilineeditorimpl.h2
-rw-r--r--kdevdesigner/designer/outputwindow.h4
-rw-r--r--kdevdesigner/designer/pixmapcollection.h2
-rw-r--r--kdevdesigner/designer/popupmenueditor.h4
-rw-r--r--kdevdesigner/designer/project.cpp2
-rw-r--r--kdevdesigner/designer/project.h4
-rw-r--r--kdevdesigner/designer/projectsettingsimpl.h2
-rw-r--r--kdevdesigner/designer/propertyeditor.cpp4
-rw-r--r--kdevdesigner/designer/propertyeditor.h20
-rw-r--r--kdevdesigner/designer/qcompletionedit.h4
-rw-r--r--kdevdesigner/designer/resource.h16
-rw-r--r--kdevdesigner/designer/sizehandle.h4
-rw-r--r--kdevdesigner/designer/sourceeditor.h2
-rw-r--r--kdevdesigner/designer/styledbutton.h4
-rw-r--r--kdevdesigner/designer/tableeditorimpl.h4
-rw-r--r--kdevdesigner/designer/timestamp.cpp2
-rw-r--r--kdevdesigner/designer/variabledialogimpl.h2
-rw-r--r--kdevdesigner/designer/widgetfactory.h4
-rw-r--r--kdevdesigner/designer/wizardeditorimpl.h2
-rw-r--r--kdevdesigner/designer/workspace.h10
-rw-r--r--kdevdesigner/interfaces/actioninterface.h4
-rw-r--r--kdevdesigner/interfaces/classbrowserinterface.h2
-rw-r--r--kdevdesigner/interfaces/designerinterface.h12
-rw-r--r--kdevdesigner/interfaces/editorinterface.h6
-rw-r--r--kdevdesigner/interfaces/interpreterinterface.h2
-rw-r--r--kdevdesigner/interfaces/templatewizardiface.h2
-rw-r--r--kdevdesigner/shared/domtool.h4
-rw-r--r--kdevdesigner/shared/ui2uib.cpp2
-rw-r--r--kdevdesigner/shared/ui2uib.h4
-rw-r--r--kdevdesigner/shared/widgetdatabase.cpp4
-rw-r--r--kdevdesigner/uilib/database2.h4
-rw-r--r--kdevdesigner/uilib/qwidgetfactory.cpp4
-rw-r--r--kdevdesigner/uilib/qwidgetfactory.h16
54 files changed, 140 insertions, 140 deletions
diff --git a/kdevdesigner/designer/actiondnd.h b/kdevdesigner/designer/actiondnd.h
index 5d189f7c..23c461aa 100644
--- a/kdevdesigner/designer/actiondnd.h
+++ b/kdevdesigner/designer/actiondnd.h
@@ -41,7 +41,7 @@
//class QDesignerPopupMenu;
class QDesignerIndicatorWidget;
class FormWindow;
-class QPopupMenu;
+class TQPopupMenu;
class QDesignerIndicatorWidget : public QWidget
{
diff --git a/kdevdesigner/designer/actioneditorimpl.h b/kdevdesigner/designer/actioneditorimpl.h
index e510f38c..1af748e9 100644
--- a/kdevdesigner/designer/actioneditorimpl.h
+++ b/kdevdesigner/designer/actioneditorimpl.h
@@ -29,7 +29,7 @@
#include "actioneditor.h"
-class QAction;
+class TQAction;
class FormWindow;
class ActionItem;
diff --git a/kdevdesigner/designer/command.h b/kdevdesigner/designer/command.h
index 5aa1764f..0279dc50 100644
--- a/kdevdesigner/designer/command.h
+++ b/kdevdesigner/designer/command.h
@@ -40,21 +40,21 @@
#include <tqmap.h>
#include <tqiconset.h>
-class QWizard;
-class QTabWidget;
+class TQWizard;
+class TQTabWidget;
class Command;
-class QWidget;
+class TQWidget;
class FormWindow;
class PropertyEditor;
-class QListBox;
-class QIconView;
-class QTable;
-class QAction;
+class TQListBox;
+class TQIconView;
+class TQTable;
+class TQAction;
class QDesignerToolBar;
-class QMainWindow;
-class QTextEdit;
+class TQMainWindow;
+class TQTextEdit;
struct LanguageInterface;
-class QToolBox;
+class TQToolBox;
class MenuBarEditor;
class MenuBarEditorItem;
diff --git a/kdevdesigner/designer/customwidgeteditorimpl.h b/kdevdesigner/designer/customwidgeteditorimpl.h
index 6bf06d18..8386ae2f 100644
--- a/kdevdesigner/designer/customwidgeteditorimpl.h
+++ b/kdevdesigner/designer/customwidgeteditorimpl.h
@@ -33,8 +33,8 @@
#include <tqmap.h>
#include <tqobjectlist.h>
-class QTimer;
-class QListBoxItem;
+class TQTimer;
+class TQListBoxItem;
class MainWindow;
class CustomWidgetEditor : public CustomWidgetEditorBase
diff --git a/kdevdesigner/designer/database.h b/kdevdesigner/designer/database.h
index 600018ed..0de0ad3f 100644
--- a/kdevdesigner/designer/database.h
+++ b/kdevdesigner/designer/database.h
@@ -35,8 +35,8 @@
#include <tqsqlcursor.h>
#include <tqstring.h>
-class QSqlDatabase;
-class QSqlForm;
+class TQSqlDatabase;
+class TQSqlForm;
class DatabaseSupport
{
diff --git a/kdevdesigner/designer/dbconnectionimpl.h b/kdevdesigner/designer/dbconnectionimpl.h
index f85b978e..b6055109 100644
--- a/kdevdesigner/designer/dbconnectionimpl.h
+++ b/kdevdesigner/designer/dbconnectionimpl.h
@@ -31,7 +31,7 @@
class DatabaseConnection;
class DatabaseConnectionWidget;
-class QGridLayout;
+class TQGridLayout;
class DatabaseConnectionEditor : public DatabaseConnectionEditorBase
{
diff --git a/kdevdesigner/designer/designerapp.h b/kdevdesigner/designer/designerapp.h
index 3284bb91..66201471 100644
--- a/kdevdesigner/designer/designerapp.h
+++ b/kdevdesigner/designer/designerapp.h
@@ -27,7 +27,7 @@
#ifndef DESIGNERAPP_H
#define DESIGNERAPP_H
-class QSplashScreen;
+class TQSplashScreen;
#include <tqapplication.h>
diff --git a/kdevdesigner/designer/designerappiface.h b/kdevdesigner/designer/designerappiface.h
index 8566ac8e..4e14da4e 100644
--- a/kdevdesigner/designer/designerappiface.h
+++ b/kdevdesigner/designer/designerappiface.h
@@ -119,7 +119,7 @@ private:
};
#ifndef QT_NO_SQL
-class QSqlDatabase;
+class TQSqlDatabase;
class DesignerDatabaseImpl: public DesignerDatabase
{
diff --git a/kdevdesigner/designer/editfunctionsimpl.h b/kdevdesigner/designer/editfunctionsimpl.h
index f068c9dc..27d1523e 100644
--- a/kdevdesigner/designer/editfunctionsimpl.h
+++ b/kdevdesigner/designer/editfunctionsimpl.h
@@ -33,7 +33,7 @@
#include <tqmap.h>
class FormWindow;
-class QListViewItem;
+class TQListViewItem;
class EditFunctions : public EditFunctionsBase
{
diff --git a/kdevdesigner/designer/filechooser.h b/kdevdesigner/designer/filechooser.h
index 552b645c..cd511765 100644
--- a/kdevdesigner/designer/filechooser.h
+++ b/kdevdesigner/designer/filechooser.h
@@ -29,8 +29,8 @@
#include <tqwidget.h>
-class QLineEdit;
-class QPushButton;
+class TQLineEdit;
+class TQPushButton;
class FileChooser : public QWidget
{
diff --git a/kdevdesigner/designer/formwindow.cpp b/kdevdesigner/designer/formwindow.cpp
index 9c90e383..1c404d91 100644
--- a/kdevdesigner/designer/formwindow.cpp
+++ b/kdevdesigner/designer/formwindow.cpp
@@ -288,7 +288,7 @@ void FormWindow::beginUnclippedPainter( bool doNot )
endUnclippedPainter();
bool unclipped = testWFlags( WPaintUnclipped );
setWFlags( WPaintUnclipped );
- unclippedPainter = new QPainter;
+ unclippedPainter = new TQPainter;
unclippedPainter->begin( this );
if ( !unclipped )
clearWFlags( WPaintUnclipped );
diff --git a/kdevdesigner/designer/formwindow.h b/kdevdesigner/designer/formwindow.h
index 6a27961a..c241621b 100644
--- a/kdevdesigner/designer/formwindow.h
+++ b/kdevdesigner/designer/formwindow.h
@@ -38,20 +38,20 @@
#include <tqwidgetlist.h>
#include <tqmap.h>
-class QPaintEvent;
-class QMouseEvent;
-class QKeyEvent;
-class QPainter;
-class QLabel;
+class TQPaintEvent;
+class TQMouseEvent;
+class TQKeyEvent;
+class TQPainter;
+class TQLabel;
class MainWindow;
-class QTimer;
-class QFocusEvent;
-class QCloseEvent;
+class TQTimer;
+class TQFocusEvent;
+class TQCloseEvent;
class Resource;
-class QResizeEvent;
+class TQResizeEvent;
class BreakLayoutCommand;
-class QPixmap;
-class QSizeGrip;
+class TQPixmap;
+class TQSizeGrip;
class Project;
struct DesignerFormWindow;
class FormFile;
diff --git a/kdevdesigner/designer/hierarchyview.h b/kdevdesigner/designer/hierarchyview.h
index cb75178e..7405ef3a 100644
--- a/kdevdesigner/designer/hierarchyview.h
+++ b/kdevdesigner/designer/hierarchyview.h
@@ -35,11 +35,11 @@
#include "../interfaces/classbrowserinterface.h"
class FormWindow;
-class QCloseEvent;
-class QPopupMenu;
-class QKeyEvent;
-class QMouseEvent;
-class QWizard;
+class TQCloseEvent;
+class TQPopupMenu;
+class TQKeyEvent;
+class TQMouseEvent;
+class TQWizard;
class SourceEditor;
class HierarchyItem : public QListViewItem
diff --git a/kdevdesigner/designer/kdevdesigner_part.h b/kdevdesigner/designer/kdevdesigner_part.h
index b85f0b0b..f33969ef 100644
--- a/kdevdesigner/designer/kdevdesigner_part.h
+++ b/kdevdesigner/designer/kdevdesigner_part.h
@@ -28,12 +28,12 @@
#include "designer.h"
-class QWidget;
-class QPainter;
+class TQWidget;
+class TQPainter;
class KURL;
class MainWindow;
class KAction;
-class QAction;
+class TQAction;
class KRadioAction;
class KDevDesignerPart : public KInterfaceDesigner::Designer
diff --git a/kdevdesigner/designer/layout.h b/kdevdesigner/designer/layout.h
index 138c4421..23fff02b 100644
--- a/kdevdesigner/designer/layout.h
+++ b/kdevdesigner/designer/layout.h
@@ -36,7 +36,7 @@
#include <tqwidgetlist.h>
class FormWindow;
-class QPaintEvent;
+class TQPaintEvent;
class Layout : public QObject
{
diff --git a/kdevdesigner/designer/listboxeditorimpl.h b/kdevdesigner/designer/listboxeditorimpl.h
index 22ae5d5c..960108fa 100644
--- a/kdevdesigner/designer/listboxeditorimpl.h
+++ b/kdevdesigner/designer/listboxeditorimpl.h
@@ -27,7 +27,7 @@
#ifndef LISTBOXEDITORIMPL_H
#define LISTBOXEDITORIMPL_H
-class QListBox;
+class TQListBox;
class FormWindow;
#include "listboxeditor.h"
diff --git a/kdevdesigner/designer/listboxrename.h b/kdevdesigner/designer/listboxrename.h
index 995389e5..01f4f2e5 100644
--- a/kdevdesigner/designer/listboxrename.h
+++ b/kdevdesigner/designer/listboxrename.h
@@ -30,7 +30,7 @@
#include <tqobject.h>
#include <tqlistbox.h>
-class QLineEdit;
+class TQLineEdit;
class ListBoxRename : public QObject
{
diff --git a/kdevdesigner/designer/listviewdnd.h b/kdevdesigner/designer/listviewdnd.h
index 9de07af9..c564326c 100644
--- a/kdevdesigner/designer/listviewdnd.h
+++ b/kdevdesigner/designer/listviewdnd.h
@@ -31,8 +31,8 @@
#include <tqlistview.h>
#include "listdnd.h"
-class QWidget;
-class QListView;
+class TQWidget;
+class TQListView;
typedef TQPtrList<TQListViewItem> ListViewItemList;
class ListViewDnd : public ListDnd
diff --git a/kdevdesigner/designer/mainwindow.h b/kdevdesigner/designer/mainwindow.h
index 1720229e..a5db52df 100644
--- a/kdevdesigner/designer/mainwindow.h
+++ b/kdevdesigner/designer/mainwindow.h
@@ -46,19 +46,19 @@
#include <private/qpluginmanager_p.h>
#include <tqobjectlist.h>
-class QToolBox;
+class TQToolBox;
class PropertyEditor;
-class QWorkspace;
-class QMenuBar;
+class TQWorkspace;
+class TQMenuBar;
class FormWindow;
-class QPopupMenu;
+class TQPopupMenu;
class HierarchyView;
-class QCloseEvent;
+class TQCloseEvent;
class Workspace;
class ActionEditor;
class Project;
class OutputWindow;
-class QTimer;
+class TQTimer;
class FindDialog;
struct DesignerProject;
class ReplaceDialog;
@@ -71,7 +71,7 @@ class DesignerAction;
#if defined(Q_FULL_TEMPLATE_INSTANTIATION)
#include <tqtoolbar.h>
#else
-class QToolBar;
+class TQToolBar;
#endif
class Preferences;
diff --git a/kdevdesigner/designer/menubareditor.h b/kdevdesigner/designer/menubareditor.h
index 699420c3..6dbf86f2 100644
--- a/kdevdesigner/designer/menubareditor.h
+++ b/kdevdesigner/designer/menubareditor.h
@@ -32,7 +32,7 @@
class PopupMenuEditor;
class MenuBarEditor;
-class QActionGroup;
+class TQActionGroup;
class MenuBarEditorItem : public QObject
{
@@ -75,7 +75,7 @@ private:
uint removable : 1;
};
-class QLineEdit;
+class TQLineEdit;
class FormWindow;
class MenuBarEditor : public QMenuBar
diff --git a/kdevdesigner/designer/metadatabase.h b/kdevdesigner/designer/metadatabase.h
index 6ded68d6..0dbe5dee 100644
--- a/kdevdesigner/designer/metadatabase.h
+++ b/kdevdesigner/designer/metadatabase.h
@@ -40,8 +40,8 @@
#include "pixmapchooser.h"
#include "../interfaces/languageinterface.h"
-class QObject;
-class QPixmap;
+class TQObject;
+class TQPixmap;
struct LanguageInterface;
class MetaDataBase
diff --git a/kdevdesigner/designer/multilineeditorimpl.h b/kdevdesigner/designer/multilineeditorimpl.h
index 89a22db2..4df9ddbc 100644
--- a/kdevdesigner/designer/multilineeditorimpl.h
+++ b/kdevdesigner/designer/multilineeditorimpl.h
@@ -33,7 +33,7 @@
#include "multilineeditor.h"
class FormWindow;
-class QToolBar;
+class TQToolBar;
class QTextDocument;
class TextEdit : public QTextEdit
diff --git a/kdevdesigner/designer/outputwindow.h b/kdevdesigner/designer/outputwindow.h
index c1f196c5..6e9ed4a1 100644
--- a/kdevdesigner/designer/outputwindow.h
+++ b/kdevdesigner/designer/outputwindow.h
@@ -33,8 +33,8 @@
#include <tqlistview.h>
struct DesignerOutputDock;
-class QTextEdit;
-class QListView;
+class TQTextEdit;
+class TQListView;
class ErrorItem : public QListViewItem
{
diff --git a/kdevdesigner/designer/pixmapcollection.h b/kdevdesigner/designer/pixmapcollection.h
index 6993c146..3fb12a36 100644
--- a/kdevdesigner/designer/pixmapcollection.h
+++ b/kdevdesigner/designer/pixmapcollection.h
@@ -32,7 +32,7 @@
#include <tqvaluelist.h>
#include "designerappiface.h"
-class QMimeSourceFactory;
+class TQMimeSourceFactory;
class Project;
class PixmapCollection
diff --git a/kdevdesigner/designer/popupmenueditor.h b/kdevdesigner/designer/popupmenueditor.h
index 8adc0d68..8c024e34 100644
--- a/kdevdesigner/designer/popupmenueditor.h
+++ b/kdevdesigner/designer/popupmenueditor.h
@@ -32,7 +32,7 @@
#include <tqaction.h>
class PopupMenuEditor;
-class QMenuItem;
+class TQMenuItem;
class PopupMenuEditorItem : public QObject
{
@@ -93,7 +93,7 @@ private:
class FormWindow;
class MainWindow;
-class QLineEdit;
+class TQLineEdit;
#include <tqpopupmenu.h>
diff --git a/kdevdesigner/designer/project.cpp b/kdevdesigner/designer/project.cpp
index 0ab960ea..a1ecfd3d 100644
--- a/kdevdesigner/designer/project.cpp
+++ b/kdevdesigner/designer/project.cpp
@@ -1059,7 +1059,7 @@ void Project::closeDatabase( const TQString &connection )
TQObjectList *Project::formList( bool resolveFakeObjects ) const
{
- TQObjectList *l = new QObjectList;
+ TQObjectList *l = new TQObjectList;
for ( TQPtrListIterator<FormFile> forms(formfiles); forms.current(); ++forms ) {
FormFile* f = forms.current();
if ( f->formWindow() ) {
diff --git a/kdevdesigner/designer/project.h b/kdevdesigner/designer/project.h
index fb447218..25ec499d 100644
--- a/kdevdesigner/designer/project.h
+++ b/kdevdesigner/designer/project.h
@@ -41,14 +41,14 @@
#include <tqptrdict.h>
#include "formfile.h"
-class QObjectList;
+class TQObjectList;
struct DesignerProject;
struct DesignerDatabase;
class PixmapCollection;
class Project;
#ifndef QT_NO_SQL
-class QSqlDatabase;
+class TQSqlDatabase;
class DatabaseConnection
{
diff --git a/kdevdesigner/designer/projectsettingsimpl.h b/kdevdesigner/designer/projectsettingsimpl.h
index ee5c6c72..bce8a1b9 100644
--- a/kdevdesigner/designer/projectsettingsimpl.h
+++ b/kdevdesigner/designer/projectsettingsimpl.h
@@ -30,7 +30,7 @@
#include "projectsettings.h"
class Project;
-class QListViewItem;
+class TQListViewItem;
class FormWindow;
class SourceFile;
diff --git a/kdevdesigner/designer/propertyeditor.cpp b/kdevdesigner/designer/propertyeditor.cpp
index 7ec9cc9b..c7a5d3ae 100644
--- a/kdevdesigner/designer/propertyeditor.cpp
+++ b/kdevdesigner/designer/propertyeditor.cpp
@@ -100,7 +100,7 @@ static void setupStyle(TQWidget *w)
{
static TQStyle *windowsStyle = 0;
if(!windowsStyle)
- windowsStyle = new QWindowsStyle;
+ windowsStyle = new TQWindowsStyle;
w->setStyle(windowsStyle);
}
#else
@@ -116,7 +116,7 @@ static void cleanupFontDatabase()
static TQStringList getFontList()
{
if ( !fontDataBase ) {
- fontDataBase = new QFontDatabase;
+ fontDataBase = new TQFontDatabase;
qAddPostRoutine( cleanupFontDatabase );
}
return fontDataBase->families();
diff --git a/kdevdesigner/designer/propertyeditor.h b/kdevdesigner/designer/propertyeditor.h
index ff9987a5..17673086 100644
--- a/kdevdesigner/designer/propertyeditor.h
+++ b/kdevdesigner/designer/propertyeditor.h
@@ -43,17 +43,17 @@
class PropertyList;
class PropertyEditor;
-class QPainter;
-class QColorGroup;
-class QLineEdit;
-class QPushButton;
-class QHBox;
-class QSpinBox;
-class QLabel;
-class QFrame;
+class TQPainter;
+class TQColorGroup;
+class TQLineEdit;
+class TQPushButton;
+class TQHBox;
+class TQSpinBox;
+class TQLabel;
+class TQFrame;
class FormWindow;
-class QCloseEvent;
-class QResizeEvent;
+class TQCloseEvent;
+class TQResizeEvent;
class PropertyWhatsThis;
class QDateEdit;
class QTimeEdit;
diff --git a/kdevdesigner/designer/qcompletionedit.h b/kdevdesigner/designer/qcompletionedit.h
index 2e55854d..e2044435 100644
--- a/kdevdesigner/designer/qcompletionedit.h
+++ b/kdevdesigner/designer/qcompletionedit.h
@@ -30,8 +30,8 @@
#include <tqlineedit.h>
#include <tqstringlist.h>
-class QListBox;
-class QVBox;
+class TQListBox;
+class TQVBox;
class QCompletionEdit : public QLineEdit
{
diff --git a/kdevdesigner/designer/resource.h b/kdevdesigner/designer/resource.h
index aa0cf295..4d448644 100644
--- a/kdevdesigner/designer/resource.h
+++ b/kdevdesigner/designer/resource.h
@@ -36,17 +36,17 @@
#include "metadatabase.h"
-class QWidget;
-class QObject;
-class QLayout;
-class QStyle;
-class QPalette;
+class TQWidget;
+class TQObject;
+class TQLayout;
+class TQStyle;
+class TQPalette;
class FormWindow;
class MainWindow;
-class QDomElement;
+class TQDomElement;
class QDesignerGridLayout;
-class QListViewItem;
-class QMainWindow;
+class TQListViewItem;
+class TQMainWindow;
struct LanguageInterface;
class FormFile;
class Project;
diff --git a/kdevdesigner/designer/sizehandle.h b/kdevdesigner/designer/sizehandle.h
index 0603f1b2..0e5f1a9e 100644
--- a/kdevdesigner/designer/sizehandle.h
+++ b/kdevdesigner/designer/sizehandle.h
@@ -31,10 +31,10 @@
#include <tqintdict.h>
#include <tqptrdict.h>
-class QMouseEvent;
+class TQMouseEvent;
class FormWindow;
class WidgetSelection;
-class QPaintEvent;
+class TQPaintEvent;
class SizeHandle : public QWidget
{
diff --git a/kdevdesigner/designer/sourceeditor.h b/kdevdesigner/designer/sourceeditor.h
index 4873f5f1..3383da24 100644
--- a/kdevdesigner/designer/sourceeditor.h
+++ b/kdevdesigner/designer/sourceeditor.h
@@ -32,7 +32,7 @@
#include <tqguardedptr.h>
class FormWindow;
-class QCloseEvent;
+class TQCloseEvent;
struct LanguageInterface;
class Project;
class SourceFile;
diff --git a/kdevdesigner/designer/styledbutton.h b/kdevdesigner/designer/styledbutton.h
index 16d0b396..ffed5917 100644
--- a/kdevdesigner/designer/styledbutton.h
+++ b/kdevdesigner/designer/styledbutton.h
@@ -30,8 +30,8 @@
#include <tqbutton.h>
#include <tqpixmap.h>
-class QColor;
-class QBrush;
+class TQColor;
+class TQBrush;
class FormWindow;
class StyledButton : public QButton
diff --git a/kdevdesigner/designer/tableeditorimpl.h b/kdevdesigner/designer/tableeditorimpl.h
index 22a0e362..c3d9990a 100644
--- a/kdevdesigner/designer/tableeditorimpl.h
+++ b/kdevdesigner/designer/tableeditorimpl.h
@@ -30,8 +30,8 @@
#include "tableeditor.h"
#include <tqmap.h>
-class QListBoxItem;
-class QTable;
+class TQListBoxItem;
+class TQTable;
class FormWindow;
class TableEditor : public TableEditorBase
diff --git a/kdevdesigner/designer/timestamp.cpp b/kdevdesigner/designer/timestamp.cpp
index e7267b40..703b4e58 100644
--- a/kdevdesigner/designer/timestamp.cpp
+++ b/kdevdesigner/designer/timestamp.cpp
@@ -28,7 +28,7 @@
#include <tqfile.h>
#include <tqfileinfo.h>
-class QTimer;
+class TQTimer;
TimeStamp::TimeStamp( TQObject *parent, const TQString &f )
: TQObject( parent ), filename( f ), autoCheck( FALSE )
diff --git a/kdevdesigner/designer/variabledialogimpl.h b/kdevdesigner/designer/variabledialogimpl.h
index 8c9a55cc..5b2775e1 100644
--- a/kdevdesigner/designer/variabledialogimpl.h
+++ b/kdevdesigner/designer/variabledialogimpl.h
@@ -30,7 +30,7 @@
#include "variabledialog.h"
class FormWindow;
-class QListView;
+class TQListView;
class VariableDialog : public VariableDialogBase
{
diff --git a/kdevdesigner/designer/widgetfactory.h b/kdevdesigner/designer/widgetfactory.h
index dcf18e6c..7b59f803 100644
--- a/kdevdesigner/designer/widgetfactory.h
+++ b/kdevdesigner/designer/widgetfactory.h
@@ -52,8 +52,8 @@
#include "metadatabase.h"
#include "tqwidgetfactory.h"
-class QWidget;
-class QLayout;
+class TQWidget;
+class TQLayout;
class FormWindow;
class CustomWidgetFactory : public QWidgetFactory
diff --git a/kdevdesigner/designer/wizardeditorimpl.h b/kdevdesigner/designer/wizardeditorimpl.h
index 52d10752..9e2eff4d 100644
--- a/kdevdesigner/designer/wizardeditorimpl.h
+++ b/kdevdesigner/designer/wizardeditorimpl.h
@@ -27,7 +27,7 @@
#ifndef WIZARDEDITORIMPL_H
#define WIZARDEDITORIMPL_H
-class QWizard;
+class TQWizard;
class FormWindow;
#include <tqptrlist.h>
diff --git a/kdevdesigner/designer/workspace.h b/kdevdesigner/designer/workspace.h
index 4e4f0d1a..344046f6 100644
--- a/kdevdesigner/designer/workspace.h
+++ b/kdevdesigner/designer/workspace.h
@@ -30,11 +30,11 @@
#include <tqlistview.h>
class FormWindow;
-class QResizeEvent;
-class QCloseEvent;
-class QDropEvent;
-class QDragMoveEvent;
-class QDragEnterEvent;
+class TQResizeEvent;
+class TQCloseEvent;
+class TQDropEvent;
+class TQDragMoveEvent;
+class TQDragEnterEvent;
class MainWindow;
class Project;
class SourceFile;
diff --git a/kdevdesigner/interfaces/actioninterface.h b/kdevdesigner/interfaces/actioninterface.h
index b394b136..61c0cf51 100644
--- a/kdevdesigner/interfaces/actioninterface.h
+++ b/kdevdesigner/interfaces/actioninterface.h
@@ -29,8 +29,8 @@
#include <private/qcom_p.h>
-class QAction;
-class QObject;
+class TQAction;
+class TQObject;
// {bb206e09-84e5-4777-9fce-706babfab931}
#ifndef IID_Action
diff --git a/kdevdesigner/interfaces/classbrowserinterface.h b/kdevdesigner/interfaces/classbrowserinterface.h
index c16741f6..24915cb5 100644
--- a/kdevdesigner/interfaces/classbrowserinterface.h
+++ b/kdevdesigner/interfaces/classbrowserinterface.h
@@ -42,7 +42,7 @@
#include <private/qcom_p.h>
#include <tqobject.h>
-class QListView;
+class TQListView;
// {4ede3c32-ae96-4b7a-9e38-9f1d93592391}
#ifndef IID_ClassBrowser
diff --git a/kdevdesigner/interfaces/designerinterface.h b/kdevdesigner/interfaces/designerinterface.h
index 64ffb41c..6fbefe53 100644
--- a/kdevdesigner/interfaces/designerinterface.h
+++ b/kdevdesigner/interfaces/designerinterface.h
@@ -58,12 +58,12 @@ struct DesignerOutputError;
struct DesignerPixmapCollection;
struct DesignerSourceFile;
-class QDockWindow;
-class QWidget;
-class QObject;
-class QAction;
-class QIconSet;
-class QSqlDatabase;
+class TQDockWindow;
+class TQWidget;
+class TQObject;
+class TQAction;
+class TQIconSet;
+class TQSqlDatabase;
// {0e661da-f45c-4830-af47-03ec53eb1633}
#ifndef IID_Designer
diff --git a/kdevdesigner/interfaces/editorinterface.h b/kdevdesigner/interfaces/editorinterface.h
index f7ca66b5..2cb1025e 100644
--- a/kdevdesigner/interfaces/editorinterface.h
+++ b/kdevdesigner/interfaces/editorinterface.h
@@ -44,9 +44,9 @@
#include <tqmap.h>
#include <tqvaluelist.h>
-class QWidget;
-class QObjectList;
-class QObject;
+class TQWidget;
+class TQObjectList;
+class TQObject;
// {8668161a-6037-4220-86b6-ccaa20127df8}
#ifndef IID_Editor
diff --git a/kdevdesigner/interfaces/interpreterinterface.h b/kdevdesigner/interfaces/interpreterinterface.h
index ef94f184..20648a38 100644
--- a/kdevdesigner/interfaces/interpreterinterface.h
+++ b/kdevdesigner/interfaces/interpreterinterface.h
@@ -42,7 +42,7 @@
#include <private/qcom_p.h>
-class QObject;
+class TQObject;
// {11cad9ec-4e3c-418b-8e90-e1b8c0c1f48f}
#ifndef IID_Interpreter
diff --git a/kdevdesigner/interfaces/templatewizardiface.h b/kdevdesigner/interfaces/templatewizardiface.h
index 36724e34..1e00740c 100644
--- a/kdevdesigner/interfaces/templatewizardiface.h
+++ b/kdevdesigner/interfaces/templatewizardiface.h
@@ -42,7 +42,7 @@
#include <private/qcom_p.h>
-class QWidget;
+class TQWidget;
struct DesignerFormWindow;
// {983d3eab-fea3-49cc-97ad-d8cc89b7c17b}
diff --git a/kdevdesigner/shared/domtool.h b/kdevdesigner/shared/domtool.h
index e83e106b..8f3aa67c 100644
--- a/kdevdesigner/shared/domtool.h
+++ b/kdevdesigner/shared/domtool.h
@@ -30,8 +30,8 @@
#include <tqvariant.h>
#include <tqnamespace.h>
-class QDomElement;
-class QDomDocument;
+class TQDomElement;
+class TQDomDocument;
class DomTool : public Qt
{
diff --git a/kdevdesigner/shared/ui2uib.cpp b/kdevdesigner/shared/ui2uib.cpp
index b1e1c6ac..91fa7dee 100644
--- a/kdevdesigner/shared/ui2uib.cpp
+++ b/kdevdesigner/shared/ui2uib.cpp
@@ -42,7 +42,7 @@
/*
The .uib file format is the binary counterpart of the .ui file
format. It is generated by the ui2uib converter and understood by
- QWidgetFactory; in a future version, it might also be understood
+ TQWidgetFactory; in a future version, it might also be understood
by a uib2ui converter. Experiments show that .uib files are about
2.5 times faster to load and 6 times smaller than .ui files.
diff --git a/kdevdesigner/shared/ui2uib.h b/kdevdesigner/shared/ui2uib.h
index 6bbc02bc..3dd985b6 100644
--- a/kdevdesigner/shared/ui2uib.h
+++ b/kdevdesigner/shared/ui2uib.h
@@ -27,8 +27,8 @@
#ifndef UI2UIB_H
#define UI2UIB_H
-class QDataStream;
-class QDomDocument;
+class TQDataStream;
+class TQDomDocument;
void convertUiToUib( TQDomDocument& doc, TQDataStream& out );
diff --git a/kdevdesigner/shared/widgetdatabase.cpp b/kdevdesigner/shared/widgetdatabase.cpp
index 902cd697..10cdc334 100644
--- a/kdevdesigner/shared/widgetdatabase.cpp
+++ b/kdevdesigner/shared/widgetdatabase.cpp
@@ -124,8 +124,8 @@ void WidgetDatabase::setupDataBase( int id )
return;
#endif
- wGroups = new QStrList;
- invisibleGroups = new QStrList;
+ wGroups = new TQStrList;
+ invisibleGroups = new TQStrList;
invisibleGroups->append( "Forms" );
invisibleGroups->append( "Temp" );
className2Id = new TQDict<int>( dbdictsize );
diff --git a/kdevdesigner/uilib/database2.h b/kdevdesigner/uilib/database2.h
index 2efc5c04..d0c1be9b 100644
--- a/kdevdesigner/uilib/database2.h
+++ b/kdevdesigner/uilib/database2.h
@@ -35,8 +35,8 @@
#include <tqsqlcursor.h>
#include <tqstring.h>
-class QSqlDatabase;
-class QSqlForm;
+class TQSqlDatabase;
+class TQSqlForm;
class DatabaseSupport2
{
diff --git a/kdevdesigner/uilib/qwidgetfactory.cpp b/kdevdesigner/uilib/qwidgetfactory.cpp
index b9a5211a..2d40a7da 100644
--- a/kdevdesigner/uilib/qwidgetfactory.cpp
+++ b/kdevdesigner/uilib/qwidgetfactory.cpp
@@ -132,7 +132,7 @@ static void setupWidgetListAndMap()
if ( availableWidgetMap )
return;
setupPluginDir();
- availableWidgetList = new QStringList;
+ availableWidgetList = new TQStringList;
(*availableWidgetList) << "TQPushButton" << "TQToolButton" << "TQCheckBox" << "TQRadioButton"
<< "TQGroupBox" << "TQButtonGroup" << "TQIconView" << "TQTable"
<< "TQListBox" << "TQListView" << "TQLineEdit" << "TQSpinBox"
@@ -316,7 +316,7 @@ TQWidget *TQWidgetFactory::create( TQIODevice *dev, TQObject *connector, TQWidge
TQString errMsg;
int errLine;
- TQWidgetFactory *widgetFactory = new QWidgetFactory;
+ TQWidgetFactory *widgetFactory = new TQWidgetFactory;
widgetFactory->toplevel = 0;
// If we have no GUI, we only want to load the code
diff --git a/kdevdesigner/uilib/qwidgetfactory.h b/kdevdesigner/uilib/qwidgetfactory.h
index f2d07275..87daa640 100644
--- a/kdevdesigner/uilib/qwidgetfactory.h
+++ b/kdevdesigner/uilib/qwidgetfactory.h
@@ -37,14 +37,14 @@
#include <tqaction.h>
#endif // QT_H
-class QDomDocument;
-class QDomElement;
-class QLayout;
-class QListView;
-class QListViewItem;
-class QMenuBar;
-class QTable;
-class QWidget;
+class TQDomDocument;
+class TQDomElement;
+class TQLayout;
+class TQListView;
+class TQListViewItem;
+class TQMenuBar;
+class TQTable;
+class TQWidget;
class QWidgetFactoryPrivate;
class UibStrTable;