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 | e47aaa9b34ffc363d268aca989aab28fdfaf9821 (patch) | |
tree | 369b56d21949c574d30f71bdf24bf1e04f5e1877 /src/electronics/switch.cpp | |
parent | e05894553004a47b1e2f276bedcf5963b57a3932 (diff) | |
download | ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.tar.gz ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/electronics/switch.cpp')
-rw-r--r-- | src/electronics/switch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/electronics/switch.cpp b/src/electronics/switch.cpp index f91095a..581b5b1 100644 --- a/src/electronics/switch.cpp +++ b/src/electronics/switch.cpp @@ -23,7 +23,7 @@ #include <stdlib.h> // for rand #include <time.h> -Switch::Switch( Component * tqparent, Pin * p1, Pin * p2, State state ) +Switch::Switch( Component * parent, Pin * p1, Pin * p2, State state ) { m_bouncePeriod_ms = 5; m_bBounce = false; @@ -31,7 +31,7 @@ Switch::Switch( Component * tqparent, Pin * p1, Pin * p2, State state ) m_pBounceResistance = 0l; m_pP1 = p1; m_pP2 = p2; - m_pComponent = tqparent; + m_pComponent = parent; m_pStopBouncingTimer = new TQTimer( this ); connect( m_pStopBouncingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(stopBouncing()) ); |