diff options
| author | Christian Ehrlicher <[email protected]> | 2007-06-17 21:12:39 +0000 |
|---|---|---|
| committer | Christian Ehrlicher <[email protected]> | 2007-06-17 21:12:39 +0000 |
| commit | 462c8c65b9dfc7f56126b1ae8f23e84e4e54de9e (patch) | |
| tree | 880a5a8eb7e5ac8ce95e70a1b0f4cc0573346cb2 | |
| parent | 4d91d82f115f80137face43b29603c4a8124cc8f (diff) | |
fix signal foundMountPoint()
svn path=/trunk/KDE/kdebase/apps/; revision=676855
| -rw-r--r-- | src/statusbarspaceinfo.cpp | 18 | ||||
| -rw-r--r-- | src/statusbarspaceinfo.h | 10 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp index bb0ed712a..62b46700a 100644 --- a/src/statusbarspaceinfo.cpp +++ b/src/statusbarspaceinfo.cpp @@ -111,9 +111,9 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */) } -void StatusBarSpaceInfo::slotFoundMountPoint(const unsigned long& kBSize, - const unsigned long& kBUsed, - const unsigned long& kBAvailable, +void StatusBarSpaceInfo::slotFoundMountPoint(const quint64& kBSize, + const quint64& kBUsed, + const quint64& kBAvailable, const QString& mountPoint) { Q_UNUSED(kBUsed); @@ -147,13 +147,13 @@ void StatusBarSpaceInfo::refresh() return; KDiskFreeSpace* job = new KDiskFreeSpace(this); - connect(job, SIGNAL(foundMountPoint(const unsigned long&, - const unsigned long&, - const unsigned long&, + connect(job, SIGNAL(foundMountPoint(const quint64&, + const quint64&, + const quint64&, const QString&)), - this, SLOT(slotFoundMountPoint(const unsigned long&, - const unsigned long&, - const unsigned long&, + this, SLOT(slotFoundMountPoint(const quint64&, + const quint64&, + const quint64&, const QString&))); connect(job, SIGNAL(done()), this, SLOT(showResult())); diff --git a/src/statusbarspaceinfo.h b/src/statusbarspaceinfo.h index af3daa16f..c40146431 100644 --- a/src/statusbarspaceinfo.h +++ b/src/statusbarspaceinfo.h @@ -56,9 +56,9 @@ private slots: * bug (?). More details are given inside the class KDiskFreeSp (see * KDE Libs documentation). */ - void slotFoundMountPoint(const unsigned long& kBSize, - const unsigned long& kBUsed, - const unsigned long& kBAvailable, + void slotFoundMountPoint(const quint64& kBSize, + const quint64& kBUsed, + const quint64& kBAvailable, const QString& mountPoint); void showResult(); @@ -76,8 +76,8 @@ private: private: KUrl m_url; bool m_gettingSize; - unsigned long m_kBSize; - unsigned long m_kBAvailable; + quint64 m_kBSize; + quint64 m_kBAvailable; }; #endif |
