diff options
Diffstat (limited to 'client/widgets/label.cc')
-rw-r--r-- | client/widgets/label.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/client/widgets/label.cc b/client/widgets/label.cc index d4f5387..3f69861 100644 --- a/client/widgets/label.cc +++ b/client/widgets/label.cc @@ -59,5 +59,21 @@ Label::Label(QDomNode &node, MacroWindow *macrowindow) // Always center vertically in the addressed space setAlignment(Qt::AlignVCenter); +} + +void Label::connectFrom(const char *signal, + const QObject *receiver, const char *method) +{ + connect(this, signal, receiver, method); +} +void Label::connectTo(const QObject *sender, const char *signal, + const char *method) +{ + connect(sender, signal, this, method); +} + +void Label::setVisibility(bool visible) +{ + setVisible(visible); } |