diff options
author | Michele Calgaro <[email protected]> | 2023-12-30 16:28:59 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-30 16:28:59 +0900 |
commit | 97ea83f8b23cc80320874b97b671c736a83c378a (patch) | |
tree | 8da6950abf3ecb5696ffd969bac30d6e05ce9620 /src/app/dirviewcontroller.cpp | |
parent | 831670cd1aa76b314b447cfa2d9c71603cbbf43e (diff) | |
download | gwenview-97ea83f8b23cc80320874b97b671c736a83c378a.tar.gz gwenview-97ea83f8b23cc80320874b97b671c736a83c378a.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/app/dirviewcontroller.cpp')
-rw-r--r-- | src/app/dirviewcontroller.cpp | 18 |
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()) ); } |