diff options
Diffstat (limited to 'krusader/Panel/krcalcspacedialog.h')
-rw-r--r-- | krusader/Panel/krcalcspacedialog.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/krusader/Panel/krcalcspacedialog.h b/krusader/Panel/krcalcspacedialog.h index f729ddb..27bafb3 100644 --- a/krusader/Panel/krcalcspacedialog.h +++ b/krusader/Panel/krcalcspacedialog.h @@ -58,7 +58,7 @@ class KrCalcSpaceDialog : public KDialogBase{ needed. Creator must call finished(), if the thread is no longer needed. */ class CalcThread : public TQThread{ - KIO::filesize_t m_totalSize, m_currentSize; + TDEIO::filesize_t m_totalSize, m_currentSize; unsigned long m_totalFiles; unsigned long m_totalDirs; const TQStringList m_items; @@ -70,7 +70,7 @@ class KrCalcSpaceDialog : public KDialogBase{ bool m_stop; void cleanUp(); // Deletes this, if possible public: - KIO::filesize_t getTotalSize() const {return m_totalSize + m_currentSize;} // the result + TDEIO::filesize_t getTotalSize() const {return m_totalSize + m_currentSize;} // the result unsigned long getTotalFiles() const {return m_totalFiles;} // the result unsigned long getTotalDirs() const {return m_totalDirs;} // the result const TQStringList & getItems() const {return m_items;} // list of directories to calculate @@ -87,7 +87,7 @@ class KrCalcSpaceDialog : public KDialogBase{ int m_timerCounter; // internal counter. The timer runs faster as the rehresh (see comment there) void calculationFinished(); // called if the calulation is done void showResult(); // show the current result in teh dialog - static void setDirSize(KrDetailedViewItem * viewItem, KIO::filesize_t size) {viewItem->setSize(size);} + static void setDirSize(KrDetailedViewItem * viewItem, TDEIO::filesize_t size) {viewItem->setSize(size);} protected slots: void timer(); // poll timer was fired void slotCancel(); // cancel was pressed @@ -95,7 +95,7 @@ public: // autoclose: wait 3 sec. before showing the dialog. Close it, when done KrCalcSpaceDialog(TQWidget *parent, ListPanel * panel, const TQStringList & items, bool autoclose); ~KrCalcSpaceDialog(); - KIO::filesize_t getTotalSize() const {return m_thread->getTotalSize();} // the result + TDEIO::filesize_t getTotalSize() const {return m_thread->getTotalSize();} // the result unsigned long getTotalFiles() const {return m_thread->getTotalFiles();} // the result unsigned long getTotalDirs() const {return m_thread->getTotalDirs();} // the result bool wasCanceled() const {return m_canceled;} // cancel was pressed; result is probably wrong |