From 1bc48a6ae2706e13093955e8181ac2f58a7ec3ac Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Jan 2024 10:33:17 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/dolphiniconsview.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'src/dolphiniconsview.cpp') diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 6d0084e..f2e898e 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -49,24 +49,24 @@ DolphinIconsView::DolphinIconsView(DolphinView* parent, LayoutMode layoutMode) : setSelectionMode(KFile::Extended); Dolphin& dolphin = Dolphin::mainWin(); - connect(this, TQT_SIGNAL(onItem(TQIconViewItem*)), - this, TQT_SLOT(slotOnItem(TQIconViewItem*))); - connect(this, TQT_SIGNAL(onViewport()), - this, TQT_SLOT(slotOnViewport())); - connect(this, TQT_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)), - this, TQT_SLOT(slotContextMenuRequested(TQIconViewItem*, const TQPoint&))); - connect(this, TQT_SIGNAL(selectionChanged()), - &dolphin, TQT_SLOT(slotSelectionChanged())); - connect(&dolphin, TQT_SIGNAL(activeViewChanged()), - this, TQT_SLOT(slotActivationUpdate())); - connect(this, TQT_SIGNAL(itemRenamed(TQIconViewItem*, const TQString&)), - this, TQT_SLOT(slotItemRenamed(TQIconViewItem*, const TQString&))); - connect(this, TQT_SIGNAL(dropped(TQDropEvent*, const KURL::List&, const KURL&)), - parent, TQT_SLOT(slotURLListDropped(TQDropEvent*, const KURL::List&, const KURL&))); + connect(this, TQ_SIGNAL(onItem(TQIconViewItem*)), + this, TQ_SLOT(slotOnItem(TQIconViewItem*))); + connect(this, TQ_SIGNAL(onViewport()), + this, TQ_SLOT(slotOnViewport())); + connect(this, TQ_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)), + this, TQ_SLOT(slotContextMenuRequested(TQIconViewItem*, const TQPoint&))); + connect(this, TQ_SIGNAL(selectionChanged()), + &dolphin, TQ_SLOT(slotSelectionChanged())); + connect(&dolphin, TQ_SIGNAL(activeViewChanged()), + this, TQ_SLOT(slotActivationUpdate())); + connect(this, TQ_SIGNAL(itemRenamed(TQIconViewItem*, const TQString&)), + this, TQ_SLOT(slotItemRenamed(TQIconViewItem*, const TQString&))); + connect(this, TQ_SIGNAL(dropped(TQDropEvent*, const KURL::List&, const KURL&)), + parent, TQ_SLOT(slotURLListDropped(TQDropEvent*, const KURL::List&, const KURL&))); TQClipboard* clipboard = TQApplication::clipboard(); - connect(clipboard, TQT_SIGNAL(dataChanged()), - this, TQT_SLOT(slotUpdateDisabledItems())); + connect(clipboard, TQ_SIGNAL(dataChanged()), + this, TQ_SLOT(slotUpdateDisabledItems())); // KFileIconView creates two actions for zooming, which are directly connected to the // slots KFileIconView::zoomIn() and KFileIconView::zoomOut(). As this behavior is not @@ -111,7 +111,7 @@ void DolphinIconsView::endItemUpdates() // has been finished. Using a delay of 300 ms is a temporary workaround // until the DolphinIconsView will implement the previews by it's own in // future releases. - TQTimer::singleShot(300, this, TQT_SLOT(slotUpdateDisabledItems())); + TQTimer::singleShot(300, this, TQ_SLOT(slotUpdateDisabledItems())); const KFileIconViewItem* item = static_cast(firstItem()); if (item != 0) { -- cgit v1.2.3