diff options
Diffstat (limited to 'ui/qt/extcap_argument.h')
-rw-r--r-- | ui/qt/extcap_argument.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ui/qt/extcap_argument.h b/ui/qt/extcap_argument.h index 5ff390c7d0..851fcfb009 100644 --- a/ui/qt/extcap_argument.h +++ b/ui/qt/extcap_argument.h @@ -31,6 +31,7 @@ #include <QComboBox> #include <QButtonGroup> #include <QCheckBox> +#include <QDateTime> #include <extcap_parser.h> @@ -207,6 +208,26 @@ private: bool defaultBool(); }; +class ExtArgTimestamp : public ExtcapArgument +{ + Q_OBJECT + +public: + ExtArgTimestamp(extcap_arg * argument); + virtual QWidget * createEditor(QWidget * parent); + + virtual bool isValid(); + virtual QString defaultValue(); + virtual QString value(); + virtual QString prefValue(); + +private Q_SLOTS: + void onDateTimeChanged(QDateTime); + +private: + QDateTime ts; +}; + #endif /* UI_QT_EXTCAP_ARGUMENT_H_ */ /* |