diff options
author | Michele Calgaro <[email protected]> | 2024-01-05 10:33:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-05 10:33:17 +0900 |
commit | 1bc48a6ae2706e13093955e8181ac2f58a7ec3ac (patch) | |
tree | 1d67fedde5ab6603080c8c786d55a1fcb44c45c4 /src/statusbarspaceinfo.cpp | |
parent | 71d014f5e8c8816163fdfdf63fb20e73cd1870e4 (diff) | |
download | dolphin-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.cpp | 12 |
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); } |