diff options
author | kh1 <qt-info@nokia.com> | 2011-07-05 16:01:47 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-07-05 16:01:47 +0200 |
commit | 7c100824b5e108f38994518d0c5fb36e6a2077f1 (patch) | |
tree | 58e7a7b3c9f17638b56b81e12d6b9d58a5fa19ab /installerbuilder/libinstaller | |
parent | 6c058f11c2b50ac86f197e66236afafd5b01208d (diff) |
Cleanup. Use typedef.
Diffstat (limited to 'installerbuilder/libinstaller')
-rw-r--r-- | installerbuilder/libinstaller/registertoolchainoperation.cpp | 2 | ||||
-rw-r--r-- | installerbuilder/libinstaller/registertoolchainoperation.h | 41 |
2 files changed, 22 insertions, 21 deletions
diff --git a/installerbuilder/libinstaller/registertoolchainoperation.cpp b/installerbuilder/libinstaller/registertoolchainoperation.cpp index e2b4f908f..cf824efa4 100644 --- a/installerbuilder/libinstaller/registertoolchainoperation.cpp +++ b/installerbuilder/libinstaller/registertoolchainoperation.cpp @@ -176,7 +176,7 @@ bool RegisterToolChainOperation::testOperation() return true; } -KDUpdater::UpdateOperation* RegisterToolChainOperation::clone() const +Operation *RegisterToolChainOperation::clone() const { return new RegisterToolChainOperation(); } diff --git a/installerbuilder/libinstaller/registertoolchainoperation.h b/installerbuilder/libinstaller/registertoolchainoperation.h index 29d773f4e..86c36ebd9 100644 --- a/installerbuilder/libinstaller/registertoolchainoperation.h +++ b/installerbuilder/libinstaller/registertoolchainoperation.h @@ -26,28 +26,29 @@ #ifndef REGISTERTOOLCHAINOPERATION_H #define REGISTERTOOLCHAINOPERATION_H -#include <KDUpdater/UpdateOperation> +#include "qinstallerglobal.h" namespace QInstaller { -/** Arguments: - * SDK Path - to find the QtCreator installation - * ToolChainKey - is the internal QtCreator settings key usually: GccToolChain - * toolchain type - where this toolchain is defined in QtCreator - * ProjectExplorer.ToolChain.Gcc ProjectExplorer.ToolChain.Mingw - * ProjectExplorer.ToolChain.LinuxIcc ProjectExplorer.ToolChain.Msvc - * Qt4ProjectManager.ToolChain.GCCE Qt4ProjectManager.ToolChain.Maemo - * display name - the name how it will be displayed in QtCreator - * application binary interface - this is an internal creator typ as a String CPU-OS-OS_FLAVOR-BINARY_FORMAT-WORD_WIDTH - * CPU: arm x86 mips ppc itanium - * OS: linux macos symbian unix windows - * OS_FLAVOR: generic maemo meego generic device emulator generic msvc2005 msvc2008 msvc2010 msys ce - * BINARY_FORMAT: elf pe mach_o qml_rt - * WORD_WIDTH: 8 16 32 64 - * compiler path - the binary which is used as the compiler - * debugger path - the binary which is used as the debugger - */ -class RegisterToolChainOperation : public KDUpdater::UpdateOperation +/*! + Arguments: + * SDK Path - to find the QtCreator installation + * ToolChainKey - is the internal QtCreator settings key usually: GccToolChain + * toolchain type - where this toolchain is defined in QtCreator + * ProjectExplorer.ToolChain.Gcc ProjectExplorer.ToolChain.Mingw + * ProjectExplorer.ToolChain.LinuxIcc ProjectExplorer.ToolChain.Msvc + * Qt4ProjectManager.ToolChain.GCCE Qt4ProjectManager.ToolChain.Maemo + * display name - the name how it will be displayed in QtCreator + * application binary interface - this is an internal creator typ as a String CPU-OS-OS_FLAVOR-BINARY_FORMAT-WORD_WIDTH + * CPU: arm x86 mips ppc itanium + * OS: linux macos symbian unix windows + * OS_FLAVOR: generic maemo meego generic device emulator generic msvc2005 msvc2008 msvc2010 msys ce + * BINARY_FORMAT: elf pe mach_o qml_rt + * WORD_WIDTH: 8 16 32 64 + * compiler path - the binary which is used as the compiler + * debugger path - the binary which is used as the debugger +*/ +class RegisterToolChainOperation : public Operation { public: RegisterToolChainOperation(); @@ -57,7 +58,7 @@ public: bool performOperation(); bool undoOperation(); bool testOperation(); - KDUpdater::UpdateOperation* clone() const; + Operation *clone() const; }; } // namespace |