summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2008-06-30 09:38:25 +0000
committerdeva <deva>2008-06-30 09:38:25 +0000
commit806d2bc2800f88ce7f31965a12af6e2273af7ce6 (patch)
tree0c3547f4a266efbf17b2f940ae52ac78b3b9545b
parent72cea006a29539ac064a40198ce9699e28b51679 (diff)
Removed getValue from Button, it should never return a value
-rw-r--r--client/widgets/pushbutton.cc5
-rw-r--r--client/widgets/pushbutton.h1
2 files changed, 0 insertions, 6 deletions
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();