diff options
Diffstat (limited to 'digikam/libs/threadimageio/loadsavetask.h')
-rw-r--r-- | digikam/libs/threadimageio/loadsavetask.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/digikam/libs/threadimageio/loadsavetask.h b/digikam/libs/threadimageio/loadsavetask.h index 13b2df2b..833f86fa 100644 --- a/digikam/libs/threadimageio/loadsavetask.h +++ b/digikam/libs/threadimageio/loadsavetask.h @@ -208,7 +208,7 @@ class LoadingTask : public LoadSaveTask, public DImgLoaderObserver { public: - enum LoadingTasktqStatus + enum LoadingTaskStatus { LoadingTaskStatusLoading, LoadingTaskStatusPreloading, @@ -216,8 +216,8 @@ public: }; LoadingTask(LoadSaveThread* thread, LoadingDescription description, - LoadingTasktqStatus loadingTasktqStatus = LoadingTaskStatusLoading) - : LoadSaveTask(thread), m_loadingDescription(description), m_loadingTasktqStatus(loadingTasktqStatus) + LoadingTaskStatus loadingTaskStatus = LoadingTaskStatusLoading) + : LoadSaveTask(thread), m_loadingDescription(description), m_loadingTaskStatus(loadingTaskStatus) {} // LoadSaveTask @@ -231,11 +231,11 @@ public: virtual bool continueQuery(const DImg *); virtual bool isShuttingDown(); - virtual void settqStatus(LoadingTasktqStatus status); + virtual void setStatus(LoadingTaskStatus status); - LoadingTasktqStatus status() const + LoadingTaskStatus status() const { - return m_loadingTasktqStatus; + return m_loadingTaskStatus; } TQString filePath() const @@ -251,7 +251,7 @@ public: protected: LoadingDescription m_loadingDescription; - LoadingTasktqStatus m_loadingTasktqStatus; + LoadingTaskStatus m_loadingTaskStatus; }; //--------------------------------------------------------------------------------------------------- @@ -262,15 +262,15 @@ public: SharedLoadingTask(LoadSaveThread* thread, LoadingDescription description, LoadSaveThread::AccessMode mode = LoadSaveThread::AccessModeReadWrite, - LoadingTasktqStatus loadingTasktqStatus = LoadingTaskStatusLoading) - : LoadingTask(thread, description, loadingTasktqStatus), + LoadingTaskStatus loadingTaskStatus = LoadingTaskStatusLoading) + : LoadingTask(thread, description, loadingTaskStatus), m_accessMode(mode), m_completed(false), m_usedProcess(0) {} virtual void execute(); virtual void progressInfo(const DImg *, float progress); virtual bool continueQuery(const DImg *); - virtual void settqStatus(LoadingTasktqStatus status); + virtual void setStatus(LoadingTaskStatus status); // LoadingProcess @@ -319,7 +319,7 @@ class SavingTask : public LoadSaveTask, public DImgLoaderObserver { public: - enum SavingTasktqStatus + enum SavingTaskStatus { SavingTaskStatusSaving, SavingTaskStatusStopping @@ -335,11 +335,11 @@ public: virtual void progressInfo(const DImg *, float progress); virtual bool continueQuery(const DImg *); - virtual void settqStatus(SavingTasktqStatus status); + virtual void setStatus(SavingTaskStatus status); - SavingTasktqStatus status() const + SavingTaskStatus status() const { - return m_savingTasktqStatus; + return m_savingTaskStatus; } TQString filePath() const @@ -352,7 +352,7 @@ private: DImg m_img; TQString m_filePath; TQString m_format; - SavingTasktqStatus m_savingTasktqStatus; + SavingTaskStatus m_savingTaskStatus; }; } // namespace Digikam |