summaryrefslogtreecommitdiffstats
path: root/parts/bookmarks/bookmarks_widget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:24:33 +0900
committerMichele Calgaro <[email protected]>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /parts/bookmarks/bookmarks_widget.cpp
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'parts/bookmarks/bookmarks_widget.cpp')
-rw-r--r--parts/bookmarks/bookmarks_widget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/bookmarks/bookmarks_widget.cpp b/parts/bookmarks/bookmarks_widget.cpp
index ac14328b..33354269 100644
--- a/parts/bookmarks/bookmarks_widget.cpp
+++ b/parts/bookmarks/bookmarks_widget.cpp
@@ -150,10 +150,10 @@ BookmarksWidget::BookmarksWidget(BookmarksPart *part)
setAllColumnsShowFocus( true );
// setSortColumn( -1 );
- connect( this, TQT_SIGNAL( executed( TQListViewItem * ) ), this, TQT_SLOT( itemClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( returnPressed( TQListViewItem * ) ), this, TQT_SLOT( itemClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
- this, TQT_SLOT( popupMenu(TQListViewItem *, const TQPoint & , int ) ) );
+ connect( this, TQ_SIGNAL( executed( TQListViewItem * ) ), this, TQ_SLOT( itemClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( returnPressed( TQListViewItem * ) ), this, TQ_SLOT( itemClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
+ this, TQ_SLOT( popupMenu(TQListViewItem *, const TQPoint & , int ) ) );
}
@@ -270,18 +270,18 @@ void BookmarksWidget::popupMenu( TQListViewItem * item, const TQPoint & p, int )
popup.insertTitle( _selectedItem->url().fileName() + i18n(", line ")
+ TQString::number( _selectedItem->line() +1 ) );
- popup.insertItem( i18n("Remove This Bookmark"), this, TQT_SLOT( doEmitRemoveBookMark() ) );
+ popup.insertItem( i18n("Remove This Bookmark"), this, TQ_SLOT( doEmitRemoveBookMark() ) );
}
else
{
popup.insertTitle( _selectedItem->url().fileName() + i18n( ", All" ) );
- popup.insertItem( i18n("Remove These Bookmarks"), this, TQT_SLOT( doEmitRemoveBookMark() ) );
+ popup.insertItem( i18n("Remove These Bookmarks"), this, TQ_SLOT( doEmitRemoveBookMark() ) );
}
popup.insertSeparator();
- popup.insertItem( i18n( "Collapse All" ), this, TQT_SLOT(collapseAll()) );
- popup.insertItem( i18n( "Expand All" ), this, TQT_SLOT(expandAll()) );
+ popup.insertItem( i18n( "Collapse All" ), this, TQ_SLOT(collapseAll()) );
+ popup.insertItem( i18n( "Expand All" ), this, TQ_SLOT(expandAll()) );
popup.exec(p);
}