summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:21:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:21:06 +0000
commit42ca287b531e190dcee0f080f16c420874054129 (patch)
tree7ce730aa7fe29311d16654eb7c59457b05e03642
parent576eb4299a00bc053db35414406f46372a0f70f2 (diff)
downloadtdegames-42ca287b531e190dcee0f080f16c420874054129.tar.gz
tdegames-42ca287b531e190dcee0f080f16c420874054129.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1158436 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--atlantik/atlanticd/atlanticdaemon.h2
-rw-r--r--atlantik/client/atlantik.h2
-rw-r--r--atlantik/client/configdlg.h2
-rw-r--r--atlantik/client/event.h4
-rw-r--r--atlantik/client/eventlogwidget.h2
-rw-r--r--atlantik/client/monopigator.h2
-rw-r--r--atlantik/client/selectconfiguration_widget.h4
-rw-r--r--atlantik/libatlantic/game.h2
-rw-r--r--atlantik/libatlantikclient/atlantik_network.h4
-rw-r--r--atlantik/libatlantikclient/monopdprotocol.h2
-rw-r--r--atlantik/libatlantikui/auction_widget.h6
-rw-r--r--atlantik/libatlantikui/board.h2
-rw-r--r--atlantik/libatlantikui/estatedetails.h10
-rw-r--r--atlantik/libatlantikui/portfolioview.h4
-rw-r--r--atlantik/libatlantikui/token.h2
-rw-r--r--atlantik/libatlantikui/trade_widget.h8
-rw-r--r--kasteroids/toplevel.cpp4
-rw-r--r--kasteroids/toplevel.h2
-rw-r--r--katomic/gamewidget.h4
-rw-r--r--kbackgammon/engines/fibs/kbgfibs.h8
-rw-r--r--kbackgammon/engines/fibs/kbgfibschat.h10
-rw-r--r--kbackgammon/engines/generic/kbgengine.h4
-rw-r--r--kbackgammon/engines/nextgen/kbggame.h2
-rw-r--r--kbackgammon/kbg.h8
-rw-r--r--kblackbox/kbbgame.cpp2
-rw-r--r--kblackbox/kbbgfx.cpp2
-rw-r--r--kbounce/game.h2
-rw-r--r--kbounce/kbounce.cpp2
-rw-r--r--kbounce/kbounce.h4
-rw-r--r--kenolaba/AbTop.cpp4
-rw-r--r--kenolaba/AbTop.h6
-rw-r--r--kenolaba/Spy.h2
-rw-r--r--kjumpingcube/kcubeboxwidget.h6
-rw-r--r--kjumpingcube/kcubewidget.cpp2
-rw-r--r--kjumpingcube/kcubewidget.h4
-rw-r--r--kmahjongg/Background.h4
-rw-r--r--kmahjongg/HighScore.h6
-rw-r--r--kmahjongg/Preview.h4
-rw-r--r--kmahjongg/kmahjongg.h2
-rw-r--r--kmines/frame.h2
-rw-r--r--kmines/solver/solver.h2
-rw-r--r--kmines/status.h4
-rw-r--r--knetwalk/src/mainwindow.h6
-rw-r--r--kolf/editor.h4
-rw-r--r--kolf/game.h14
-rw-r--r--kolf/kcomboboxdialog.h2
-rw-r--r--kolf/kolf.h8
-rw-r--r--kolf/newgame.h10
-rw-r--r--kolf/printdialogpage.h4
-rw-r--r--kolf/scoreboard.h4
-rw-r--r--konquest/fleetdlg.cc2
-rw-r--r--konquest/gameboard.cc6
-rw-r--r--konquest/gameboard.h12
-rw-r--r--konquest/gameenddlg.h4
-rw-r--r--konquest/planet_info.h2
-rw-r--r--konquest/scoredlg.cc2
-rw-r--r--kpat/dealer.h2
-rw-r--r--kpat/pwidget.h4
-rw-r--r--kpoker/betbox.h2
-rw-r--r--kpoker/kpaint.cpp2
-rw-r--r--kpoker/kpaint.h2
-rw-r--r--kpoker/kpoker.cpp6
-rw-r--r--kpoker/kpoker.h16
-rw-r--r--kpoker/newgamedlg.h8
-rw-r--r--kpoker/optionsdlg.h8
-rw-r--r--kpoker/playerbox.cpp2
-rw-r--r--kpoker/playerbox.h2
-rw-r--r--kpoker/top.h2
-rw-r--r--kreversi/kreversi.h2
-rw-r--r--kreversi/qreversigameview.h2
-rw-r--r--ksmiletris/gamewidget.h2
-rw-r--r--ksmiletris/gamewindow.h2
-rw-r--r--ksnake/startroom.h4
-rw-r--r--ksokoban/ImageData.h2
-rw-r--r--ksokoban/MainWindow.h8
-rw-r--r--ksokoban/PlayField.h4
-rw-r--r--kspaceduel/dialogs.h14
-rw-r--r--kspaceduel/playerinfo.h2
-rw-r--r--ktuberling/playground.h2
-rw-r--r--ktuberling/soundfactory.h2
-rw-r--r--ktuberling/toplevel.h2
-rw-r--r--kwin4/kwin4/kspritecache.cpp2
-rw-r--r--kwin4/kwin4/kwin4.h2
-rw-r--r--kwin4/kwin4/kwin4doc.h2
-rw-r--r--kwin4/kwin4/scorewidget.h10
-rw-r--r--libkdegames/highscore/kexthighscore.h2
-rw-r--r--libkdegames/highscore/kexthighscore_internal.h6
-rw-r--r--libkdegames/highscore/kexthighscore_item.h2
-rw-r--r--libkdegames/highscore/kexthighscore_tab.h2
-rw-r--r--libkdegames/highscore/kscoredialog.h6
-rw-r--r--libkdegames/kcanvasrootpixmap.h2
-rw-r--r--libkdegames/kcarddialog.h2
-rw-r--r--libkdegames/kchatbase.h2
-rw-r--r--libkdegames/kgame/dialogs/kgamedialog.h6
-rw-r--r--libkdegames/kgame/dialogs/kgamedialogconfig.h6
-rw-r--r--libkdegames/kgame/kgamepropertyhandler.h2
-rw-r--r--libkdegames/kgame/kmessageio.h4
-rw-r--r--libkdegames/kgame/kmessageserver.cpp2
-rw-r--r--libkdegames/kgamelcd.h4
-rw-r--r--libkdegames/kstdgameaction.h2
-rw-r--r--libksirtet/base/factory.h2
-rw-r--r--libksirtet/base/field.h8
-rw-r--r--libksirtet/base/inter.h2
-rw-r--r--libksirtet/base/settings.h2
-rw-r--r--libksirtet/lib/mp_interface.h2
-rw-r--r--libksirtet/lib/pline.h2
-rw-r--r--lskat/lskat/KRSocket.h2
-rw-r--r--lskat/lskat/namedlg.cpp8
-rw-r--r--lskat/lskat/namedlg.h14
109 files changed, 226 insertions, 226 deletions
diff --git a/atlantik/atlanticd/atlanticdaemon.h b/atlantik/atlanticd/atlanticdaemon.h
index 17e41898..2e107a0a 100644
--- a/atlantik/atlanticd/atlanticdaemon.h
+++ b/atlantik/atlanticd/atlanticdaemon.h
@@ -19,7 +19,7 @@
#include <tqptrlist.h>
-class QSocket;
+class TQSocket;
class AtlanticCore;
class AtlanticClient;
diff --git a/atlantik/client/atlantik.h b/atlantik/client/atlantik.h
index 2a181437..d3eac354 100644
--- a/atlantik/client/atlantik.h
+++ b/atlantik/client/atlantik.h
@@ -29,7 +29,7 @@
#include "portfolioview.h"
#include "board.h"
-class QScrollView;
+class TQScrollView;
class AtlanticCore;
class AtlantikNetwork;
diff --git a/atlantik/client/configdlg.h b/atlantik/client/configdlg.h
index 24b10d78..41843ca6 100644
--- a/atlantik/client/configdlg.h
+++ b/atlantik/client/configdlg.h
@@ -23,7 +23,7 @@
#include <kdialogbase.h>
-class QString;
+class TQString;
class KPushButton;
diff --git a/atlantik/client/event.h b/atlantik/client/event.h
index 0acbd387..dc3b6c9b 100644
--- a/atlantik/client/event.h
+++ b/atlantik/client/event.h
@@ -19,8 +19,8 @@
#include <tqobject.h>
-class QDateTime;
-class QString;
+class TQDateTime;
+class TQString;
class Event : public QObject
{
diff --git a/atlantik/client/eventlogwidget.h b/atlantik/client/eventlogwidget.h
index 439a8127..c9e1eacd 100644
--- a/atlantik/client/eventlogwidget.h
+++ b/atlantik/client/eventlogwidget.h
@@ -20,7 +20,7 @@
#include <tqwidget.h>
#include <tqmap.h>
-class QString;
+class TQString;
class Event;
diff --git a/atlantik/client/monopigator.h b/atlantik/client/monopigator.h
index b5542fe9..dd88b0ae 100644
--- a/atlantik/client/monopigator.h
+++ b/atlantik/client/monopigator.h
@@ -26,7 +26,7 @@
#include <kurl.h>
class KExtendedSocket;
-class QTime;
+class TQTime;
class Monopigator : public QObject
{
diff --git a/atlantik/client/selectconfiguration_widget.h b/atlantik/client/selectconfiguration_widget.h
index 1bc8c241..a0cfcd24 100644
--- a/atlantik/client/selectconfiguration_widget.h
+++ b/atlantik/client/selectconfiguration_widget.h
@@ -24,8 +24,8 @@
#include <klistview.h>
#include <kpushbutton.h>
-class QCheckBox;
-class QListViewItem;
+class TQCheckBox;
+class TQListViewItem;
class AtlanticCore;
class ConfigOption;
diff --git a/atlantik/libatlantic/game.h b/atlantik/libatlantic/game.h
index 7194dfd3..c2e8138f 100644
--- a/atlantik/libatlantic/game.h
+++ b/atlantik/libatlantic/game.h
@@ -21,7 +21,7 @@
#include "libatlantic_export.h"
-class QString;
+class TQString;
class Player;
diff --git a/atlantik/libatlantikclient/atlantik_network.h b/atlantik/libatlantikclient/atlantik_network.h
index cd1477f8..44099121 100644
--- a/atlantik/libatlantikclient/atlantik_network.h
+++ b/atlantik/libatlantikclient/atlantik_network.h
@@ -21,8 +21,8 @@
#include <kextsock.h>
#include "libatlantic_export.h"
-class QDomNode;
-class QTextStream;
+class TQDomNode;
+class TQTextStream;
class AtlanticCore;
diff --git a/atlantik/libatlantikclient/monopdprotocol.h b/atlantik/libatlantikclient/monopdprotocol.h
index 36e8fcb6..b2162715 100644
--- a/atlantik/libatlantikclient/monopdprotocol.h
+++ b/atlantik/libatlantikclient/monopdprotocol.h
@@ -22,7 +22,7 @@
#include <tqobject.h>
-class QString;
+class TQString;
/*
class AtlanticCore;
diff --git a/atlantik/libatlantikui/auction_widget.h b/atlantik/libatlantikui/auction_widget.h
index 72568615..92e20c5c 100644
--- a/atlantik/libatlantikui/auction_widget.h
+++ b/atlantik/libatlantikui/auction_widget.h
@@ -23,9 +23,9 @@
#include <klistview.h>
-class QVGroupBox;
-class QSpinBox;
-class QLabel;
+class TQVGroupBox;
+class TQSpinBox;
+class TQLabel;
class KListViewItem;
diff --git a/atlantik/libatlantikui/board.h b/atlantik/libatlantikui/board.h
index 21c47991..11194336 100644
--- a/atlantik/libatlantikui/board.h
+++ b/atlantik/libatlantikui/board.h
@@ -22,7 +22,7 @@
#include <tqlayout.h>
#include <tqptrlist.h>
#include "libatlantikui_export.h"
-class QPoint;
+class TQPoint;
class AtlanticCore;
class Auction;
diff --git a/atlantik/libatlantikui/estatedetails.h b/atlantik/libatlantikui/estatedetails.h
index 6c8a7640..6659055a 100644
--- a/atlantik/libatlantikui/estatedetails.h
+++ b/atlantik/libatlantikui/estatedetails.h
@@ -19,11 +19,11 @@
#include <tqwidget.h>
-class QPixmap;
-class QString;
-class QHBoxLayout;
-class QVBoxLayout;
-class QVGroupBox;
+class TQPixmap;
+class TQString;
+class TQHBoxLayout;
+class TQVBoxLayout;
+class TQVGroupBox;
class KListView;
class KPixmap;
diff --git a/atlantik/libatlantikui/portfolioview.h b/atlantik/libatlantikui/portfolioview.h
index d1443a3e..524f568f 100644
--- a/atlantik/libatlantikui/portfolioview.h
+++ b/atlantik/libatlantikui/portfolioview.h
@@ -23,8 +23,8 @@
#include "portfolioestate.h"
#include "libatlantikui_export.h"
-class QColor;
-class QString;
+class TQColor;
+class TQString;
class AtlanticCore;
class Player;
diff --git a/atlantik/libatlantikui/token.h b/atlantik/libatlantikui/token.h
index 81408501..30d43c61 100644
--- a/atlantik/libatlantikui/token.h
+++ b/atlantik/libatlantikui/token.h
@@ -19,7 +19,7 @@
#include <tqwidget.h>
-class QPixmap;
+class TQPixmap;
class Player;
class Estate;
diff --git a/atlantik/libatlantikui/trade_widget.h b/atlantik/libatlantikui/trade_widget.h
index 5c0e0ff7..73842a91 100644
--- a/atlantik/libatlantikui/trade_widget.h
+++ b/atlantik/libatlantikui/trade_widget.h
@@ -21,10 +21,10 @@
#include <tqmap.h>
#include "libatlantikui_export.h"
-class QHGroupBox;
-class QLabel;
-class QListViewItem;
-class QSpinBox;
+class TQHGroupBox;
+class TQLabel;
+class TQListViewItem;
+class TQSpinBox;
class KListView;
class KListViewItem;
diff --git a/kasteroids/toplevel.cpp b/kasteroids/toplevel.cpp
index 256174b6..d9a22a2b 100644
--- a/kasteroids/toplevel.cpp
+++ b/kasteroids/toplevel.cpp
@@ -85,8 +85,8 @@ KAstTopLevel::KAstTopLevel()
connect( view, TQT_SIGNAL( updateVitals() ), TQT_SLOT( slotUpdateVitals() ) );
TQVBoxLayout *vb = new TQVBoxLayout( mainWin );
- TQHBoxLayout *hb = new QHBoxLayout;
- TQHBoxLayout *hbd = new QHBoxLayout;
+ TQHBoxLayout *hb = new TQHBoxLayout;
+ TQHBoxLayout *hbd = new TQHBoxLayout;
vb->addLayout( hb );
TQFont labelFont( KGlobalSettings::generalFont().family(), 24 );
diff --git a/kasteroids/toplevel.h b/kasteroids/toplevel.h
index fb67cc14..c75710eb 100644
--- a/kasteroids/toplevel.h
+++ b/kasteroids/toplevel.h
@@ -17,7 +17,7 @@
//#define KA_ENABLE_SOUND
class KALedMeter;
-class QLCDNumber;
+class TQLCDNumber;
class KDialogBase;
class KAstTopLevel : public KMainWindow
diff --git a/katomic/gamewidget.h b/katomic/gamewidget.h
index c68965fd..a998c80a 100644
--- a/katomic/gamewidget.h
+++ b/katomic/gamewidget.h
@@ -4,8 +4,8 @@
class Feld;
class Molek;
-class QScrollBar;
-class QLabel;
+class TQScrollBar;
+class TQLabel;
class KScoreDialog;
#include <tqwidget.h>
diff --git a/kbackgammon/engines/fibs/kbgfibs.h b/kbackgammon/engines/fibs/kbgfibs.h
index 23db44b2..b46ae3a2 100644
--- a/kbackgammon/engines/fibs/kbgfibs.h
+++ b/kbackgammon/engines/fibs/kbgfibs.h
@@ -41,10 +41,10 @@
#include <klocale.h>
-class QTimer;
-class QSocket;
-class QPopupMenu;
-class QCheckBox;
+class TQTimer;
+class TQSocket;
+class TQPopupMenu;
+class TQCheckBox;
class KAction;
class KToggleAction;
diff --git a/kbackgammon/engines/fibs/kbgfibschat.h b/kbackgammon/engines/fibs/kbgfibschat.h
index 491cf19b..5e1fefa4 100644
--- a/kbackgammon/engines/fibs/kbgfibschat.h
+++ b/kbackgammon/engines/fibs/kbgfibschat.h
@@ -30,11 +30,11 @@
#include <kchat.h>
-class QString;
-class QPoint;
-class QListBox;
-class QListBoxItem;
-class QPopupMenu;
+class TQString;
+class TQPoint;
+class TQListBox;
+class TQListBoxItem;
+class TQPopupMenu;
class KTabCtl;
class KAction;
diff --git a/kbackgammon/engines/generic/kbgengine.h b/kbackgammon/engines/generic/kbgengine.h
index 2dd3a9a9..d254a910 100644
--- a/kbackgammon/engines/generic/kbgengine.h
+++ b/kbackgammon/engines/generic/kbgengine.h
@@ -30,8 +30,8 @@
#include <tqobject.h>
-class QTimer;
-class QPopupMenu;
+class TQTimer;
+class TQPopupMenu;
class KDialogBase;
diff --git a/kbackgammon/engines/nextgen/kbggame.h b/kbackgammon/engines/nextgen/kbggame.h
index 1c045433..7888be62 100644
--- a/kbackgammon/engines/nextgen/kbggame.h
+++ b/kbackgammon/engines/nextgen/kbggame.h
@@ -30,7 +30,7 @@
#include <kgame.h>
#include <kdemacros.h>
-class QObject;
+class TQObject;
class KPlayer;
/**
diff --git a/kbackgammon/kbg.h b/kbackgammon/kbg.h
index 030b30ad..94f4aab9 100644
--- a/kbackgammon/kbg.h
+++ b/kbackgammon/kbg.h
@@ -30,10 +30,10 @@
#include <kmainwindow.h>
-class QSplitter;
-class QCheckBox;
-class QPopupMenu;
-class QLabel;
+class TQSplitter;
+class TQCheckBox;
+class TQPopupMenu;
+class TQLabel;
class KAction;
class KSelectAction;
class KLineEdit;
diff --git a/kblackbox/kbbgame.cpp b/kblackbox/kbbgame.cpp
index 6370291d..c663e2eb 100644
--- a/kblackbox/kbbgame.cpp
+++ b/kblackbox/kbbgame.cpp
@@ -64,7 +64,7 @@ KBBGame::KBBGame()
if (!pix[0]->isNull()) {
kdDebug(12009) << "Pixmap \"" << pFNames[0] << "\" loaded." << endl;
for (i = 1; i < NROFTYPES; i++) {
- pix[i] = new QPixmap;
+ pix[i] = new TQPixmap;
*pix[i] = BarIcon( pFNames[i] );
if (!pix[i]->isNull()) {
kdDebug(12009) << "Pixmap \"" << pFNames[i] << "\" loaded." << endl;
diff --git a/kblackbox/kbbgfx.cpp b/kblackbox/kbbgfx.cpp
index 79e4b029..b38a2c9e 100644
--- a/kblackbox/kbbgfx.cpp
+++ b/kblackbox/kbbgfx.cpp
@@ -39,7 +39,7 @@ KBBGraphic::KBBGraphic( TQPixmap **p, TQWidget* parent, const char* name )
else {
pixScaled = new TQPixmap * [NROFTYPES];
for (i = 0; i < NROFTYPES; i++) {
- pixScaled[i] = new QPixmap;
+ pixScaled[i] = new TQPixmap;
}
}
graphicBoard = NULL;
diff --git a/kbounce/game.h b/kbounce/game.h
index b7ebe769..1f66c288 100644
--- a/kbounce/game.h
+++ b/kbounce/game.h
@@ -29,7 +29,7 @@
using namespace Arts;
#endif
-class QTimer;
+class TQTimer;
class JezzField;
#define FIELD_WIDTH 32
diff --git a/kbounce/kbounce.cpp b/kbounce/kbounce.cpp
index 65fcaae9..5bfcc320 100644
--- a/kbounce/kbounce.cpp
+++ b/kbounce/kbounce.cpp
@@ -57,7 +57,7 @@ KJezzball::KJezzball()
m_layout = new TQGridLayout( m_view, 1, 3 );
m_layout->setColStretch( 2, 1 );
- TQVBoxLayout *infoLayout = new QVBoxLayout;
+ TQVBoxLayout *infoLayout = new TQVBoxLayout;
m_layout->addLayout( infoLayout, 0, 1 );
TQLabel *label = new TQLabel( i18n("Level:"), m_view );
diff --git a/kbounce/kbounce.h b/kbounce/kbounce.h
index 34d1ee77..60fd49bf 100644
--- a/kbounce/kbounce.h
+++ b/kbounce/kbounce.h
@@ -22,8 +22,8 @@
#include <kmainwindow.h>
class JezzGame;
-class QLCDNumber;
-class QGridLayout;
+class TQLCDNumber;
+class TQGridLayout;
class KToggleAction;
class KAction;
diff --git a/kenolaba/AbTop.cpp b/kenolaba/AbTop.cpp
index 1820e591..a6ef7d05 100644
--- a/kenolaba/AbTop.cpp
+++ b/kenolaba/AbTop.cpp
@@ -62,7 +62,7 @@ AbTop::AbTop()
pastePossible = true;
- timer = new QTimer;
+ timer = new TQTimer;
connect( timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timerDone()) );
board = new Board();
@@ -412,7 +412,7 @@ void AbTop::setupStatusBar()
/* Create a toolbar menu for debugging output level */
KToolBar *tb = toolBar("mainToolBar");
if (tb) {
- TQPopupMenu* spyPopup = new QPopupMenu;
+ TQPopupMenu* spyPopup = new TQPopupMenu;
spy0 = BarIcon( "spy0" );
spy1 = BarIcon( "spy1" );
spy2 = BarIcon( "spy2" );
diff --git a/kenolaba/AbTop.h b/kenolaba/AbTop.h
index be06f030..ed7c8fba 100644
--- a/kenolaba/AbTop.h
+++ b/kenolaba/AbTop.h
@@ -11,9 +11,9 @@
#include "Move.h"
-class QTimer;
-class QPopupMenu;
-class QLabel;
+class TQTimer;
+class TQPopupMenu;
+class TQLabel;
class KAction;
class KToggleAction;
diff --git a/kenolaba/Spy.h b/kenolaba/Spy.h
index d2a63cbf..cbb03ad8 100644
--- a/kenolaba/Spy.h
+++ b/kenolaba/Spy.h
@@ -12,7 +12,7 @@
class BoardWidget;
-class QLabel;
+class TQLabel;
class Spy: public QWidget
{
diff --git a/kjumpingcube/kcubeboxwidget.h b/kjumpingcube/kcubeboxwidget.h
index ca532244..e2bf73ca 100644
--- a/kjumpingcube/kcubeboxwidget.h
+++ b/kjumpingcube/kcubeboxwidget.h
@@ -27,10 +27,10 @@
#include "brain.h"
#include <tqwidget.h>
-class QGridLayout;
+class TQGridLayout;
class CubeBox;
-class QPalette;
-class QTimer;
+class TQPalette;
+class TQTimer;
class KConfigBase;
#ifdef HAVE_CONFIG_H
diff --git a/kjumpingcube/kcubewidget.cpp b/kjumpingcube/kcubewidget.cpp
index d9500084..27797683 100644
--- a/kjumpingcube/kcubewidget.cpp
+++ b/kjumpingcube/kcubewidget.cpp
@@ -254,7 +254,7 @@ void KCubeWidget::drawContents(TQPainter *painter)
TQRect contents=contentsRect();
TQPixmap buffer(contents.size());
buffer.fill(this,contents.topLeft());
- TQPainter *p=new QPainter;
+ TQPainter *p=new TQPainter;
p->begin(&buffer);
int h=contents.height();
int w=contents.width();
diff --git a/kjumpingcube/kcubewidget.h b/kjumpingcube/kcubewidget.h
index 463a7d89..804a9db4 100644
--- a/kjumpingcube/kcubewidget.h
+++ b/kjumpingcube/kcubewidget.h
@@ -25,8 +25,8 @@
#include <tqframe.h>
#include "cube.h"
-class QPalette;
-class QTimer;
+class TQPalette;
+class TQTimer;
/**
diff --git a/kmahjongg/Background.h b/kmahjongg/Background.h
index a98d14df..52ac1402 100644
--- a/kmahjongg/Background.h
+++ b/kmahjongg/Background.h
@@ -2,8 +2,8 @@
#define _BACKGROUND_H
#include <tqstring.h>
-class QPixmap;
-class QImage;
+class TQPixmap;
+class TQImage;
class Background
diff --git a/kmahjongg/HighScore.h b/kmahjongg/HighScore.h
index 87256826..d6935ab5 100644
--- a/kmahjongg/HighScore.h
+++ b/kmahjongg/HighScore.h
@@ -5,9 +5,9 @@
#include <tqdialog.h>
-class QLineEdit;
-class QComboBox;
-class QLabel;
+class TQLineEdit;
+class TQComboBox;
+class TQLabel;
const int numScores = 10;
diff --git a/kmahjongg/Preview.h b/kmahjongg/Preview.h
index 00629c8b..96aae3ef 100644
--- a/kmahjongg/Preview.h
+++ b/kmahjongg/Preview.h
@@ -9,8 +9,8 @@
#include "BoardLayout.h"
#include "Background.h"
-class QComboBox;
-class QPixmap;
+class TQComboBox;
+class TQPixmap;
class FrameImage: public QFrame
{
diff --git a/kmahjongg/kmahjongg.h b/kmahjongg/kmahjongg.h
index ce4ef504..a1e14efa 100644
--- a/kmahjongg/kmahjongg.h
+++ b/kmahjongg/kmahjongg.h
@@ -42,7 +42,7 @@ class GameTimer;
class Editor;
class KToggleAction;
-class QLabel;
+class TQLabel;
/**
...
diff --git a/kmines/frame.h b/kmines/frame.h
index 280b94c4..18efb76b 100644
--- a/kmines/frame.h
+++ b/kmines/frame.h
@@ -25,7 +25,7 @@
#include "defines.h"
-class QPainter;
+class TQPainter;
class FieldFrame : public TQFrame, public KMines
{
diff --git a/kmines/solver/solver.h b/kmines/solver/solver.h
index 22d6c591..c90c56d1 100644
--- a/kmines/solver/solver.h
+++ b/kmines/solver/solver.h
@@ -25,7 +25,7 @@
#include "bfield.h"
-class QLabel;
+class TQLabel;
class KProgress;
class SolverPrivate;
diff --git a/kmines/status.h b/kmines/status.h
index 4249fe82..c7d44b36 100644
--- a/kmines/status.h
+++ b/kmines/status.h
@@ -27,8 +27,8 @@ class Smiley;
class KGameLCD;
class DigitalClock;
class Solver;
-class QWidgetStack;
-class QTimer;
+class TQWidgetStack;
+class TQTimer;
class Status : public TQWidget, public KMines
{
diff --git a/knetwalk/src/mainwindow.h b/knetwalk/src/mainwindow.h
index 622db60c..e88fab6a 100644
--- a/knetwalk/src/mainwindow.h
+++ b/knetwalk/src/mainwindow.h
@@ -19,9 +19,9 @@
#include <kmainwindow.h>
class Cell;
-class QAction;
-class QSound;
-class QLCDNumber;
+class TQAction;
+class TQSound;
+class TQLCDNumber;
class KSelectAction;
class MainWindow : public KMainWindow
diff --git a/kolf/editor.h b/kolf/editor.h
index cfe998e6..1280772f 100644
--- a/kolf/editor.h
+++ b/kolf/editor.h
@@ -6,8 +6,8 @@
#include "game.h"
class KListBox;
-class QHBoxLayout;
-class QListBoxItem;
+class TQHBoxLayout;
+class TQListBoxItem;
class Config;
class Editor : public QWidget
diff --git a/kolf/game.h b/kolf/game.h
index 71698e34..f3dfea35 100644
--- a/kolf/game.h
+++ b/kolf/game.h
@@ -31,13 +31,13 @@
#include "rtti.h"
#include <kdemacros.h>
-class QLabel;
-class QSlider;
-class QCheckBox;
-class QTimer;
-class QKeyEvent;
-class QMouseEvent;
-class QPainter;
+class TQLabel;
+class TQSlider;
+class TQCheckBox;
+class TQTimer;
+class TQKeyEvent;
+class TQMouseEvent;
+class TQPainter;
class KConfig;
class KPrinter;
class KolfGame;
diff --git a/kolf/kcomboboxdialog.h b/kolf/kcomboboxdialog.h
index fdd74840..28f3721f 100644
--- a/kolf/kcomboboxdialog.h
+++ b/kolf/kcomboboxdialog.h
@@ -30,7 +30,7 @@
#include <kdialogbase.h>
#include <kglobal.h>
-class QCheckBox;
+class TQCheckBox;
class KHistoryCombo;
/**
diff --git a/kolf/kolf.h b/kolf/kolf.h
index 035448ab..b57b2774 100644
--- a/kolf/kolf.h
+++ b/kolf/kolf.h
@@ -16,12 +16,12 @@ class KolfGame;
class KToggleAction;
class KListAction;
class KAction;
-class QGridLayout;
+class TQGridLayout;
class ScoreBoard;
-class QCloseEvent;
-class QEvent;
+class TQCloseEvent;
+class TQEvent;
class Player;
-class QWidget;
+class TQWidget;
class Editor;
class KDE_EXPORT Kolf : public KMainWindow
diff --git a/kolf/newgame.h b/kolf/newgame.h
index 3259846f..c4e228a4 100644
--- a/kolf/newgame.h
+++ b/kolf/newgame.h
@@ -17,12 +17,12 @@
#include "game.h"
class KLineEdit;
-class QFrame;
-class QVBoxLayout;
-class QVBox;
-class QPainter;
+class TQFrame;
+class TQVBoxLayout;
+class TQVBox;
+class TQPainter;
class KListBox;
-class QEvent;
+class TQEvent;
class PlayerEditor : public QWidget
{
diff --git a/kolf/printdialogpage.h b/kolf/printdialogpage.h
index 4376055c..76b7c43a 100644
--- a/kolf/printdialogpage.h
+++ b/kolf/printdialogpage.h
@@ -5,8 +5,8 @@
#include <tqmap.h>
#include <tqstring.h>
-class QCheckBox;
-class QWidget;
+class TQCheckBox;
+class TQWidget;
class PrintDialogPage : public KPrintDialogPage
{
diff --git a/kolf/scoreboard.h b/kolf/scoreboard.h
index 618069dd..b9caf652 100644
--- a/kolf/scoreboard.h
+++ b/kolf/scoreboard.h
@@ -3,8 +3,8 @@
#include <tqtable.h>
-class QWidget;
-class QHeader;
+class TQWidget;
+class TQHeader;
class ScoreBoard : public QTable
{
diff --git a/konquest/fleetdlg.cc b/konquest/fleetdlg.cc
index 1c7e3fdf..e933e895 100644
--- a/konquest/fleetdlg.cc
+++ b/konquest/fleetdlg.cc
@@ -53,7 +53,7 @@ FleetDlg::FleetDlg( TQWidget *parent, AttackFleetList *fleets )
okButton->setDefault(true);
TQVBoxLayout *layout1 = new TQVBoxLayout( this );
- TQHBoxLayout *layout2 = new QHBoxLayout;
+ TQHBoxLayout *layout2 = new TQHBoxLayout;
layout1->addWidget( fleetTable, 1 );
layout1->addLayout( layout2 );
diff --git a/konquest/gameboard.cc b/konquest/gameboard.cc
index 47f77faa..17b40272 100644
--- a/konquest/gameboard.cc
+++ b/konquest/gameboard.cc
@@ -89,9 +89,9 @@ GameBoard::GameBoard( TQWidget *parent )
// Layout the main window
//********************************************************************
TQHBoxLayout *layout1 = new TQHBoxLayout( this );
- TQVBoxLayout *layout2 = new QVBoxLayout;
- TQHBoxLayout *layout3 = new QHBoxLayout;
- TQVBoxLayout *layout4 = new QVBoxLayout;
+ TQVBoxLayout *layout2 = new TQVBoxLayout;
+ TQHBoxLayout *layout3 = new TQHBoxLayout;
+ TQVBoxLayout *layout4 = new TQVBoxLayout;
layout1->addLayout( layout2 );
layout2->addLayout( layout3 );
diff --git a/konquest/gameboard.h b/konquest/gameboard.h
index 4b30b0b1..ed165b21 100644
--- a/konquest/gameboard.h
+++ b/konquest/gameboard.h
@@ -9,12 +9,12 @@
//************************************************************************
// forward declarations
//************************************************************************
-class QSlider;
-class QLabel;
-class QListBox;
-class QPushButton;
-class QLineEdit;
-class QTextEdit;
+class TQSlider;
+class TQLabel;
+class TQListBox;
+class TQPushButton;
+class TQLineEdit;
+class TQTextEdit;
enum GameState { NONE, SOURCE_PLANET, DEST_PLANET, SHIP_COUNT, RULER_SOURCE, RULER_DEST, AI_PLAYER };
diff --git a/konquest/gameenddlg.h b/konquest/gameenddlg.h
index 975bc830..4ffab262 100644
--- a/konquest/gameenddlg.h
+++ b/konquest/gameenddlg.h
@@ -3,8 +3,8 @@
#include <kdialogbase.h>
-class QSlider;
-class QPushButton;
+class TQSlider;
+class TQPushButton;
class GameEndDlg : public KDialogBase
{
diff --git a/konquest/planet_info.h b/konquest/planet_info.h
index 3408a499..e31882a9 100644
--- a/konquest/planet_info.h
+++ b/konquest/planet_info.h
@@ -8,7 +8,7 @@
#include "gamecore.h"
-class QLabel;
+class TQLabel;
struct planet_info_buffer {
Planet *planet;
diff --git a/konquest/scoredlg.cc b/konquest/scoredlg.cc
index 7b7eac25..fee4a404 100644
--- a/konquest/scoredlg.cc
+++ b/konquest/scoredlg.cc
@@ -46,7 +46,7 @@ ScoreDlg::ScoreDlg( TQWidget *parent, const TQString& title, PlayerList *players
okButton->setDefault(true);
TQVBoxLayout *layout1 = new TQVBoxLayout( this );
- TQHBoxLayout *layout2 = new QHBoxLayout;
+ TQHBoxLayout *layout2 = new TQHBoxLayout;
layout1->addWidget( scoreTable, 1 );
layout1->addLayout( layout2 );
diff --git a/kpat/dealer.h b/kpat/dealer.h
index fef7e6ce..42c07e9c 100644
--- a/kpat/dealer.h
+++ b/kpat/dealer.h
@@ -5,7 +5,7 @@
#include "hint.h"
#include <krandomsequence.h>
-class QDomDocument;
+class TQDomDocument;
class KMainWindow;
class Dealer;
class DealerInfo;
diff --git a/kpat/pwidget.h b/kpat/pwidget.h
index 36b2272b..ab2b4972 100644
--- a/kpat/pwidget.h
+++ b/kpat/pwidget.h
@@ -30,8 +30,8 @@ class KToggleAction;
class KSelectAction;
class KRecentFilesAction;
class KAction;
-class QWidgetStack;
-class QLabel;
+class TQWidgetStack;
+class TQLabel;
class pWidget: public KMainWindow {
Q_OBJECT
diff --git a/kpoker/betbox.h b/kpoker/betbox.h
index 3a639277..69fd741d 100644
--- a/kpoker/betbox.h
+++ b/kpoker/betbox.h
@@ -20,7 +20,7 @@
#include <tqgroupbox.h>
-class QPushButton;
+class TQPushButton;
/**
diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp
index 83012ab0..5ba74f40 100644
--- a/kpoker/kpaint.cpp
+++ b/kpoker/kpaint.cpp
@@ -42,7 +42,7 @@ CardImages::CardImages(TQWidget* parent, const char* name)
: TQWidget(parent, name)
{
m_cardPixmaps = new QPixmap[numCards];
- m_deck = new QPixmap;
+ m_deck = new TQPixmap;
// Hide the window.
// FIXME: Why is this a QWidget?
diff --git a/kpoker/kpaint.h b/kpoker/kpaint.h
index 21dbf097..2300e8b1 100644
--- a/kpoker/kpaint.h
+++ b/kpoker/kpaint.h
@@ -25,7 +25,7 @@
#include <tqpixmap.h>
-class QLabel;
+class TQLabel;
/**
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index a6f51772..0a293118 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -244,11 +244,11 @@ void kpok::initWindow()
wonFont.setBold(true);
topLayout = new TQVBoxLayout(this, BORDER);
- TQVBoxLayout* topInputLayout = new QVBoxLayout;
+ TQVBoxLayout* topInputLayout = new TQVBoxLayout;
topLayout->addLayout(topInputLayout);
- TQHBoxLayout* betLayout = new QHBoxLayout;
- inputLayout = new QHBoxLayout;
+ TQHBoxLayout* betLayout = new TQHBoxLayout;
+ inputLayout = new TQHBoxLayout;
inputLayout->addLayout(betLayout);
topInputLayout->addLayout(inputLayout);
diff --git a/kpoker/kpoker.h b/kpoker/kpoker.h
index cd0bd42a..bb33773d 100644
--- a/kpoker/kpoker.h
+++ b/kpoker/kpoker.h
@@ -31,14 +31,14 @@
// QT classes
-class QPushButton;
-class QLineEdit;
-class QLabel;
-class QFrame;
-class QLineEdit;
-class QFrame;
-class QHBoxLayout;
-class QVBoxLayout;
+class TQPushButton;
+class TQLineEdit;
+class TQLabel;
+class TQFrame;
+class TQLineEdit;
+class TQFrame;
+class TQHBoxLayout;
+class TQVBoxLayout;
// KDE classes
class KConfig;
diff --git a/kpoker/newgamedlg.h b/kpoker/newgamedlg.h
index 1dc73057..d62f9612 100644
--- a/kpoker/newgamedlg.h
+++ b/kpoker/newgamedlg.h
@@ -24,10 +24,10 @@
class KIntNumInput;
-class QLineEdit;
-class QCheckBox;
-class QLabel;
-class QComboBox;
+class TQLineEdit;
+class TQCheckBox;
+class TQLabel;
+class TQComboBox;
/**
diff --git a/kpoker/optionsdlg.h b/kpoker/optionsdlg.h
index fdc556a8..d559de15 100644
--- a/kpoker/optionsdlg.h
+++ b/kpoker/optionsdlg.h
@@ -21,10 +21,10 @@
#include <kdialogbase.h>
-class QLineEdit;
-class QCheckBox;
-class QLabel;
-class QComboBox;
+class TQLineEdit;
+class TQCheckBox;
+class TQLabel;
+class TQComboBox;
class KIntNumInput;
diff --git a/kpoker/playerbox.cpp b/kpoker/playerbox.cpp
index 4927fd7c..66ffd5a7 100644
--- a/kpoker/playerbox.cpp
+++ b/kpoker/playerbox.cpp
@@ -73,7 +73,7 @@ PlayerBox::PlayerBox(bool playerOne, TQWidget* parent, const char* name)
// Add the cash and bet labels.
{
- TQVBoxLayout* vl = new QVBoxLayout;
+ TQVBoxLayout* vl = new TQVBoxLayout;
l->addLayout(vl);
vl->addStretch();
diff --git a/kpoker/playerbox.h b/kpoker/playerbox.h
index 86ab8d2f..5c401993 100644
--- a/kpoker/playerbox.h
+++ b/kpoker/playerbox.h
@@ -22,7 +22,7 @@
#include <tqgroupbox.h>
-class QLabel;
+class TQLabel;
class PokerPlayer;
diff --git a/kpoker/top.h b/kpoker/top.h
index e09054fe..ec0d9681 100644
--- a/kpoker/top.h
+++ b/kpoker/top.h
@@ -22,7 +22,7 @@
#include <kmainwindow.h>
-class QLabel;
+class TQLabel;
class KToggleAction;
class kpok;
diff --git a/kreversi/kreversi.h b/kreversi/kreversi.h
index a106623c..f8ea3bb6 100644
--- a/kreversi/kreversi.h
+++ b/kreversi/kreversi.h
@@ -51,7 +51,7 @@
#include "qreversigameview.h"
-class QLabel;
+class TQLabel;
class KAction;
diff --git a/kreversi/qreversigameview.h b/kreversi/qreversigameview.h
index 59855fa9..97cc1738 100644
--- a/kreversi/qreversigameview.h
+++ b/kreversi/qreversigameview.h
@@ -50,7 +50,7 @@
class KConfig;
-class QLabel;
+class TQLabel;
class QReversiGame;
diff --git a/ksmiletris/gamewidget.h b/ksmiletris/gamewidget.h
index ca826395..f1a84b6c 100644
--- a/ksmiletris/gamewidget.h
+++ b/ksmiletris/gamewidget.h
@@ -32,7 +32,7 @@ this software.
class ScreenWidget;
class MirrorWidget;
class NextPieceWidget;
-class QTimer;
+class TQTimer;
class GameWidget : public TQWidget {
Q_OBJECT
diff --git a/ksmiletris/gamewindow.h b/ksmiletris/gamewindow.h
index cb06bae5..f8fff3f8 100644
--- a/ksmiletris/gamewindow.h
+++ b/ksmiletris/gamewindow.h
@@ -29,7 +29,7 @@ this software.
#include "ksmiletris.h"
class KMenuBar;
-class QPopupMenu;
+class TQPopupMenu;
class GameWidget;
class KStatusBar;
diff --git a/ksnake/startroom.h b/ksnake/startroom.h
index 683cd6e1..3750b6c4 100644
--- a/ksnake/startroom.h
+++ b/ksnake/startroom.h
@@ -28,8 +28,8 @@
#include <tqwidget.h>
-class QLabel;
-class QSpinBox;
+class TQLabel;
+class TQSpinBox;
class StartRoom : public QWidget
{
diff --git a/ksokoban/ImageData.h b/ksokoban/ImageData.h
index ae2f2a42..bde2ded9 100644
--- a/ksokoban/ImageData.h
+++ b/ksokoban/ImageData.h
@@ -26,7 +26,7 @@
#include <krandomsequence.h>
-class QPainter;
+class TQPainter;
#define SMALL_STONES 4
#define LARGE_STONES 6
diff --git a/ksokoban/MainWindow.h b/ksokoban/MainWindow.h
index 19ff4060..30c1fbb3 100644
--- a/ksokoban/MainWindow.h
+++ b/ksokoban/MainWindow.h
@@ -27,10 +27,10 @@
class KMenuBar;
class PlayField;
-class QPopupMenu;
-class QFocusEvent;
-class QDragEnterEvent;
-class QDropEvent;
+class TQPopupMenu;
+class TQFocusEvent;
+class TQDragEnterEvent;
+class TQDropEvent;
class LevelCollection;
class MainWindow : public KMainWindow {
diff --git a/ksokoban/PlayField.h b/ksokoban/PlayField.h
index 0066442a..2a70b4b9 100644
--- a/ksokoban/PlayField.h
+++ b/ksokoban/PlayField.h
@@ -38,8 +38,8 @@ class Move;
class History;
class Bookmark;
class LevelCollection;
-class QPainter;
-class QCursor;
+class TQPainter;
+class TQCursor;
class PlayField : public TQWidget {
Q_OBJECT
diff --git a/kspaceduel/dialogs.h b/kspaceduel/dialogs.h
index 2cfe08ba..9a9bdb8b 100644
--- a/kspaceduel/dialogs.h
+++ b/kspaceduel/dialogs.h
@@ -1,13 +1,13 @@
#ifndef __SP_DIALOG_H
#define __SP_DIALOG_H
-class QPushButton;
-class QLabel;
-class QComboBox;
-class QTabWidget;
-class QSlider;
-class QLCDNumber;
-class QCheckBox;
+class TQPushButton;
+class TQLabel;
+class TQComboBox;
+class TQTabWidget;
+class TQSlider;
+class TQLCDNumber;
+class TQCheckBox;
#include <kconfigdialog.h>
diff --git a/kspaceduel/playerinfo.h b/kspaceduel/playerinfo.h
index 42fc8158..022d533e 100644
--- a/kspaceduel/playerinfo.h
+++ b/kspaceduel/playerinfo.h
@@ -3,7 +3,7 @@
#include <tqframe.h>
#include <tqlabel.h>
-class QPixmap;
+class TQPixmap;
#include <tqlcdnumber.h>
#include <tqcolor.h>
diff --git a/ktuberling/playground.h b/ktuberling/playground.h
index a84a7e63..bdb7e47f 100644
--- a/ktuberling/playground.h
+++ b/ktuberling/playground.h
@@ -17,7 +17,7 @@
#include "todraw.h"
#include "action.h"
-class QDomDocument;
+class TQDomDocument;
class TopLevel;
class PlayGround : public QWidget
diff --git a/ktuberling/soundfactory.h b/ktuberling/soundfactory.h
index 7ea0d532..6fcf9abb 100644
--- a/ktuberling/soundfactory.h
+++ b/ktuberling/soundfactory.h
@@ -10,7 +10,7 @@
#include "tqobject.h"
-class QDomDocument;
+class TQDomDocument;
class TopLevel;
class SoundFactory : public QObject
diff --git a/ktuberling/toplevel.h b/ktuberling/toplevel.h
index 31848f0f..26993202 100644
--- a/ktuberling/toplevel.h
+++ b/ktuberling/toplevel.h
@@ -11,7 +11,7 @@
#include <kmainwindow.h>
#include <kurl.h>
-class QDomDocument;
+class TQDomDocument;
class PlayGround;
class SoundFactory;
diff --git a/kwin4/kwin4/kspritecache.cpp b/kwin4/kwin4/kspritecache.cpp
index d293911b..d8ab3b9b 100644
--- a/kwin4/kwin4/kspritecache.cpp
+++ b/kwin4/kwin4/kspritecache.cpp
@@ -157,7 +157,7 @@ TQCanvasItem *KSpriteCache::getItem(TQString name,int no)
}
TQPixmap * KSpriteCache::loadPixmap(TQString file,TQString mask,TQString dir)
{
- TQPixmap *newP=new QPixmap;
+ TQPixmap *newP=new TQPixmap;
bool result1=false;
bool result2=false;
if (dir.isNull()) dir=grafixDir(); // default dir
diff --git a/kwin4/kwin4/kwin4.h b/kwin4/kwin4/kwin4.h
index bca0a4f0..a2de5052 100644
--- a/kwin4/kwin4/kwin4.h
+++ b/kwin4/kwin4/kwin4.h
@@ -27,7 +27,7 @@ class KGameChat;
class KChatDialog;
class Kwin4Doc;
class Kwin4View;
-class QVButtonGroup;
+class TQVButtonGroup;
class KPlayer;
/**
diff --git a/kwin4/kwin4/kwin4doc.h b/kwin4/kwin4/kwin4doc.h
index 7679dc05..4e77647d 100644
--- a/kwin4/kwin4/kwin4doc.h
+++ b/kwin4/kwin4/kwin4doc.h
@@ -25,7 +25,7 @@
#include "kwin4player.h"
class Kwin4View;
-class QCanvasItem;
+class TQCanvasItem;
extern int global_debug;
diff --git a/kwin4/kwin4/scorewidget.h b/kwin4/kwin4/scorewidget.h
index 7814467b..c6e525cd 100644
--- a/kwin4/kwin4/scorewidget.h
+++ b/kwin4/kwin4/scorewidget.h
@@ -2,11 +2,11 @@
#define _SCOREWIDGET_H
#include <tqframe.h>
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QGroupBox;
-class QLabel;
+class TQVBoxLayout;
+class TQHBoxLayout;
+class TQGridLayout;
+class TQGroupBox;
+class TQLabel;
class ScoreWidget : public QFrame
{
diff --git a/libkdegames/highscore/kexthighscore.h b/libkdegames/highscore/kexthighscore.h
index 6dac5ff7..5809a896 100644
--- a/libkdegames/highscore/kexthighscore.h
+++ b/libkdegames/highscore/kexthighscore.h
@@ -25,7 +25,7 @@
#include <kurl.h>
#include <kdemacros.h>
-class QTabWidget;
+class TQTabWidget;
namespace KExtHighscore
diff --git a/libkdegames/highscore/kexthighscore_internal.h b/libkdegames/highscore/kexthighscore_internal.h
index 639c059b..ff70c5cd 100644
--- a/libkdegames/highscore/kexthighscore_internal.h
+++ b/libkdegames/highscore/kexthighscore_internal.h
@@ -28,9 +28,9 @@
#include "khighscore.h"
#include "kexthighscore.h"
-class QTextStream;
-class QTabWidget;
-class QDomNamedNodeMap;
+class TQTextStream;
+class TQTabWidget;
+class TQDomNamedNodeMap;
namespace KExtHighscore
diff --git a/libkdegames/highscore/kexthighscore_item.h b/libkdegames/highscore/kexthighscore_item.h
index ff067bd2..490908d7 100644
--- a/libkdegames/highscore/kexthighscore_item.h
+++ b/libkdegames/highscore/kexthighscore_item.h
@@ -25,7 +25,7 @@
#include <tqmap.h>
#include <tqvaluevector.h>
#include <kdemacros.h>
-class QWidget;
+class TQWidget;
namespace KExtHighscore
diff --git a/libkdegames/highscore/kexthighscore_tab.h b/libkdegames/highscore/kexthighscore_tab.h
index 3d31bc95..4303209d 100644
--- a/libkdegames/highscore/kexthighscore_tab.h
+++ b/libkdegames/highscore/kexthighscore_tab.h
@@ -23,7 +23,7 @@
#include <tqcombobox.h>
#include <tqmemarray.h>
-class QLabel;
+class TQLabel;
class KListView;
diff --git a/libkdegames/highscore/kscoredialog.h b/libkdegames/highscore/kscoredialog.h
index 50424caa..d5a7eac0 100644
--- a/libkdegames/highscore/kscoredialog.h
+++ b/libkdegames/highscore/kscoredialog.h
@@ -30,9 +30,9 @@ this software.
#include <kdialogbase.h>
#include <kdemacros.h>
-class QGridLayout;
-class QLineEdit;
-class QWidgetStack;
+class TQGridLayout;
+class TQLineEdit;
+class TQWidgetStack;
/**
* A simple high score dialog.
diff --git a/libkdegames/kcanvasrootpixmap.h b/libkdegames/kcanvasrootpixmap.h
index 2da77746..6aedef16 100644
--- a/libkdegames/kcanvasrootpixmap.h
+++ b/libkdegames/kcanvasrootpixmap.h
@@ -23,7 +23,7 @@
#include <krootpixmap.h>
#include <kdemacros.h>
-class QCanvasView;
+class TQCanvasView;
/**
* Implement KRootPixmap for a TQCanvasView.
diff --git a/libkdegames/kcarddialog.h b/libkdegames/kcarddialog.h
index fae37b97..7cdc82b6 100644
--- a/libkdegames/kcarddialog.h
+++ b/libkdegames/kcarddialog.h
@@ -24,7 +24,7 @@
#include <tqmap.h> // TODO: remove - it is in kcarddialog.cpp now; left here for source compatibility
#include <kdemacros.h>
-class QIconViewItem;
+class TQIconViewItem;
class KConfig;
diff --git a/libkdegames/kchatbase.h b/libkdegames/kchatbase.h
index e808dd1d..7dc5ff59 100644
--- a/libkdegames/kchatbase.h
+++ b/libkdegames/kchatbase.h
@@ -25,7 +25,7 @@
#include <kglobalsettings.h>
#include <kdemacros.h>
-class QListBoxItem;
+class TQListBoxItem;
class KConfig;
diff --git a/libkdegames/kgame/dialogs/kgamedialog.h b/libkdegames/kgame/dialogs/kgamedialog.h
index f3256d8a..709f71c6 100644
--- a/libkdegames/kgame/dialogs/kgamedialog.h
+++ b/libkdegames/kgame/dialogs/kgamedialog.h
@@ -30,9 +30,9 @@
#include <kdialogbase.h>
#include <kdemacros.h>
-class QGridLayout;
-class QVBoxLayout;
-class QListBoxItem;
+class TQGridLayout;
+class TQVBoxLayout;
+class TQListBoxItem;
class KGame;
class KPlayer;
diff --git a/libkdegames/kgame/dialogs/kgamedialogconfig.h b/libkdegames/kgame/dialogs/kgamedialogconfig.h
index e1b592af..911c63aa 100644
--- a/libkdegames/kgame/dialogs/kgamedialogconfig.h
+++ b/libkdegames/kgame/dialogs/kgamedialogconfig.h
@@ -31,9 +31,9 @@
#include <tqwidget.h>
#include <kdemacros.h>
-class QGridLayout;
-class QVBoxLayout;
-class QListBoxItem;
+class TQGridLayout;
+class TQVBoxLayout;
+class TQListBoxItem;
class KGame;
class KPlayer;
diff --git a/libkdegames/kgame/kgamepropertyhandler.h b/libkdegames/kgame/kgamepropertyhandler.h
index ec7fec06..29a57cf1 100644
--- a/libkdegames/kgame/kgamepropertyhandler.h
+++ b/libkdegames/kgame/kgamepropertyhandler.h
@@ -27,7 +27,7 @@
#include "kgameproperty.h"
#include <kdemacros.h>
-class QDataStream;
+class TQDataStream;
class KGame;
class KPlayer;
//class KGamePropertyBase;
diff --git a/libkdegames/kgame/kmessageio.h b/libkdegames/kgame/kmessageio.h
index 8ffa4377..5a102e11 100644
--- a/libkdegames/kgame/kmessageio.h
+++ b/libkdegames/kgame/kmessageio.h
@@ -32,9 +32,9 @@
#include <tqfile.h>
#include <kdebug.h>
-class QSocket;
+class TQSocket;
class KProcess;
-//class QFile;
+//class TQFile;
/**
diff --git a/libkdegames/kgame/kmessageserver.cpp b/libkdegames/kgame/kmessageserver.cpp
index 105f35da..618a6079 100644
--- a/libkdegames/kgame/kmessageserver.cpp
+++ b/libkdegames/kgame/kmessageserver.cpp
@@ -369,7 +369,7 @@ void KMessageServer::getReceivedMessage (const TQByteArray &msg)
KMessageIO *client = (KMessageIO *) sender();
Q_UINT32 clientID = client->id();
- //TQByteArray *ta=new QByteArray;
+ //TQByteArray *ta=new TQByteArray;
//ta->duplicate(msg);
//d->mMessageQueue.enqueue (new MessageBuffer (clientID, *ta));
diff --git a/libkdegames/kgamelcd.h b/libkdegames/kgamelcd.h
index f7d2c58d..214af1f5 100644
--- a/libkdegames/kgamelcd.h
+++ b/libkdegames/kgamelcd.h
@@ -24,8 +24,8 @@
#include <tqvaluevector.h>
#include <kdemacros.h>
-class QLabel;
-class QTimer;
+class TQLabel;
+class TQTimer;
//-----------------------------------------------------------------------------
/**
diff --git a/libkdegames/kstdgameaction.h b/libkdegames/kstdgameaction.h
index dd653165..3ef24dc2 100644
--- a/libkdegames/kstdgameaction.h
+++ b/libkdegames/kstdgameaction.h
@@ -23,7 +23,7 @@
class KAction;
class KToggleAction;
-class QObject;
+class TQObject;
class KActionCollection;
class KRecentFilesAction;
class KSelectAction;
diff --git a/libksirtet/base/factory.h b/libksirtet/base/factory.h
index 60717f4c..b772adb7 100644
--- a/libksirtet/base/factory.h
+++ b/libksirtet/base/factory.h
@@ -26,7 +26,7 @@ struct BaseBoardInfo {
class BaseBoard;
class BaseInterface;
-class QWidget;
+class TQWidget;
class KAboutData;
#define bfactory BaseFactory::self()
diff --git a/libksirtet/base/field.h b/libksirtet/base/field.h
index f4478ad5..e9366f4c 100644
--- a/libksirtet/base/field.h
+++ b/libksirtet/base/field.h
@@ -5,13 +5,13 @@
#include <kdemacros.h>
-class QVBoxLayout;
-class QGridLayout;
+class TQVBoxLayout;
+class TQGridLayout;
class KGameLCD;
class KGameLCDList;
class BaseBoard;
-class QLabel;
-class QButton;
+class TQLabel;
+class TQButton;
class GTInitData;
class KCanvasRootPixmap;
diff --git a/libksirtet/base/inter.h b/libksirtet/base/inter.h
index ac72b61c..3bf394db 100644
--- a/libksirtet/base/inter.h
+++ b/libksirtet/base/inter.h
@@ -1,7 +1,7 @@
#ifndef BASE_INTER_H
#define BASE_INTER_H
-class QWidget;
+class TQWidget;
class BaseInterface
diff --git a/libksirtet/base/settings.h b/libksirtet/base/settings.h
index 37d0aea7..d32415c6 100644
--- a/libksirtet/base/settings.h
+++ b/libksirtet/base/settings.h
@@ -4,7 +4,7 @@
#include <tqwidget.h>
#include <kconfig.h>
-class QGridLayout;
+class TQGridLayout;
//-----------------------------------------------------------------------------
diff --git a/libksirtet/lib/mp_interface.h b/libksirtet/lib/mp_interface.h
index e52ea9f7..dbd26869 100644
--- a/libksirtet/lib/mp_interface.h
+++ b/libksirtet/lib/mp_interface.h
@@ -8,7 +8,7 @@
#include "mp_board.h"
#include "mp_option.h"
-class QHBoxLayout;
+class TQHBoxLayout;
class Local;
class ConnectionData;
class RemoteHostData;
diff --git a/libksirtet/lib/pline.h b/libksirtet/lib/pline.h
index 7d6e97e7..d9969264 100644
--- a/libksirtet/lib/pline.h
+++ b/libksirtet/lib/pline.h
@@ -10,7 +10,7 @@
#include "types.h"
-class QPushButton;
+class TQPushButton;
/** Internal class : display a "player line" in netmeeting. */
class MeetingLine : public QFrame
diff --git a/lskat/lskat/KRSocket.h b/lskat/lskat/KRSocket.h
index 40c1e51c..faf1c975 100644
--- a/lskat/lskat/KRSocket.h
+++ b/lskat/lskat/KRSocket.h
@@ -40,7 +40,7 @@
#include <sys/un.h>
#include <netinet/in.h>
-class QSocketNotifier;
+class TQSocketNotifier;
#ifdef INET6
typedef sockaddr_in6 ksockaddr_in;
diff --git a/lskat/lskat/namedlg.cpp b/lskat/lskat/namedlg.cpp
index 2004a9af..4bbffad7 100644
--- a/lskat/lskat/namedlg.cpp
+++ b/lskat/lskat/namedlg.cpp
@@ -38,7 +38,7 @@ NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /*
vbox->setSpacing( 6 );
vbox->setMargin( 11 );
- hbox = new QHBoxLayout;
+ hbox = new TQHBoxLayout;
hbox->setSpacing( 6 );
hbox->setMargin( 0 );
@@ -52,11 +52,11 @@ NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /*
vbox_2->setSpacing( 6 );
vbox_2->setMargin( 11 );
- vbox_3 = new QVBoxLayout;
+ vbox_3 = new TQVBoxLayout;
vbox_3->setSpacing( 6 );
vbox_3->setMargin( 0 );
- hbox_2 = new QHBoxLayout;
+ hbox_2 = new TQHBoxLayout;
hbox_2->setSpacing( 6 );
hbox_2->setMargin( 0 );
@@ -71,7 +71,7 @@ NameDlg::NameDlg( TQWidget *parent, const char *name,bool /* modal */, WFlags /*
hbox_2->addWidget( edit_player1 );
vbox_3->addLayout( hbox_2 );
- hbox_3 = new QHBoxLayout;
+ hbox_3 = new TQHBoxLayout;
hbox_3->setSpacing( 6 );
hbox_3->setMargin( 0 );
diff --git a/lskat/lskat/namedlg.h b/lskat/lskat/namedlg.h
index 000de21e..df236595 100644
--- a/lskat/lskat/namedlg.h
+++ b/lskat/lskat/namedlg.h
@@ -10,13 +10,13 @@
#define NAMEDLG_H
#include <kdialogbase.h>
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QGroupBox;
-class QLabel;
-class QLineEdit;
-class QPushButton;
+class TQVBoxLayout;
+class TQHBoxLayout;
+class TQGridLayout;
+class TQGroupBox;
+class TQLabel;
+class TQLineEdit;
+class TQPushButton;
class NameDlg : public KDialogBase
{