diff options
Diffstat (limited to 'kioslave/media/kfile-plugin')
-rw-r--r-- | kioslave/media/kfile-plugin/kfilemediaplugin.cpp | 4 | ||||
-rw-r--r-- | kioslave/media/kfile-plugin/kfilemediaplugin.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/media/kfile-plugin/kfilemediaplugin.cpp b/kioslave/media/kfile-plugin/kfilemediaplugin.cpp index eff311b0d..c6174da81 100644 --- a/kioslave/media/kfile-plugin/kfilemediaplugin.cpp +++ b/kioslave/media/kfile-plugin/kfilemediaplugin.cpp @@ -121,8 +121,8 @@ bool KFileMediaPlugin::readInfo(KFileMetaInfo &info, uint /*what*/) if ( ::statvfs(TQFile::encodeName(mount_point), &vfs) != -1 ) { - m_total = static_cast<KIO::filesize_t>(vfs.f_blocks) * static_cast<KIO::filesize_t>(vfs.f_frsize); - m_free = static_cast<KIO::filesize_t>(vfs.f_bavail) * static_cast<KIO::filesize_t>(vfs.f_frsize); + m_total = static_cast<TDEIO::filesize_t>(vfs.f_blocks) * static_cast<TDEIO::filesize_t>(vfs.f_frsize); + m_free = static_cast<TDEIO::filesize_t>(vfs.f_bavail) * static_cast<TDEIO::filesize_t>(vfs.f_frsize); m_used = m_total - m_free; int percent = 0; diff --git a/kioslave/media/kfile-plugin/kfilemediaplugin.h b/kioslave/media/kfile-plugin/kfilemediaplugin.h index 7799ffc3d..df99c46c1 100644 --- a/kioslave/media/kfile-plugin/kfilemediaplugin.h +++ b/kioslave/media/kfile-plugin/kfilemediaplugin.h @@ -39,9 +39,9 @@ private: void addMimeType(const char *mimeType); const Medium askMedium(KFileMetaInfo &info); - KIO::filesize_t m_total; - KIO::filesize_t m_used; - KIO::filesize_t m_free; + TDEIO::filesize_t m_total; + TDEIO::filesize_t m_used; + TDEIO::filesize_t m_free; }; #endif |