diff options
Diffstat (limited to 'kspaceduel')
-rw-r--r-- | kspaceduel/dialogs.cpp | 8 | ||||
-rw-r--r-- | kspaceduel/dialogs.h | 4 | ||||
-rw-r--r-- | kspaceduel/mainview.cpp | 4 | ||||
-rw-r--r-- | kspaceduel/mainview.h | 2 | ||||
-rw-r--r-- | kspaceduel/playerinfo.cpp | 4 | ||||
-rw-r--r-- | kspaceduel/playerinfo.h | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/kspaceduel/dialogs.cpp b/kspaceduel/dialogs.cpp index 843e93ee..34194ad0 100644 --- a/kspaceduel/dialogs.cpp +++ b/kspaceduel/dialogs.cpp @@ -113,8 +113,8 @@ int ConfigSetup::Position[EditNum]= const int LCDLen=6; -ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *tqparent,const char *name) - :TQWidget( tqparent, name ) +ConfigSetup::ConfigSetup(SConfig *custom,TQWidget *parent,const char *name) + :TQWidget( parent, name ) { TQLabel *label[EditNum]; TQGridLayout *stacklayout[TabNum]; @@ -388,8 +388,8 @@ void ConfigSetup::sliderChanged(int val) } -SettingsDialog::SettingsDialog(SConfig *customConfig, TQWidget *tqparent, const char *name) - : KConfigDialog( tqparent, name, Options::self()) +SettingsDialog::SettingsDialog(SConfig *customConfig, TQWidget *parent, const char *name) + : KConfigDialog( parent, name, Options::self()) { General *general = new General(); addPage(general, i18n("General"), "package_settings", i18n("General Settings")); diff --git a/kspaceduel/dialogs.h b/kspaceduel/dialogs.h index 1f769a40..897ef65f 100644 --- a/kspaceduel/dialogs.h +++ b/kspaceduel/dialogs.h @@ -20,7 +20,7 @@ class ConfigSetup:public TQWidget Q_OBJECT TQ_OBJECT public: - ConfigSetup(SConfig *custom,TQWidget *tqparent=0,const char* name=0); + ConfigSetup(SConfig *custom,TQWidget *parent=0,const char* name=0); bool hasChanged(); bool isDefault(); @@ -82,7 +82,7 @@ class SettingsDialog : public KConfigDialog Q_OBJECT TQ_OBJECT public: - SettingsDialog(SConfig *customConfig, TQWidget *tqparent=0, const char *name=0); + SettingsDialog(SConfig *customConfig, TQWidget *parent=0, const char *name=0); ~SettingsDialog(); signals: diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp index 39ab33b9..3f17605a 100644 --- a/kspaceduel/mainview.cpp +++ b/kspaceduel/mainview.cpp @@ -18,8 +18,8 @@ KToggleAction *MyMainView::pauseAction = 0; -MyMainView::MyMainView(TQWidget *tqparent) - :TQWidget(tqparent), +MyMainView::MyMainView(TQWidget *parent) + :TQWidget(parent), field(DEF_WIDTH,DEF_HEIGHT), view(&field,this) { diff --git a/kspaceduel/mainview.h b/kspaceduel/mainview.h index ec182408..d7ed1bdc 100644 --- a/kspaceduel/mainview.h +++ b/kspaceduel/mainview.h @@ -21,7 +21,7 @@ class MyMainView:public TQWidget Q_OBJECT TQ_OBJECT public: - MyMainView(TQWidget *tqparent=0); + MyMainView(TQWidget *parent=0); ~MyMainView(); static KToggleAction *pauseAction; diff --git a/kspaceduel/playerinfo.cpp b/kspaceduel/playerinfo.cpp index 07020fb3..dbb5728d 100644 --- a/kspaceduel/playerinfo.cpp +++ b/kspaceduel/playerinfo.cpp @@ -5,8 +5,8 @@ #include <kstandarddirs.h> -PlayerInfo::PlayerInfo(int pnr,TQWidget *tqparent,const char *name) - :TQFrame(tqparent,name), +PlayerInfo::PlayerInfo(int pnr,TQWidget *parent,const char *name) + :TQFrame(parent,name), lplayer(this),lenergy(this),lwins(this), hitpoints(2,this),energy(2,this),wins(2,this) { diff --git a/kspaceduel/playerinfo.h b/kspaceduel/playerinfo.h index 0963b405..a0f570db 100644 --- a/kspaceduel/playerinfo.h +++ b/kspaceduel/playerinfo.h @@ -12,7 +12,7 @@ class PlayerInfo:public TQFrame Q_OBJECT TQ_OBJECT public: - PlayerInfo(int pnr,TQWidget *tqparent=0,const char *name=0); + PlayerInfo(int pnr,TQWidget *parent=0,const char *name=0); public slots: void setHitpoints(int h); void setEnergy(int e); |