diff options
author | kh1 <qt-info@nokia.com> | 2011-07-05 15:41:30 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-07-05 15:41:30 +0200 |
commit | d9542889010afc56681885618c61f0d6d67bc0a2 (patch) | |
tree | 9d70e1a2919a761b954ff63cfb5f67883b6d0ccc /installerbuilder/libinstaller | |
parent | 94b545c71d6969b8f031142e0ac199cdb55b6f98 (diff) |
Cleanup. Use the typedef, no functional change intended.
Diffstat (limited to 'installerbuilder/libinstaller')
-rw-r--r-- | installerbuilder/libinstaller/selfrestartoperation.cpp | 2 | ||||
-rw-r--r-- | installerbuilder/libinstaller/selfrestartoperation.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/installerbuilder/libinstaller/selfrestartoperation.cpp b/installerbuilder/libinstaller/selfrestartoperation.cpp index 58684ff19..d53d8b254 100644 --- a/installerbuilder/libinstaller/selfrestartoperation.cpp +++ b/installerbuilder/libinstaller/selfrestartoperation.cpp @@ -86,7 +86,7 @@ bool SelfRestartOperation::testOperation() return true; } -SelfRestartOperation* SelfRestartOperation::clone() const +Operation *SelfRestartOperation::clone() const { return new SelfRestartOperation(); } diff --git a/installerbuilder/libinstaller/selfrestartoperation.h b/installerbuilder/libinstaller/selfrestartoperation.h index 96c1e6666..7810f9542 100644 --- a/installerbuilder/libinstaller/selfrestartoperation.h +++ b/installerbuilder/libinstaller/selfrestartoperation.h @@ -26,11 +26,11 @@ #ifndef SELFRESTARTOPERATION_H #define SELFRESTARTOPERATION_H -#include <KDUpdater/UpdateOperation> +#include "qinstallerglobal.h" namespace QInstaller { -class SelfRestartOperation : public KDUpdater::UpdateOperation +class INSTALLER_EXPORT SelfRestartOperation : public Operation { public: SelfRestartOperation(); @@ -40,7 +40,7 @@ public: bool performOperation(); bool undoOperation(); bool testOperation(); - SelfRestartOperation* clone() const; + Operation *clone() const; }; } |