Commit f7aa3e97 authored by Christian Ehrlicher's avatar Christian Ehrlicher
Browse files

fix signal foundMountPoint()

svn path=/trunk/KDE/kdebase/apps/; revision=676855
parent a21c9644
......@@ -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()));
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment