summaryrefslogtreecommitdiff
path: root/client/widgets/lineedit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/lineedit.cc')
-rw-r--r--client/widgets/lineedit.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/widgets/lineedit.cc b/client/widgets/lineedit.cc
index b699553..49b3704 100644
--- a/client/widgets/lineedit.cc
+++ b/client/widgets/lineedit.cc
@@ -100,6 +100,11 @@ void LineEdit::disable()
setEnabled(false);
}
+bool LineEdit::isDisabled()
+{
+ return isEnabled() == false;
+}
+
void LineEdit::connectFrom(const char *signal,
const QObject *receiver, const char *method)
{