diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 10:04:33 +0900 |
commit | 1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch) | |
tree | f9309bc873f0f7838ee21373c32d5fd388da79d9 /kmenuedit/treeview.cpp | |
parent | 55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff) | |
download | tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'kmenuedit/treeview.cpp')
-rw-r--r-- | kmenuedit/treeview.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kmenuedit/treeview.cpp b/kmenuedit/treeview.cpp index 0e15d8d38..8340b4090 100644 --- a/kmenuedit/treeview.cpp +++ b/kmenuedit/treeview.cpp @@ -163,23 +163,23 @@ TreeView::TreeView( bool controlCenter, TDEActionCollection *ac, TQWidget *paren addColumn(""); header()->hide(); - connect(this, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)), - TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*))); + connect(this, TQ_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)), + TQ_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*))); - connect(this, TQT_SIGNAL(clicked( TQListViewItem* )), - TQT_SLOT(itemSelected( TQListViewItem* ))); + connect(this, TQ_SIGNAL(clicked( TQListViewItem* )), + TQ_SLOT(itemSelected( TQListViewItem* ))); - connect(this,TQT_SIGNAL(selectionChanged ( TQListViewItem * )), - TQT_SLOT(itemSelected( TQListViewItem* ))); + connect(this,TQ_SIGNAL(selectionChanged ( TQListViewItem * )), + TQ_SLOT(itemSelected( TQListViewItem* ))); - connect(this, TQT_SIGNAL(rightButtonPressed(TQListViewItem*, const TQPoint&, int)), - TQT_SLOT(slotRMBPressed(TQListViewItem*, const TQPoint&))); + connect(this, TQ_SIGNAL(rightButtonPressed(TQListViewItem*, const TQPoint&, int)), + TQ_SLOT(slotRMBPressed(TQListViewItem*, const TQPoint&))); // connect actions - connect(m_ac->action("newitem"), TQT_SIGNAL(activated()), TQT_SLOT(newitem())); - connect(m_ac->action("newsubmenu"), TQT_SIGNAL(activated()), TQT_SLOT(newsubmenu())); + connect(m_ac->action("newitem"), TQ_SIGNAL(activated()), TQ_SLOT(newitem())); + connect(m_ac->action("newsubmenu"), TQ_SIGNAL(activated()), TQ_SLOT(newsubmenu())); if (m_ac->action("newsep")) - connect(m_ac->action("newsep"), TQT_SIGNAL(activated()), TQT_SLOT(newsep())); + connect(m_ac->action("newsep"), TQ_SIGNAL(activated()), TQ_SLOT(newsep())); m_menuFile = new MenuFile( locateLocal("xdgconf-menu", "applications-tdemenuedit.menu")); m_rootFolder = new MenuFolderInfo; @@ -215,21 +215,21 @@ void TreeView::setViewMode(bool showHidden) if(action) { action->plug(m_rmb); action->setEnabled(false); - connect(action, TQT_SIGNAL(activated()), TQT_SLOT(cut())); + connect(action, TQ_SIGNAL(activated()), TQ_SLOT(cut())); } action = m_ac->action("edit_copy"); if(action) { action->plug(m_rmb); action->setEnabled(false); - connect(action, TQT_SIGNAL(activated()), TQT_SLOT(copy())); + connect(action, TQ_SIGNAL(activated()), TQ_SLOT(copy())); } action = m_ac->action("edit_paste"); if(action) { action->plug(m_rmb); action->setEnabled(false); - connect(action, TQT_SIGNAL(activated()), TQT_SLOT(paste())); + connect(action, TQ_SIGNAL(activated()), TQ_SLOT(paste())); } m_rmb->insertSeparator(); @@ -238,7 +238,7 @@ void TreeView::setViewMode(bool showHidden) if(action) { action->plug(m_rmb); action->setEnabled(false); - connect(action, TQT_SIGNAL(activated()), TQT_SLOT(del())); + connect(action, TQ_SIGNAL(activated()), TQ_SLOT(del())); } m_rmb->insertSeparator(); |