diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:21:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:21:06 +0000 |
commit | 42ca287b531e190dcee0f080f16c420874054129 (patch) | |
tree | 7ce730aa7fe29311d16654eb7c59457b05e03642 /konquest | |
parent | 576eb4299a00bc053db35414406f46372a0f70f2 (diff) | |
download | tdegames-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
Diffstat (limited to 'konquest')
-rw-r--r-- | konquest/fleetdlg.cc | 2 | ||||
-rw-r--r-- | konquest/gameboard.cc | 6 | ||||
-rw-r--r-- | konquest/gameboard.h | 12 | ||||
-rw-r--r-- | konquest/gameenddlg.h | 4 | ||||
-rw-r--r-- | konquest/planet_info.h | 2 | ||||
-rw-r--r-- | konquest/scoredlg.cc | 2 |
6 files changed, 14 insertions, 14 deletions
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 ); |