summaryrefslogtreecommitdiffstats
path: root/Source/cmQTWrapUICommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-12 08:23:36 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-12 16:16:17 (GMT)
commit7f8699026211c6a3055e767125021a91da4b1393 (patch)
tree022b78a5501c43273d9fcdd21338e21640bc6461 /Source/cmQTWrapUICommand.h
parent56bfb8de5d1ddc3a499b03be8ae75c9832b6f878 (diff)
downloadCMake-7f8699026211c6a3055e767125021a91da4b1393.zip
CMake-7f8699026211c6a3055e767125021a91da4b1393.tar.gz
CMake-7f8699026211c6a3055e767125021a91da4b1393.tar.bz2
cmQTWrapUICommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmQTWrapUICommand.h')
-rw-r--r--Source/cmQTWrapUICommand.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/Source/cmQTWrapUICommand.h b/Source/cmQTWrapUICommand.h
index 6a346d4..a17ef54 100644
--- a/Source/cmQTWrapUICommand.h
+++ b/Source/cmQTWrapUICommand.h
@@ -8,34 +8,9 @@
#include <string>
#include <vector>
-#include "cm_memory.hxx"
-
-#include "cmCommand.h"
-
class cmExecutionStatus;
-/** \class cmQTWrapUICommand
- * \brief Create .h and .cxx files rules for Qt user interfaces files
- *
- * cmQTWrapUICommand is used to create wrappers for Qt classes into normal C++
- */
-class cmQTWrapUICommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- std::unique_ptr<cmCommand> Clone() override
- {
- return cm::make_unique<cmQTWrapUICommand>();
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
- bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status) override;
-};
+bool cmQTWrapUICommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status);
#endif