summaryrefslogtreecommitdiffstats
path: root/src/icndocument.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/icndocument.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/icndocument.cpp')
-rw-r--r--src/icndocument.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/icndocument.cpp b/src/icndocument.cpp
index 1273802..b98d5c2 100644
--- a/src/icndocument.cpp
+++ b/src/icndocument.cpp
@@ -279,11 +279,11 @@ bool ICNDocument::canConnect( TQCanvasItem *qcanvasItem1, TQCanvasItem *qcanvasI
//BEGIN Advanced level check
CNItem * startParentItem[3];
for ( unsigned i = 0; i < 3; i++ )
- startParentItem[i] = start[i] ? start[i]->tqparentItem() : 0l;
+ startParentItem[i] = start[i] ? start[i]->parentItem() : 0l;
CNItem * endParentItem[3];
for ( unsigned i = 0; i < 3; i++ )
- endParentItem[i] = end[i] ? end[i]->tqparentItem() : 0l;
+ endParentItem[i] = end[i] ? end[i]->parentItem() : 0l;
Item * container[6] = {0l};
@@ -293,7 +293,7 @@ bool ICNDocument::canConnect( TQCanvasItem *qcanvasItem1, TQCanvasItem *qcanvasI
{
int dl = start[i]->level() - startParentItem[i]->level();
if ( dl == 0 )
- container[i] = startParentItem[i]->tqparentItem();
+ container[i] = startParentItem[i]->parentItem();
else if ( dl == 1 )
container[i] = startParentItem[i];
else
@@ -303,7 +303,7 @@ bool ICNDocument::canConnect( TQCanvasItem *qcanvasItem1, TQCanvasItem *qcanvasI
{
int dl = end[i]->level() - endParentItem[i]->level();
if ( dl == 0 )
- container[i+3] = endParentItem[i]->tqparentItem();
+ container[i+3] = endParentItem[i]->parentItem();
else if ( dl == 1 )
container[i+3] = endParentItem[i];
else
@@ -715,7 +715,7 @@ void ICNDocument::getTranslatable( const ItemList & itemList, ConnectorList * fi
Node *startNode = it.key()->endNode();
Node *endNode = it.key()->startNode();
if ( (it.data() > 1) ||
- (startNode && endNode && startNode->tqparentItem() == endNode->tqparentItem()) )
+ (startNode && endNode && startNode->parentItem() == endNode->parentItem()) )
{
translatableConnectors->append( const_cast<Connector*>(it.key()) );
}
@@ -855,7 +855,7 @@ void ICNDocument::flushDeleteList()
{
(*it)->removeNullConnectors();
int conCount = (*it)->inputConnectorList().count() + (*it)->outputConnectorList().count();
- if ( conCount == 2 && !(*it)->tqparentItem() )
+ if ( conCount == 2 && !(*it)->parentItem() )
{
if ( joinConnectors(*it) )
doneJoin = true;
@@ -873,7 +873,7 @@ void ICNDocument::flushDeleteList()
bool ICNDocument::joinConnectors( Node *node )
{
// We don't want to destroy the node if it has a tqparent
- if ( node->tqparentItem() )
+ if ( node->parentItem() )
return false;
node->removeNullConnectors();
@@ -1208,7 +1208,7 @@ void ICNDocument::rerouteInvalidatedConnectors()
}
}
- // To allow proper rerouting, we want to start with clean routes for all of the tqinvalidated connectors
+ // To allow proper rerouting, we want to start with clean routes for all of the invalidated connectors
const NodeGroupList::iterator nodeGroupRerouteEnd = nodeGroupRerouteList.end();
for ( NodeGroupList::iterator it = nodeGroupRerouteList.begin(); it != nodeGroupRerouteEnd; ++it )
{