summaryrefslogtreecommitdiffstats
path: root/src/electronics
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/electronics
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/electronics')
-rw-r--r--src/electronics/ecnode.cpp6
-rw-r--r--src/electronics/ecnode.h2
-rw-r--r--src/electronics/pin.h2
-rw-r--r--src/electronics/simulation/circuit.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/electronics/ecnode.cpp b/src/electronics/ecnode.cpp
index b4079e8..385b98e 100644
--- a/src/electronics/ecnode.cpp
+++ b/src/electronics/ecnode.cpp
@@ -132,11 +132,11 @@ void ECNode::setNodeChanged()
}
-void ECNode::setParentItem( CNItem * tqparentItem )
+void ECNode::setParentItem( CNItem * parentItem )
{
- Node::setParentItem(tqparentItem);
+ Node::setParentItem(parentItem);
- if ( Component * component = dynamic_cast<Component*>(tqparentItem) )
+ if ( Component * component = dynamic_cast<Component*>(parentItem) )
{
connect( component, TQT_SIGNAL(elementDestroyed(Element* )), this, TQT_SLOT(removeElement(Element* )) );
connect( component, TQT_SIGNAL(switchDestroyed( Switch* )), this, TQT_SLOT(removeSwitch( Switch* )) );
diff --git a/src/electronics/ecnode.h b/src/electronics/ecnode.h
index 24d34e4..b75e945 100644
--- a/src/electronics/ecnode.h
+++ b/src/electronics/ecnode.h
@@ -37,7 +37,7 @@ class ECNode : public Node
ECNode( ICNDocument *icnDocument, Node::node_type type, node_dir dir, const TQPoint &pos, TQString *id = 0L );
~ECNode();
- virtual void setParentItem( CNItem *tqparentItem );
+ virtual void setParentItem( CNItem *parentItem );
virtual void drawShape( TQPainter &p );
/**
* Set the number of pins "contained" in this node.
diff --git a/src/electronics/pin.h b/src/electronics/pin.h
index 95aad7c..77a9e80 100644
--- a/src/electronics/pin.h
+++ b/src/electronics/pin.h
@@ -56,7 +56,7 @@ class Pin : public TQObject
Pin( ECNode * tqparent );
~Pin();
- ECNode * tqparentECNode() const { return m_pECNode; }
+ ECNode * parentECNode() const { return m_pECNode; }
/**
* This function returns the pins that are directly connected to this pins:
* either at the ends of connected wires, or via switches.
diff --git a/src/electronics/simulation/circuit.h b/src/electronics/simulation/circuit.h
index c8c53cd..82c1f34 100644
--- a/src/electronics/simulation/circuit.h
+++ b/src/electronics/simulation/circuit.h
@@ -70,7 +70,7 @@ class Circuit
*/
void initCache();
/**
- * Marks all cached results as tqinvalidated and removes them.
+ * Marks all cached results as invalidated and removes them.
*/
void setCacheInvalidated();
/**