diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
commit | 838baf3f99ec5ab81b063eb5449a3381d860f377 (patch) | |
tree | dd31abcfde08ca92e4623b8f50b3d762a87c997a /ksnake/startroom.cpp | |
parent | 2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff) | |
download | tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip |
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksnake/startroom.cpp')
-rw-r--r-- | ksnake/startroom.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksnake/startroom.cpp b/ksnake/startroom.cpp index 24874ee9..a50536e0 100644 --- a/ksnake/startroom.cpp +++ b/ksnake/startroom.cpp @@ -33,23 +33,23 @@ #include "levels.h" -StartRoom::StartRoom( TQWidget *parent, const char *name) - : TQWidget( parent, name ) +StartRoom::StartRoom( TQWidget *tqparent, const char *name) + : TQWidget( tqparent, name ) { TQGridLayout *Form1Layout = new TQGridLayout( this, 1, 1, 11, 6, "Form1Layout"); TQSpacerItem* spacer = new TQSpacerItem( 20, 61, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); Form1Layout->addItem( spacer, 2, 1 ); - TQHBoxLayout *layout1 = new TQHBoxLayout( 0, 0, 6, "layout1"); + TQHBoxLayout *tqlayout1 = new TQHBoxLayout( 0, 0, 6, "tqlayout1"); TQSpacerItem* spacer_2 = new TQSpacerItem( 91, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - layout1->addItem( spacer_2 ); + tqlayout1->addItem( spacer_2 ); picture = new TQLabel( this, "picture" ); - layout1->addWidget( picture ); + tqlayout1->addWidget( picture ); TQSpacerItem* spacer_3 = new TQSpacerItem( 41, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - layout1->addItem( spacer_3 ); + tqlayout1->addItem( spacer_3 ); - Form1Layout->addMultiCellLayout( layout1, 0, 0, 0, 1 ); + Form1Layout->addMultiCellLayout( tqlayout1, 0, 0, 0, 1 ); roomRange = new TQSpinBox( this, "kcfg_StartingRoom" ); roomRange->setMaxValue( 25 ); |