summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/listboxrename.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/listboxrename.cpp')
-rw-r--r--kdevdesigner/designer/listboxrename.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdevdesigner/designer/listboxrename.cpp b/kdevdesigner/designer/listboxrename.cpp
index 0a32d292..53f0deea 100644
--- a/kdevdesigner/designer/listboxrename.cpp
+++ b/kdevdesigner/designer/listboxrename.cpp
@@ -113,7 +113,7 @@ bool ListBoxRename::eventFilter( TQObject *, TQEvent * event )
case TQEvent::Resize:
if ( clickedItem && ed && !ed->isHidden() ) {
- TQRect rect = src->itemRect( clickedItem );
+ TQRect rect = src->tqitemRect( clickedItem );
ed->resize( rect.right() - rect.left() - 1,
rect.bottom() - rect.top() - 1 );
}
@@ -130,7 +130,7 @@ void ListBoxRename::showLineEdit()
{
if ( !clickedItem || activity )
return;
- TQRect rect = src->itemRect( clickedItem );
+ TQRect rect = src->tqitemRect( clickedItem );
ed->resize( rect.right() - rect.left() - 1,
rect.bottom() - rect.top() - 1 );
ed->move( rect.left() + 1, rect.top() + 1 );