diff options
-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; }; } |