summaryrefslogtreecommitdiffstats
path: root/src/app/dirviewcontroller.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-30 16:28:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:26:22 +0900
commitf476b77d1dda2e0e45cdf065b1907215c90fccd6 (patch)
treedec65915640fe8ca8f67f9c490575d939b89d5df /src/app/dirviewcontroller.cpp
parent5eb453b778dba31ee1c5956ca9c9d6483c1cd620 (diff)
downloadgwenview-f476b77d.tar.gz
gwenview-f476b77d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 97ea83f8b23cc80320874b97b671c736a83c378a)
Diffstat (limited to 'src/app/dirviewcontroller.cpp')
-rw-r--r--src/app/dirviewcontroller.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/app/dirviewcontroller.cpp b/src/app/dirviewcontroller.cpp
index c93dc0b..0597fc4 100644
--- a/src/app/dirviewcontroller.cpp
+++ b/src/app/dirviewcontroller.cpp
@@ -58,11 +58,11 @@ DirViewController::DirViewController(TQWidget* parent)
d->mTreeView=new TreeView(parent);
- connect(d->mTreeView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotTreeViewSelectionChanged(TQListViewItem*)) );
+ connect(d->mTreeView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotTreeViewSelectionChanged(TQListViewItem*)) );
- connect(d->mTreeView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotTreeViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
+ connect(d->mTreeView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotTreeViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
}
@@ -90,12 +90,12 @@ void DirViewController::slotTreeViewSelectionChanged(TQListViewItem* item) {
void DirViewController::slotTreeViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint& pos) {
TQPopupMenu menu(d->mTreeView);
- menu.insertItem(SmallIcon("folder-new"),i18n("New Folder..."),this,TQT_SLOT(makeDir()));
+ menu.insertItem(SmallIcon("folder-new"),i18n("New Folder..."),this,TQ_SLOT(makeDir()));
menu.insertSeparator();
- menu.insertItem(i18n("Rename..."),this,TQT_SLOT(renameDir()));
- menu.insertItem(SmallIcon("edit-delete"),i18n("Delete"),this,TQT_SLOT(removeDir()));
+ menu.insertItem(i18n("Rename..."),this,TQ_SLOT(renameDir()));
+ menu.insertItem(SmallIcon("edit-delete"),i18n("Delete"),this,TQ_SLOT(removeDir()));
menu.insertSeparator();
- menu.insertItem(i18n("Properties"),this,TQT_SLOT(showPropertiesDialog()));
+ menu.insertItem(i18n("Properties"),this,TQ_SLOT(showPropertiesDialog()));
menu.exec(pos);
}
@@ -103,7 +103,7 @@ void DirViewController::slotTreeViewContextMenu(TDEListView*, TQListViewItem*, c
void DirViewController::makeDir() {
if (!d->mTreeView->currentItem()) return;
- FileOperation::makeDir(d->mTreeView->currentURL(), d->mTreeView, this, TQT_SLOT(slotDirMade()) );
+ FileOperation::makeDir(d->mTreeView->currentURL(), d->mTreeView, this, TQ_SLOT(slotDirMade()) );
}