diff options
Diffstat (limited to 'konquest')
-rw-r--r-- | konquest/fleetdlg.cc | 6 | ||||
-rw-r--r-- | konquest/fleetdlg.h | 4 | ||||
-rw-r--r-- | konquest/gameboard.cc | 4 | ||||
-rw-r--r-- | konquest/gameboard.h | 2 | ||||
-rw-r--r-- | konquest/gameenddlg.cc | 4 | ||||
-rw-r--r-- | konquest/gameenddlg.h | 2 | ||||
-rw-r--r-- | konquest/int_validator.cc | 8 | ||||
-rw-r--r-- | konquest/int_validator.h | 4 | ||||
-rw-r--r-- | konquest/map_widget.cc | 4 | ||||
-rw-r--r-- | konquest/map_widget.h | 2 | ||||
-rw-r--r-- | konquest/minimap.cc | 4 | ||||
-rw-r--r-- | konquest/minimap.h | 2 | ||||
-rw-r--r-- | konquest/newgamedlg.cc | 4 | ||||
-rw-r--r-- | konquest/newgamedlg.h | 2 | ||||
-rw-r--r-- | konquest/planet_info.cc | 4 | ||||
-rw-r--r-- | konquest/planet_info.h | 2 | ||||
-rw-r--r-- | konquest/scoredlg.cc | 6 | ||||
-rw-r--r-- | konquest/scoredlg.h | 4 |
18 files changed, 34 insertions, 34 deletions
diff --git a/konquest/fleetdlg.cc b/konquest/fleetdlg.cc index e2194089..b78053e4 100644 --- a/konquest/fleetdlg.cc +++ b/konquest/fleetdlg.cc @@ -8,7 +8,7 @@ #include "fleetdlg.h" -FleetDlgListViewItem::FleetDlgListViewItem(TQListView *tqparent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5) : TQListViewItem(tqparent, s1, s2, s3, s4, s5) +FleetDlgListViewItem::FleetDlgListViewItem(TQListView *parent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5) : TQListViewItem(parent, s1, s2, s3, s4, s5) { } @@ -35,8 +35,8 @@ int FleetDlgListViewItem::compare(TQListViewItem *i, int col, bool) const } -FleetDlg::FleetDlg( TQWidget *tqparent, AttackFleetList *fleets ) - : TQDialog(tqparent, "FleetDlg", true ), fleetList(fleets) +FleetDlg::FleetDlg( TQWidget *parent, AttackFleetList *fleets ) + : TQDialog(parent, "FleetDlg", true ), fleetList(fleets) { setCaption( kapp->makeStdCaption(i18n("Fleet Overview")) ); diff --git a/konquest/fleetdlg.h b/konquest/fleetdlg.h index a823cf0c..a82ebfa9 100644 --- a/konquest/fleetdlg.h +++ b/konquest/fleetdlg.h @@ -10,14 +10,14 @@ class FleetDlgListViewItem : public TQListViewItem { public: - FleetDlgListViewItem(TQListView *tqparent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5); + FleetDlgListViewItem(TQListView *parent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5); int compare(TQListViewItem *i, int col, bool) const; }; class FleetDlg : public TQDialog { public: - FleetDlg( TQWidget *tqparent, AttackFleetList *fleets ); + FleetDlg( TQWidget *parent, AttackFleetList *fleets ); private: void init(); diff --git a/konquest/gameboard.cc b/konquest/gameboard.cc index 96433e02..9f1d1a7f 100644 --- a/konquest/gameboard.cc +++ b/konquest/gameboard.cc @@ -33,8 +33,8 @@ /********************************************************************* Game Board *********************************************************************/ -GameBoard::GameBoard( TQWidget *tqparent ) - : TQWidget( tqparent ), gameInProgress( false ), gameState( NONE ) +GameBoard::GameBoard( TQWidget *parent ) + : TQWidget( parent ), gameInProgress( false ), gameState( NONE ) { TQColorGroup cg( white, black, green.light(), green.dark(), green, green.dark(75), green.dark() ); TQPalette palette( cg, cg, cg ); diff --git a/konquest/gameboard.h b/konquest/gameboard.h index 7826d00f..e429a4a4 100644 --- a/konquest/gameboard.h +++ b/konquest/gameboard.h @@ -27,7 +27,7 @@ class GameBoard : public TQWidget TQ_OBJECT public: - GameBoard( TQWidget *tqparent ); + GameBoard( TQWidget *parent ); virtual ~GameBoard(); bool isGameInProgress(void) const { return gameInProgress; } diff --git a/konquest/gameenddlg.cc b/konquest/gameenddlg.cc index 2c31869e..726f0561 100644 --- a/konquest/gameenddlg.cc +++ b/konquest/gameenddlg.cc @@ -11,10 +11,10 @@ #include "gameenddlg.h" #include "gameenddlg.moc" -GameEndDlg::GameEndDlg( TQWidget *tqparent ) +GameEndDlg::GameEndDlg( TQWidget *parent ) : KDialogBase( i18n("Out of Turns"), KDialogBase::Yes|KDialogBase::No, KDialogBase::Yes, KDialogBase::No, - tqparent, "end_game_dialog", true, true ) + parent, "end_game_dialog", true, true ) { TQVBox *page = makeVBoxMainWidget(); diff --git a/konquest/gameenddlg.h b/konquest/gameenddlg.h index 4836a795..19ad48f3 100644 --- a/konquest/gameenddlg.h +++ b/konquest/gameenddlg.h @@ -12,7 +12,7 @@ class GameEndDlg : public KDialogBase TQ_OBJECT public: - GameEndDlg( TQWidget *tqparent ); + GameEndDlg( TQWidget *parent ); virtual ~GameEndDlg(); int extraTurns(); diff --git a/konquest/int_validator.cc b/konquest/int_validator.cc index 06315b18..dd96ca82 100644 --- a/konquest/int_validator.cc +++ b/konquest/int_validator.cc @@ -3,8 +3,8 @@ #include "int_validator.h" #include "int_validator.moc" -IntValidator::IntValidator( TQWidget *tqparent, const char *name ) : - TQValidator( TQT_TQOBJECT(tqparent), name ) +IntValidator::IntValidator( TQWidget *parent, const char *name ) : + TQValidator( TQT_TQOBJECT(parent), name ) { #ifdef INT_MIN v_bottom = INT_MIN; @@ -14,8 +14,8 @@ IntValidator::IntValidator( TQWidget *tqparent, const char *name ) : v_top = INT_MIN; } -IntValidator::IntValidator( int bottom, int top, TQWidget *tqparent, const char *name ) : -TQValidator( TQT_TQOBJECT(tqparent), name ) +IntValidator::IntValidator( int bottom, int top, TQWidget *parent, const char *name ) : +TQValidator( TQT_TQOBJECT(parent), name ) { v_bottom = bottom; v_top = top; diff --git a/konquest/int_validator.h b/konquest/int_validator.h index 4f995158..f1c48ff6 100644 --- a/konquest/int_validator.h +++ b/konquest/int_validator.h @@ -10,8 +10,8 @@ class IntValidator : public TQValidator TQ_OBJECT public: - IntValidator( TQWidget *tqparent, const char *name = 0 ); - IntValidator( int bottom, int top, TQWidget *tqparent, const char *name = 0 ); + IntValidator( TQWidget *parent, const char *name = 0 ); + IntValidator( int bottom, int top, TQWidget *parent, const char *name = 0 ); virtual ~IntValidator(); diff --git a/konquest/map_widget.cc b/konquest/map_widget.cc index e6d8512c..3d0cd67e 100644 --- a/konquest/map_widget.cc +++ b/konquest/map_widget.cc @@ -9,8 +9,8 @@ #include <kglobal.h> #include "map_widget.moc" -ConquestMap::ConquestMap( Map *newMap, TQWidget *tqparent ) - : TQGridView( tqparent ), +ConquestMap::ConquestMap( Map *newMap, TQWidget *parent ) + : TQGridView( parent ), SECTOR_HEIGHT( 28 ), SECTOR_WIDTH( 28 ), BOARD_HEIGHT( newMap->getRows() * SECTOR_HEIGHT ), BOARD_WIDTH( newMap->getColumns() * SECTOR_WIDTH ), diff --git a/konquest/map_widget.h b/konquest/map_widget.h index e408b2dd..4f274a47 100644 --- a/konquest/map_widget.h +++ b/konquest/map_widget.h @@ -20,7 +20,7 @@ class ConquestMap : public TQGridView // Constructors public: - ConquestMap( Map *newMap, TQWidget *tqparent = 0 ); + ConquestMap( Map *newMap, TQWidget *parent = 0 ); virtual ~ConquestMap(); // Interface diff --git a/konquest/minimap.cc b/konquest/minimap.cc index c08e7282..a287ab79 100644 --- a/konquest/minimap.cc +++ b/konquest/minimap.cc @@ -7,8 +7,8 @@ #include "minimap.h" #include "minimap.moc" -MiniMap::MiniMap( TQWidget *tqparent, const char *name ) - : TQGridView( tqparent, name ), +MiniMap::MiniMap( TQWidget *parent, const char *name ) + : TQGridView( parent, name ), SECTOR_HEIGHT( 12 ), SECTOR_WIDTH( 12 ), BOARD_HEIGHT( 10 * SECTOR_HEIGHT ), BOARD_WIDTH( 10 * SECTOR_WIDTH ), diff --git a/konquest/minimap.h b/konquest/minimap.h index 33d90ef2..f285133f 100644 --- a/konquest/minimap.h +++ b/konquest/minimap.h @@ -18,7 +18,7 @@ class MiniMap : public TQGridView // Constructors public: - MiniMap( TQWidget *tqparent = 0, const char* name = 0 ); + MiniMap( TQWidget *parent = 0, const char* name = 0 ); virtual ~MiniMap(); void setMap( Map *newMap ); diff --git a/konquest/newgamedlg.cc b/konquest/newgamedlg.cc index fffe17d4..a3d2718b 100644 --- a/konquest/newgamedlg.cc +++ b/konquest/newgamedlg.cc @@ -25,9 +25,9 @@ New Game Dialog Members ************************************************************************/ -NewGameDlg::NewGameDlg( TQWidget *tqparent, Map *pmap, PlayerList *players, +NewGameDlg::NewGameDlg( TQWidget *parent, Map *pmap, PlayerList *players, Player *neutralPlayer, PlanetList *planets ) - : KDialogBase( tqparent, "new_game_dialog", true, i18n("Start New Game"), + : KDialogBase( parent, "new_game_dialog", true, i18n("Start New Game"), KDialogBase::Ok|KDialogBase::Default|KDialogBase::Cancel, KDialogBase::NoDefault, true ), plrList(players), plnetList(planets), neutral(neutralPlayer), map(pmap) diff --git a/konquest/newgamedlg.h b/konquest/newgamedlg.h index b3c93b2c..874373fe 100644 --- a/konquest/newgamedlg.h +++ b/konquest/newgamedlg.h @@ -18,7 +18,7 @@ class NewGameDlg : public KDialogBase TQ_OBJECT public: - NewGameDlg( TQWidget *tqparent, Map *map, PlayerList *playerList, + NewGameDlg( TQWidget *parent, Map *map, PlayerList *playerList, Player *neutralPlayer, PlanetList *planetList ); int turns( void ); diff --git a/konquest/planet_info.cc b/konquest/planet_info.cc index a9f03034..9343fb81 100644 --- a/konquest/planet_info.cc +++ b/konquest/planet_info.cc @@ -9,8 +9,8 @@ #include <kglobal.h> #include "planet_info.moc" -PlanetInfo::PlanetInfo( TQWidget *tqparent, TQPalette palette ) - : TQFrame( tqparent ) +PlanetInfo::PlanetInfo( TQWidget *parent, TQPalette palette ) + : TQFrame( parent ) { setPalette( palette ); diff --git a/konquest/planet_info.h b/konquest/planet_info.h index c4386cee..ade4b9b7 100644 --- a/konquest/planet_info.h +++ b/konquest/planet_info.h @@ -26,7 +26,7 @@ class PlanetInfo : public TQFrame TQ_OBJECT public: - PlanetInfo( TQWidget *tqparent, TQPalette palette ); + PlanetInfo( TQWidget *parent, TQPalette palette ); virtual ~PlanetInfo(); void setPlanetList( PlanetList &newPlanets ); diff --git a/konquest/scoredlg.cc b/konquest/scoredlg.cc index 3400032e..843867bb 100644 --- a/konquest/scoredlg.cc +++ b/konquest/scoredlg.cc @@ -6,7 +6,7 @@ #include "scoredlg.h" -ScoreDlgListViewItem::ScoreDlgListViewItem(TQListView *tqparent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5, TQString s6) : TQListViewItem(tqparent, s1, s2, s3, s4, s5, s6) +ScoreDlgListViewItem::ScoreDlgListViewItem(TQListView *parent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5, TQString s6) : TQListViewItem(parent, s1, s2, s3, s4, s5, s6) { } @@ -27,8 +27,8 @@ int ScoreDlgListViewItem::compare(TQListViewItem *i, int col, bool) const } -ScoreDlg::ScoreDlg( TQWidget *tqparent, const TQString& title, PlayerList *players ) - : TQDialog(tqparent, "ScoreDlg", true ), plrList(players) +ScoreDlg::ScoreDlg( TQWidget *parent, const TQString& title, PlayerList *players ) + : TQDialog(parent, "ScoreDlg", true ), plrList(players) { setCaption( kapp->makeStdCaption(title) ); diff --git a/konquest/scoredlg.h b/konquest/scoredlg.h index 88b7911d..22fbc549 100644 --- a/konquest/scoredlg.h +++ b/konquest/scoredlg.h @@ -10,7 +10,7 @@ class ScoreDlgListViewItem : public TQListViewItem { public: - ScoreDlgListViewItem(TQListView *tqparent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5, TQString s6); + ScoreDlgListViewItem(TQListView *parent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5, TQString s6); int compare(TQListViewItem *i, int col, bool) const; }; @@ -18,7 +18,7 @@ class ScoreDlg : public TQDialog { public: - ScoreDlg( TQWidget *tqparent, const TQString& title, PlayerList *players ); + ScoreDlg( TQWidget *parent, const TQString& title, PlayerList *players ); private: void init(); |