diff options
Diffstat (limited to 'client/widgets/datetime.cc')
-rw-r--r-- | client/widgets/datetime.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/widgets/datetime.cc b/client/widgets/datetime.cc index 1ca52ed..40aa31a 100644 --- a/client/widgets/datetime.cc +++ b/client/widgets/datetime.cc @@ -96,6 +96,11 @@ void DateTime::disable() setEnabled(false); } +bool DateTime::isDisabled() +{ + return isEnabled() == false; +} + void DateTime::connectFrom(const char *signal, const QObject *receiver, const char *method) { |