summaryrefslogtreecommitdiffstats
path: root/src/circuitdocument.h
diff options
context:
space:
mode:
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;