diff options
author | deva <deva> | 2008-06-30 09:46:58 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-30 09:46:58 +0000 |
commit | 2ec2e68c3ccab6d1a43f8fffada85216d8fc4f54 (patch) | |
tree | 17f14e1d3811df826204aaf51b9ff60aab821e95 | |
parent | 0a43305eaadeeddbd464d33767dedf95f8869589 (diff) |
Removed getValue. Label is a layout-only class.
-rw-r--r-- | client/widgets/label.cc | 7 | ||||
-rw-r--r-- | client/widgets/label.h | 3 |
2 files changed, 0 insertions, 10 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(); -} diff --git a/client/widgets/label.h b/client/widgets/label.h index c1ede43..cbf3e06 100644 --- a/client/widgets/label.h +++ b/client/widgets/label.h @@ -37,9 +37,6 @@ class Label : public QLabel, public Widget Q_OBJECT public: Label(QDomNode &node, MacroWindow *macrowindow); - -public slots: - QString getValue(); }; #endif/*__PRACRO_LABEL_H__*/ |