summaryrefslogtreecommitdiffstats
path: root/src/circuitdocument.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commite05894553004a47b1e2f276bedcf5963b57a3932 (patch)
tree2c12af14a609c053131e3a463068fa7589e6ac6a /src/circuitdocument.h
parent60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff)
downloadktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.tar.gz
ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/circuitdocument.h')
-rw-r--r--src/circuitdocument.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/circuitdocument.h b/src/circuitdocument.h
index 76db48c..ed874bd 100644
--- a/src/circuitdocument.h
+++ b/src/circuitdocument.h
@@ -39,13 +39,13 @@ typedef TQValueList<TQGuardedPtr<Wire> > WireList;
class Circuitoid
{
public:
- bool tqcontains( Pin *node ) { return pinList.tqcontains(node); }
- bool tqcontains( Wire *con ) { return wireList.tqcontains(con); }
- bool tqcontains( Element *ele ) { return elementList.tqcontains(ele); }
+ bool contains( Pin *node ) { return pinList.contains(node); }
+ bool contains( Wire *con ) { return wireList.contains(con); }
+ bool contains( Element *ele ) { return elementList.contains(ele); }
- void addPin( Pin *node ) { if (node && !tqcontains(node)) pinList += node; }
- void addWire( Wire *con ) { if (con && !tqcontains(con)) wireList += con; }
- void addElement( Element *ele ) { if (ele && !tqcontains(ele)) elementList += ele; }
+ void addPin( Pin *node ) { if (node && !contains(node)) pinList += node; }
+ void addWire( Wire *con ) { if (con && !contains(con)) wireList += con; }
+ void addElement( Element *ele ) { if (ele && !contains(ele)) elementList += ele; }
WireList wireList;
PinList pinList;