diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | a13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch) | |
tree | 1f1d3e407ae668b1448847970b2f1b626083faf6 /kspaceduel | |
parent | 24c5cdc2737fe0044b11a12359606973eb93fc0b (diff) | |
download | tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); |