summaryrefslogtreecommitdiffstats
path: root/src/statusbarspaceinfo.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-05 10:33:17 +0900
committerMichele Calgaro <[email protected]>2024-01-05 10:33:17 +0900
commit1bc48a6ae2706e13093955e8181ac2f58a7ec3ac (patch)
tree1d67fedde5ab6603080c8c786d55a1fcb44c45c4 /src/statusbarspaceinfo.cpp
parent71d014f5e8c8816163fdfdf63fb20e73cd1870e4 (diff)
downloaddolphin-1bc48a6ae2706e13093955e8181ac2f58a7ec3ac.tar.gz
dolphin-1bc48a6ae2706e13093955e8181ac2f58a7ec3ac.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
-rw-r--r--src/statusbarspaceinfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp
index 97283d5..455aa52 100644
--- a/src/statusbarspaceinfo.cpp
+++ b/src/statusbarspaceinfo.cpp
@@ -38,7 +38,7 @@ StatusBarSpaceInfo::StatusBarSpaceInfo(TQWidget* parent) :
// Update the space information each 10 seconds. Polling is useful
// here, as files can be deleted/added outside the scope of Dolphin.
TQTimer* timer = new TQTimer(this);
- connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(refresh()));
+ connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(refresh()));
timer->start(10000);
}
@@ -98,7 +98,7 @@ void StatusBarSpaceInfo::paintEvent(TQPaintEvent* /* event */)
}
else {
text = "";
- TQTimer::singleShot(0, this, TQT_SLOT(hide()));
+ TQTimer::singleShot(0, this, TQ_SLOT(hide()));
}
}
@@ -150,16 +150,16 @@ void StatusBarSpaceInfo::refresh()
const TQString mountPoint(TDEIO::findPathMountPoint(m_url.path()));
KDiskFreeSp* job = new KDiskFreeSp(this);
- connect(job, TQT_SIGNAL(foundMountPoint(const unsigned long&,
+ connect(job, TQ_SIGNAL(foundMountPoint(const unsigned long&,
const unsigned long&,
const unsigned long&,
const TQString& )),
- this, TQT_SLOT(slotFoundMountPoint(const unsigned long&,
+ this, TQ_SLOT(slotFoundMountPoint(const unsigned long&,
const unsigned long&,
const unsigned long&,
const TQString& )));
- connect(job, TQT_SIGNAL(done()),
- this, TQT_SLOT(slotDone()));
+ connect(job, TQ_SIGNAL(done()),
+ this, TQ_SLOT(slotDone()));
job->readDF(mountPoint);
}