From 45be2143e2c6961a65a852d4d06ebd2fdc901d38 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:30:14 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1158456 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/actioneditorimpl.h | 2 +- kommander/editor/command.h | 20 ++++++++++---------- kommander/editor/connectioneditorimpl.h | 2 +- kommander/editor/filechooser.h | 4 ++-- kommander/editor/formwindow.cpp | 2 +- kommander/editor/formwindow.h | 22 +++++++++++----------- kommander/editor/hierarchyview.h | 12 ++++++------ kommander/editor/layout.h | 2 +- kommander/editor/listboxeditorimpl.h | 2 +- kommander/editor/mainwindow.h | 12 ++++++------ kommander/editor/messagelog.h | 2 +- kommander/editor/metadatabase.h | 4 ++-- kommander/editor/multilineeditorimpl.h | 2 +- kommander/editor/pics/images.h | 2 +- kommander/editor/propertyeditor.cpp | 2 +- kommander/editor/propertyeditor.h | 20 ++++++++++---------- kommander/editor/qcompletionedit.h | 4 ++-- kommander/editor/resource.h | 16 ++++++++-------- kommander/editor/sizehandle.h | 4 ++-- kommander/editor/styledbutton.h | 4 ++-- kommander/editor/tableeditorimpl.h | 4 ++-- kommander/editor/timestamp.cpp | 2 +- kommander/editor/widgetdatabase.cpp | 4 ++-- kommander/editor/widgetfactory.h | 4 ++-- kommander/editor/wizardeditorimpl.h | 2 +- kommander/editor/workspace.h | 10 +++++----- 26 files changed, 83 insertions(+), 83 deletions(-) (limited to 'kommander/editor') diff --git a/kommander/editor/actioneditorimpl.h b/kommander/editor/actioneditorimpl.h index d6ad72fb..f6436d31 100644 --- a/kommander/editor/actioneditorimpl.h +++ b/kommander/editor/actioneditorimpl.h @@ -23,7 +23,7 @@ #include "actioneditor.h" -class QAction; +class TQAction; class FormWindow; class ActionItem; diff --git a/kommander/editor/command.h b/kommander/editor/command.h index 0c86fc63..a2162dca 100644 --- a/kommander/editor/command.h +++ b/kommander/editor/command.h @@ -33,22 +33,22 @@ #include #include -class QWizard; -class QTabWidget; +class TQWizard; +class TQTabWidget; class Command; -class QWidget; +class TQWidget; class FormWindow; class PropertyEditor; -class QListBox; -class QIconView; -class QMultiLineEdit; -class QTable; -class QAction; +class TQListBox; +class TQIconView; +class TQMultiLineEdit; +class TQTable; +class TQAction; class QDesignerToolBar; -class QMainWindow; +class TQMainWindow; class QDesignerPopupMenu; class QDesignerMenuBar; -class QToolBox; +class TQToolBox; class Command : public Qt { diff --git a/kommander/editor/connectioneditorimpl.h b/kommander/editor/connectioneditorimpl.h index 116e4b42..35a3445b 100644 --- a/kommander/editor/connectioneditorimpl.h +++ b/kommander/editor/connectioneditorimpl.h @@ -26,7 +26,7 @@ #include -class QListViewItem; +class TQListViewItem; class FormWindow; class ConnectionEditor : public ConnectionEditorBase diff --git a/kommander/editor/filechooser.h b/kommander/editor/filechooser.h index f051eea4..aa60518f 100644 --- a/kommander/editor/filechooser.h +++ b/kommander/editor/filechooser.h @@ -3,8 +3,8 @@ #include -class QLineEdit; -class QPushButton; +class TQLineEdit; +class TQPushButton; class FileChooser : public QWidget { diff --git a/kommander/editor/formwindow.cpp b/kommander/editor/formwindow.cpp index 631def85..2b97dd3b 100644 --- a/kommander/editor/formwindow.cpp +++ b/kommander/editor/formwindow.cpp @@ -239,7 +239,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/kommander/editor/formwindow.h b/kommander/editor/formwindow.h index 611e543d..fd0964e7 100644 --- a/kommander/editor/formwindow.h +++ b/kommander/editor/formwindow.h @@ -33,20 +33,20 @@ #include #include -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 FormFile; #if defined(Q_FULL_TEMPLATE_INSTANTIATION) diff --git a/kommander/editor/hierarchyview.h b/kommander/editor/hierarchyview.h index debdf6a6..8e833962 100644 --- a/kommander/editor/hierarchyview.h +++ b/kommander/editor/hierarchyview.h @@ -28,12 +28,12 @@ #include class FormWindow; -class QCloseEvent; -class QPopupMenu; -class QKeyEvent; -class QMouseEvent; -class QWizard; -class QToolBox; +class TQCloseEvent; +class TQPopupMenu; +class TQKeyEvent; +class TQMouseEvent; +class TQWizard; +class TQToolBox; class HierarchyItem:public QListViewItem { diff --git a/kommander/editor/layout.h b/kommander/editor/layout.h index e9874ca6..c8b85a3a 100644 --- a/kommander/editor/layout.h +++ b/kommander/editor/layout.h @@ -29,7 +29,7 @@ #include class FormWindow; -class QPaintEvent; +class TQPaintEvent; class Layout : public QObject { diff --git a/kommander/editor/listboxeditorimpl.h b/kommander/editor/listboxeditorimpl.h index 8177feb5..41bcc8a7 100644 --- a/kommander/editor/listboxeditorimpl.h +++ b/kommander/editor/listboxeditorimpl.h @@ -21,7 +21,7 @@ #ifndef LISTBOXEDITOR_H #define LISTBOXEDITOR_H -class QListBox; +class TQListBox; class FormWindow; #include "listboxeditor.h" diff --git a/kommander/editor/mainwindow.h b/kommander/editor/mainwindow.h index db685e55..1f4a9346 100644 --- a/kommander/editor/mainwindow.h +++ b/kommander/editor/mainwindow.h @@ -44,11 +44,11 @@ class KToggleAction; class KToolBar; class KURL; class PropertyEditor; -class QCloseEvent; -class QMenuBar; -class QTimer; -class QWidget; -class QWorkspace; +class TQCloseEvent; +class TQMenuBar; +class TQTimer; +class TQWidget; +class TQWorkspace; class MessageLog; class ReplaceDialog; class Workspace; @@ -56,7 +56,7 @@ class Workspace; #if defined(Q_FULL_TEMPLATE_INSTANTIATION) #include #else -class QToolBar; +class TQToolBar; #endif class Preferences; diff --git a/kommander/editor/messagelog.h b/kommander/editor/messagelog.h index 468a7d23..ef7c8638 100644 --- a/kommander/editor/messagelog.h +++ b/kommander/editor/messagelog.h @@ -24,7 +24,7 @@ class KListBox; class KProcess; class KPopupMenu; -class QListBoxItem; +class TQListBoxItem; class MessageLog : public QTabWidget { diff --git a/kommander/editor/metadatabase.h b/kommander/editor/metadatabase.h index 4fd203b8..d5aceff5 100644 --- a/kommander/editor/metadatabase.h +++ b/kommander/editor/metadatabase.h @@ -33,8 +33,8 @@ #include "pixmapchooser.h" -class QObject; -class QPixmap; +class TQObject; +class TQPixmap; class MetaDataBase { diff --git a/kommander/editor/multilineeditorimpl.h b/kommander/editor/multilineeditorimpl.h index 0f6ff96a..d26c7f78 100644 --- a/kommander/editor/multilineeditorimpl.h +++ b/kommander/editor/multilineeditorimpl.h @@ -24,7 +24,7 @@ #include "multilineeditor.h" class FormWindow; -class QMultiLineEdit; +class TQMultiLineEdit; class MultiLineEditor : public MultiLineEditorBase { diff --git a/kommander/editor/pics/images.h b/kommander/editor/pics/images.h index 71009fb6..92094bdb 100644 --- a/kommander/editor/pics/images.h +++ b/kommander/editor/pics/images.h @@ -10961,7 +10961,7 @@ static const TQByteArray& qembed_findData( const char* name ) if ( !ba ) { for ( int i = 0; embed_vec[i].data; i++ ) { if ( strcmp(embed_vec[i].name, name) == 0 ) { - ba = new QByteArray; + ba = new TQByteArray; ba->setRawData( (char*)embed_vec[i].data, embed_vec[i].size ); dict.insert( name, ba ); diff --git a/kommander/editor/propertyeditor.cpp b/kommander/editor/propertyeditor.cpp index bb35c570..ed5e68d5 100644 --- a/kommander/editor/propertyeditor.cpp +++ b/kommander/editor/propertyeditor.cpp @@ -102,7 +102,7 @@ static void cleanupFontDatabase() static TQStringList getFontList() { if ( !fontDataBase ) { - fontDataBase = new QFontDatabase; + fontDataBase = new TQFontDatabase; qAddPostRoutine( cleanupFontDatabase ); } return fontDataBase->families(); diff --git a/kommander/editor/propertyeditor.h b/kommander/editor/propertyeditor.h index f34b7337..42e64e3e 100644 --- a/kommander/editor/propertyeditor.h +++ b/kommander/editor/propertyeditor.h @@ -32,17 +32,17 @@ class PropertyList; class PropertyEditor; -class QPainter; -class QColorGroup; -class QComboBox; -class QLineEdit; -class QPushButton; -class QHBox; -class QSpinBox; -class QLabel; +class TQPainter; +class TQColorGroup; +class TQComboBox; +class TQLineEdit; +class TQPushButton; +class TQHBox; +class TQSpinBox; +class TQLabel; class FormWindow; -class QCloseEvent; -class QResizeEvent; +class TQCloseEvent; +class TQResizeEvent; class PropertyWhatsThis; class QDateEdit; class QTimeEdit; diff --git a/kommander/editor/qcompletionedit.h b/kommander/editor/qcompletionedit.h index 39518c58..169dacb5 100644 --- a/kommander/editor/qcompletionedit.h +++ b/kommander/editor/qcompletionedit.h @@ -4,8 +4,8 @@ #include #include -class QListBox; -class QVBox; +class TQListBox; +class TQVBox; class QCompletionEdit : public QLineEdit { diff --git a/kommander/editor/resource.h b/kommander/editor/resource.h index e41a9fd7..b01bd233 100644 --- a/kommander/editor/resource.h +++ b/kommander/editor/resource.h @@ -30,17 +30,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; #ifndef KOMMANDER struct LanguageInterface; #endif diff --git a/kommander/editor/sizehandle.h b/kommander/editor/sizehandle.h index 24413602..50d3ea1c 100644 --- a/kommander/editor/sizehandle.h +++ b/kommander/editor/sizehandle.h @@ -25,10 +25,10 @@ #include #include -class QMouseEvent; +class TQMouseEvent; class FormWindow; class WidgetSelection; -class QPaintEvent; +class TQPaintEvent; class SizeHandle : public QWidget { diff --git a/kommander/editor/styledbutton.h b/kommander/editor/styledbutton.h index ec60c22b..cb5f4e92 100644 --- a/kommander/editor/styledbutton.h +++ b/kommander/editor/styledbutton.h @@ -24,8 +24,8 @@ #include #include -class QColor; -class QBrush; +class TQColor; +class TQBrush; class FormWindow; class StyledButton : public QButton diff --git a/kommander/editor/tableeditorimpl.h b/kommander/editor/tableeditorimpl.h index 9d2909c9..5fb1ccc4 100644 --- a/kommander/editor/tableeditorimpl.h +++ b/kommander/editor/tableeditorimpl.h @@ -4,8 +4,8 @@ #include "tableeditor.h" #include -class QListBoxItem; -class QTable; +class TQListBoxItem; +class TQTable; class FormWindow; class TableEditor : public TableEditorBase diff --git a/kommander/editor/timestamp.cpp b/kommander/editor/timestamp.cpp index 659cfcec..e92fc78f 100644 --- a/kommander/editor/timestamp.cpp +++ b/kommander/editor/timestamp.cpp @@ -22,7 +22,7 @@ #include #include -class QTimer; +class TQTimer; TimeStamp::TimeStamp( TQObject *parent, const TQString &f ) : TQObject( parent ), filename( f ), autoCheck( false ) diff --git a/kommander/editor/widgetdatabase.cpp b/kommander/editor/widgetdatabase.cpp index 940176c1..3661f700 100644 --- a/kommander/editor/widgetdatabase.cpp +++ b/kommander/editor/widgetdatabase.cpp @@ -122,8 +122,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/kommander/editor/widgetfactory.h b/kommander/editor/widgetfactory.h index 68fcc9ea..44cb4f9d 100644 --- a/kommander/editor/widgetfactory.h +++ b/kommander/editor/widgetfactory.h @@ -54,8 +54,8 @@ #include #include "toolbox.h" -class QWidget; -class QLayout; +class TQWidget; +class TQLayout; class FormWindow; class WidgetFactory : public Qt diff --git a/kommander/editor/wizardeditorimpl.h b/kommander/editor/wizardeditorimpl.h index 8fdf4cce..128aa467 100644 --- a/kommander/editor/wizardeditorimpl.h +++ b/kommander/editor/wizardeditorimpl.h @@ -21,7 +21,7 @@ #ifndef WIZARDEDITORIMPL_H #define WIZARDEDITORIMPL_H -class QWizard; +class TQWizard; class FormWindow; #include diff --git a/kommander/editor/workspace.h b/kommander/editor/workspace.h index 4058fc93..61f772dd 100644 --- a/kommander/editor/workspace.h +++ b/kommander/editor/workspace.h @@ -24,11 +24,11 @@ #include class FormWindow; -class QResizeEvent; -class QCloseEvent; -class QDropEvent; -class QDragMoveEvent; -class QDragEnterEvent; +class TQResizeEvent; +class TQCloseEvent; +class TQDropEvent; +class TQDragMoveEvent; +class TQDragEnterEvent; class MainWindow; #ifndef KOMMANDER class Project; -- cgit v1.2.1