| 1 | #include "./fakeqtconfigarguments.h" |
| 2 | |
| 3 | namespace CppUtilities { |
| 4 | |
| 5 | /*! |
| 6 | * \class FakeQtConfigArguments |
| 7 | * \brief The FakeQtConfigArguments class provides arguments for the Qt GUI used when |
| 8 | * the application hasn't been built with Qt GUI support. |
| 9 | * \deprecated Get rid of this and simply don't add arguments for Qt GUI when disabled. |
| 10 | */ |
| 11 | |
| 12 | /*! |
| 13 | * \brief Constructs new fake Qt-config arguments. |
| 14 | */ |
| 15 | FakeQtConfigArguments::FakeQtConfigArguments() |
| 16 | : m_qtWidgetsGuiArg( |
| 17 | "qt-widgets-gui", 'g', "shows a Qt widgets based graphical user interface (the application has not been built with Qt widgets support)") |
| 18 | , m_qtQuickGuiArg( |
| 19 | "qt-quick-gui", 'q', "shows a Qt quick based graphical user interface (the application has not been built with Qt quick support)") |
| 20 | { |
| 21 | m_qtWidgetsGuiArg.setFlags(Argument::Flags::Operation); |
| 22 | m_qtQuickGuiArg.setFlags(Argument::Flags::Operation); |
| 23 | } |
| 24 | |
| 25 | } // namespace CppUtilities |