summaryrefslogtreecommitdiffstats
path: root/src/itemdocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemdocument.cpp')
-rw-r--r--src/itemdocument.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/itemdocument.cpp b/src/itemdocument.cpp
index 1742094..283eb5f 100644
--- a/src/itemdocument.cpp
+++ b/src/itemdocument.cpp
@@ -494,7 +494,7 @@ TQCanvasItem* ItemDocument::itemAtTop( const TQPoint &pos ) const
else
{
if ( item->rtti() == ItemDocument::RTTI::ConnectorLine )
- return (static_cast<ConnectorLine*>(item))->tqparent();
+ return (static_cast<ConnectorLine*>(item))->parent();
return item;
}
@@ -790,7 +790,7 @@ void ItemDocument::exportToImage()
// widget for the kfiledialog
// It is the bit that says "Crop circuit?"
// Okay need to think of something way better to say here.
- // gotme here, KFileDialog makes itself tqparent so tries to destroy cropCheck when it is deleted.
+ // gotme here, KFileDialog makes itself parent so tries to destroy cropCheck when it is deleted.
// therefore we use a pointer.
TQString cropMessage;
if ( type() == Document::dt_flowcode )