From 806d2bc2800f88ce7f31965a12af6e2273af7ce6 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 30 Jun 2008 09:38:25 +0000 Subject: Removed getValue from Button, it should never return a value --- client/widgets/pushbutton.cc | 5 ----- client/widgets/pushbutton.h | 1 - 2 files changed, 6 deletions(-) (limited to 'client/widgets') diff --git a/client/widgets/pushbutton.cc b/client/widgets/pushbutton.cc index a0540f3..21d5c1b 100644 --- a/client/widgets/pushbutton.cc +++ b/client/widgets/pushbutton.cc @@ -67,11 +67,6 @@ PushButton::PushButton(QDomNode &node, MacroWindow *macrowindow) } } -QString PushButton::getValue() -{ - return text(); -} - void PushButton::commit() { emit act_commit(); diff --git a/client/widgets/pushbutton.h b/client/widgets/pushbutton.h index fe75fbf..acefdf1 100644 --- a/client/widgets/pushbutton.h +++ b/client/widgets/pushbutton.h @@ -40,7 +40,6 @@ public: QString field; public slots: - QString getValue(); void commit(); void reset(); void cancel(); -- cgit v1.2.3