summaryrefslogtreecommitdiffstats
path: root/src/dolphiniconsview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:33:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:33:17 +0900
commit1bc48a6ae2706e13093955e8181ac2f58a7ec3ac (patch)
tree1d67fedde5ab6603080c8c786d55a1fcb44c45c4 /src/dolphiniconsview.cpp
parent71d014f5e8c8816163fdfdf63fb20e73cd1870e4 (diff)
downloaddolphin-1bc48a6ae2706e13093955e8181ac2f58a7ec3ac.tar.gz
dolphin-1bc48a6ae2706e13093955e8181ac2f58a7ec3ac.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/dolphiniconsview.cpp')
-rw-r--r--src/dolphiniconsview.cpp34
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) {