summaryrefslogtreecommitdiff
path: root/client/widgets/label.cc
diff options
context:
space:
mode:
authordeva <deva>2008-06-30 09:46:58 +0000
committerdeva <deva>2008-06-30 09:46:58 +0000
commit2ec2e68c3ccab6d1a43f8fffada85216d8fc4f54 (patch)
tree17f14e1d3811df826204aaf51b9ff60aab821e95 /client/widgets/label.cc
parent0a43305eaadeeddbd464d33767dedf95f8869589 (diff)
Removed getValue. Label is a layout-only class.
Diffstat (limited to 'client/widgets/label.cc')
-rw-r--r--client/widgets/label.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/client/widgets/label.cc b/client/widgets/label.cc
index c495c12..47a709e 100644
--- a/client/widgets/label.cc
+++ b/client/widgets/label.cc
@@ -33,12 +33,10 @@ Label::Label(QDomNode &node, MacroWindow *macrowindow)
QDomElement elem = node.toElement();
if(elem.hasAttribute("width")) {
- //resize(elem.attribute("width").toInt(), height());
setMinimumWidth(elem.attribute("width").toInt());
}
if(elem.hasAttribute("height")) {
- //resize(width(), elem.attribute("height").toInt());
setMinimumHeight(elem.attribute("height").toInt());
}
@@ -65,8 +63,3 @@ Label::Label(QDomNode &node, MacroWindow *macrowindow)
setAlignment(Qt::AlignVCenter);
}
-
-QString Label::getValue()
-{
- return text();
-}