From 2ec2e68c3ccab6d1a43f8fffada85216d8fc4f54 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 30 Jun 2008 09:46:58 +0000 Subject: Removed getValue. Label is a layout-only class. --- client/widgets/label.cc | 7 ------- client/widgets/label.h | 3 --- 2 files changed, 10 deletions(-) (limited to 'client') 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__*/ -- cgit v1.2.3