Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
935 B

#include "./fakeqtconfigarguments.h"
namespace CppUtilities {
/*!
* \class FakeQtConfigArguments
* \brief The FakeQtConfigArguments class provides arguments for the Qt GUI used when
* the application hasn't been built with Qt GUI support.
* \deprecated Get rid of this and simply don't add arguments for Qt GUI when disabled.
*/
/*!
* \brief Constructs new fake Qt-config arguments.
*/
FakeQtConfigArguments::FakeQtConfigArguments()
: m_qtWidgetsGuiArg(
"qt-widgets-gui", 'g', "shows a Qt widgets based graphical user interface (the application has not been built with Qt widgets support)")
, m_qtQuickGuiArg(
"qt-quick-gui", 'q', "shows a Qt quick based graphical user interface (the application has not been built with Qt quick support)")
{
m_qtWidgetsGuiArg.setFlags(Argument::Flags::Operation);
m_qtQuickGuiArg.setFlags(Argument::Flags::Operation);
}
} // namespace CppUtilities