From e05894553004a47b1e2f276bedcf5963b57a3932 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/circuitdocument.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/circuitdocument.h') 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 > 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; -- cgit v1.2.1