diff options
Diffstat (limited to 'src/app/bookmarkviewcontroller.cpp')
-rw-r--r-- | src/app/bookmarkviewcontroller.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/app/bookmarkviewcontroller.cpp b/src/app/bookmarkviewcontroller.cpp index c703340..d5fc718 100644 --- a/src/app/bookmarkviewcontroller.cpp +++ b/src/app/bookmarkviewcontroller.cpp @@ -192,24 +192,24 @@ BookmarkViewController::BookmarkViewController(TQWidget* parent) d->mListView->setShowToolTips(false); d->mListView->setFullWidth(true); - connect(d->mListView, TQT_SIGNAL(clicked(TQListViewItem*)), - this, TQT_SLOT(slotOpenBookmark(TQListViewItem*)) ); - connect(d->mListView, TQT_SIGNAL(returnPressed(TQListViewItem*)), - this, TQT_SLOT(slotOpenBookmark(TQListViewItem*)) ); - connect(d->mListView, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - this, TQT_SLOT(slotContextMenu(TQListViewItem*)) ); - connect(d->mListView, TQT_SIGNAL(urlDropped(TQDropEvent*, const KURL::List&)), - this, TQT_SLOT(slotURLDropped(TQDropEvent*, const KURL::List&)) ); + connect(d->mListView, TQ_SIGNAL(clicked(TQListViewItem*)), + this, TQ_SLOT(slotOpenBookmark(TQListViewItem*)) ); + connect(d->mListView, TQ_SIGNAL(returnPressed(TQListViewItem*)), + this, TQ_SLOT(slotOpenBookmark(TQListViewItem*)) ); + connect(d->mListView, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + this, TQ_SLOT(slotContextMenu(TQListViewItem*)) ); + connect(d->mListView, TQ_SIGNAL(urlDropped(TQDropEvent*, const KURL::List&)), + this, TQ_SLOT(slotURLDropped(TQDropEvent*, const KURL::List&)) ); // Init toolbar TDEToolBar* toolbar=new TDEToolBar(d->mBox, "", true); TDEAction* action; toolbar->setIconText(TDEToolBar::IconTextRight); action=new TDEAction(i18n("Add a bookmark (keep it short)", "Add"), "bookmark_add", 0, - this, TQT_SLOT(bookmarkCurrentURL()), d->mActionCollection); + this, TQ_SLOT(bookmarkCurrentURL()), d->mActionCollection); action->plug(toolbar); action=new TDEAction(i18n("Remove a bookmark (keep it short)", "Remove"), "edit-delete", 0, - this, TQT_SLOT(deleteCurrentBookmark()), d->mActionCollection); + this, TQ_SLOT(deleteCurrentBookmark()), d->mActionCollection); action->plug(toolbar); } @@ -225,8 +225,8 @@ void BookmarkViewController::init(KBookmarkManager* manager) { d->mManager=manager; // For now, we ignore the caller parameter and just refresh the full list on update - connect(d->mManager, TQT_SIGNAL(changed(const TQString&, const TQString&)), - this, TQT_SLOT(fill()) ); + connect(d->mManager, TQ_SIGNAL(changed(const TQString&, const TQString&)), + this, TQ_SLOT(fill()) ); fill(); } @@ -256,7 +256,7 @@ void BookmarkViewController::slotURLDropped(TQDropEvent* event, const KURL::List TQPopupMenu menu(lst); int addBookmarkID=menu.insertItem( SmallIcon("bookmark_add"), i18n("&Add Bookmark"), - this, TQT_SLOT(slotBookmarkDroppedURL()) ); + this, TQ_SLOT(slotBookmarkDroppedURL()) ); if (urls.count()==1) { d->mDroppedURL=*urls.begin(); } else { @@ -293,16 +293,16 @@ void BookmarkViewController::slotContextMenu(TQListViewItem* item_) { BookmarkItem* item=static_cast<BookmarkItem*>(item_); TQPopupMenu menu(d->mListView); menu.insertItem(SmallIcon("bookmark_add"), i18n("Add Bookmark..."), - this, TQT_SLOT(bookmarkCurrentURL())); + this, TQ_SLOT(bookmarkCurrentURL())); menu.insertItem(SmallIcon("bookmark_folder"), i18n("Add Bookmark Folder..."), - this, TQT_SLOT(addBookmarkGroup())); + this, TQ_SLOT(addBookmarkGroup())); if (item) { menu.insertSeparator(); menu.insertItem(SmallIcon("edit"), i18n("Edit..."), - this, TQT_SLOT(editCurrentBookmark())); + this, TQ_SLOT(editCurrentBookmark())); menu.insertItem(SmallIcon("edit-delete"), i18n("Delete"), - this, TQT_SLOT(deleteCurrentBookmark())); + this, TQ_SLOT(deleteCurrentBookmark())); } menu.exec(TQCursor::pos()); } |