diff options
author | Klaas Freitag <freitag@owncloud.com> | 2013-08-17 13:21:32 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2013-08-17 19:57:33 +0400 |
commit | bf978b3e0f567dee51cf448a2924e26eb4abaa02 (patch) | |
tree | 59281e281ad8ff084597764c129c684da183e7df /src/mirall/progressdispatcher.h | |
parent | 0fdaf33288eba4dfa44ca98c0a112995f0b3816a (diff) |
Handle Progress as a namespace rather than a class.
Diffstat (limited to 'src/mirall/progressdispatcher.h')
-rw-r--r-- | src/mirall/progressdispatcher.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mirall/progressdispatcher.h b/src/mirall/progressdispatcher.h index e508f4dc7..4eb750859 100644 --- a/src/mirall/progressdispatcher.h +++ b/src/mirall/progressdispatcher.h @@ -25,9 +25,8 @@ namespace Mirall { /** * @brief The FolderScheduler class schedules folders for sync */ -class Progress +namespace Progress { -public: typedef enum { Invalid, StartSync, @@ -69,9 +68,9 @@ public: QDateTime timestamp; } SyncProblem; - static QString asActionString( Kind ); - static QString asResultString( Kind ); -}; + QString asActionString( Kind ); + QString asResultString( Kind ); +} /** * @file progressdispatcher.h |