diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:38:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-21 23:13:10 +0900 |
commit | dd3ce2e1c41671cffcb72c90f88f536269079869 (patch) | |
tree | b87fa0d6f8911e0009d033326f5e36972ae2f6d3 /klinkstatus/src/ui/treeview.cpp | |
parent | 40eb6401dea18d69ccd84eb13526b9356db621d1 (diff) | |
download | tdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.tar.gz tdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 931991843ab3b6b0b0157dd433c226f7fc2ebc1b)
Diffstat (limited to 'klinkstatus/src/ui/treeview.cpp')
-rw-r--r-- | klinkstatus/src/ui/treeview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/klinkstatus/src/ui/treeview.cpp b/klinkstatus/src/ui/treeview.cpp index 52e7883b..c0cebe68 100644 --- a/klinkstatus/src/ui/treeview.cpp +++ b/klinkstatus/src/ui/treeview.cpp @@ -54,8 +54,8 @@ TreeView::TreeView(TQWidget *parent, const char *name) sub_menu_ = new TQPopupMenu(this, "sub_menu_referrers"); - connect(this, TQT_SIGNAL( rightButtonClicked ( TQListViewItem *, const TQPoint &, int )), - this, TQT_SLOT( slotPopupContextMenu( TQListViewItem *, const TQPoint &, int )) ); + connect(this, TQ_SIGNAL( rightButtonClicked ( TQListViewItem *, const TQPoint &, int )), + this, TQ_SLOT( slotPopupContextMenu( TQListViewItem *, const TQPoint &, int )) ); } @@ -345,14 +345,14 @@ void TreeView::loadContextTableMenu(TQValueVector<KURL> const& referrers, bool i if(!is_root) { - sub_menu_->insertItem(i18n("All"), this, TQT_SLOT(slotEditReferrersWithQuanta())); + sub_menu_->insertItem(i18n("All"), this, TQ_SLOT(slotEditReferrersWithQuanta())); sub_menu_->insertSeparator(); for(uint i = 0; i != referrers.size(); ++i) { sub_menu_->insertItem(referrers[i].prettyURL()); } - connect(sub_menu_, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEditReferrerWithQuanta(int))); + connect(sub_menu_, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEditReferrerWithQuanta(int))); context_table_menu_.insertItem(SmallIconSet("edit"), i18n("Edit Referrer with Quanta"), sub_menu_); @@ -365,21 +365,21 @@ void TreeView::loadContextTableMenu(TQValueVector<KURL> const& referrers, bool i } context_table_menu_.insertItem(SmallIconSet("document-open"), i18n("Open URL"), - this, TQT_SLOT(slotViewUrlInBrowser())); + this, TQ_SLOT(slotViewUrlInBrowser())); context_table_menu_.insertItem(/*SmallIconSet("document-open"), */i18n("Open Referrer URL"), - this, TQT_SLOT(slotViewParentUrlInBrowser())); + this, TQ_SLOT(slotViewParentUrlInBrowser())); context_table_menu_.insertSeparator(); context_table_menu_.insertItem(SmallIconSet("edit-copy"), i18n("Copy URL"), - this, TQT_SLOT(slotCopyUrlToClipboard())); + this, TQ_SLOT(slotCopyUrlToClipboard())); context_table_menu_.insertItem(/*SmallIconSet("edit-copy"), */i18n("Copy Referrer URL"), - this, TQT_SLOT(slotCopyParentUrlToClipboard())); + this, TQ_SLOT(slotCopyParentUrlToClipboard())); context_table_menu_.insertItem(/*SmallIconSet("edit-copy"), */i18n("Copy Cell Text"), - this, TQT_SLOT(slotCopyCellTextToClipboard())); + this, TQ_SLOT(slotCopyCellTextToClipboard())); } TreeViewItem* TreeView::myItem(TQListViewItem* item) const |