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 /kdevdesigner/designer | |
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 'kdevdesigner/designer')
41 files changed, 107 insertions, 107 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; |