svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751052
This commit is contained in:
Aaron J. Seigo 2007-12-20 23:50:11 +00:00
parent 7be6e23d58
commit 4a23298a2c

View File

@ -84,6 +84,7 @@ void Label::setText(const QString& text)
{ {
d->text = text; d->text = text;
updateGeometry(); updateGeometry();
update();
} }
QString Label::text() const QString Label::text() const
@ -105,6 +106,7 @@ void Label::setPen(const QPen& pen)
{ {
d->textPen = pen; d->textPen = pen;
updateGeometry(); updateGeometry();
update();
} }
QPen Label::pen() const QPen Label::pen() const
@ -126,6 +128,7 @@ void Label::setFont(const QFont& font)
{ {
d->textFont = font; d->textFont = font;
updateGeometry(); updateGeometry();
update();
} }
QFont Label::font() const QFont Label::font() const