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 /libkdegames/kgame/kgameio.cpp | |
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 'libkdegames/kgame/kgameio.cpp')
-rw-r--r-- | libkdegames/kgame/kgameio.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libkdegames/kgame/kgameio.cpp b/libkdegames/kgame/kgameio.cpp index a408c0cd..5b736ea0 100644 --- a/libkdegames/kgame/kgameio.cpp +++ b/libkdegames/kgame/kgameio.cpp @@ -117,21 +117,21 @@ void KGameIO::Debug() // ----------------------- Key IO --------------------------- -KGameKeyIO::KGameKeyIO(TQWidget *tqparent) +KGameKeyIO::KGameKeyIO(TQWidget *parent) : KGameIO() { - if (tqparent) + if (parent) { kdDebug(11001) << "Key Event filter installed" << endl; - tqparent->installEventFilter(this); + parent->installEventFilter(this); } } KGameKeyIO::~KGameKeyIO() { - if (tqparent()) + if (parent()) { - tqparent()->removeEventFilter(this); + parent()->removeEventFilter(this); } } @@ -167,22 +167,22 @@ bool KGameKeyIO::eventFilter( TQObject *o, TQEvent *e ) // ----------------------- Mouse IO --------------------------- -KGameMouseIO::KGameMouseIO(TQWidget *tqparent,bool trackmouse) +KGameMouseIO::KGameMouseIO(TQWidget *parent,bool trackmouse) : KGameIO() { - if (tqparent) + if (parent) { kdDebug(11001) << "Mouse Event filter installed tracking=" << trackmouse << endl; - tqparent->installEventFilter(this); - tqparent->setMouseTracking(trackmouse); + parent->installEventFilter(this); + parent->setMouseTracking(trackmouse); } } KGameMouseIO::~KGameMouseIO() { - if (tqparent()) + if (parent()) { - tqparent()->removeEventFilter(this); + parent()->removeEventFilter(this); } } @@ -193,9 +193,9 @@ int KGameMouseIO::rtti() const void KGameMouseIO::setMouseTracking(bool b) { - if (tqparent()) + if (parent()) { - ((TQWidget*)tqparent())->setMouseTracking(b); + ((TQWidget*)parent())->setMouseTracking(b); } } |