diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:33:17 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:57:28 +0900 |
| commit | f03ddc53e2767bb7f88374996bb192275de12e51 (patch) | |
| tree | 9612fb1e8b8af0874506f53c77b2a9b748f31bb9 /src/dolphiniconsview.cpp | |
| parent | a822e3e4661711452c3cb35d5efaae67c56a071a (diff) | |
| download | dolphin-f03ddc53.tar.gz dolphin-f03ddc53.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1bc48a6ae2706e13093955e8181ac2f58a7ec3ac)
Diffstat (limited to 'src/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
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<const KFileIconViewItem*>(firstItem()); if (item != 0) { |
