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/statusbarspaceinfo.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/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); } |
