summaryrefslogtreecommitdiffstats
path: root/src/circuitdocument.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9 (patch)
tree31d759580e3bf977fd7fea7a451b535f3c0741a6 /src/circuitdocument.cpp
parent87a016680e3677da3993f333561e79eb0cead7d5 (diff)
downloadktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.tar.gz
ktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/circuitdocument.cpp')
-rw-r--r--src/circuitdocument.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/circuitdocument.cpp b/src/circuitdocument.cpp
index 8948b8d..c8e2d9c 100644
--- a/src/circuitdocument.cpp
+++ b/src/circuitdocument.cpp
@@ -330,7 +330,7 @@ void CircuitDocument::calculateConnectorCurrents()
n->resetCurrent();
n->setSwitchCurrentsUnknown();
- if ( !n->tqparentECNode()->isChildNode() )
+ if ( !n->parentECNode()->isChildNode() )
{
n->setCurrentKnown( true );
// (and it has a current of 0 amps)
@@ -343,7 +343,7 @@ void CircuitDocument::calculateConnectorCurrents()
else
{
// Child node that is non ground
- n->setCurrentKnown( n->tqparentECNode()->numPins() < 2 );
+ n->setCurrentKnown( n->parentECNode()->numPins() < 2 );
}
}
}