summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/widgets/label.cc7
-rw-r--r--client/widgets/label.h3
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__*/