consistency with Qt naming, using same CamelCase
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815775
This commit is contained in:
parent
4c0377428f
commit
b2b1283fa6
@ -133,7 +133,7 @@ QString Label::image() const
|
|||||||
return d->imagePath;
|
return d->imagePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Label::setStylesheet(const QString &stylesheet)
|
void Label::setStyleSheet(const QString &stylesheet)
|
||||||
{
|
{
|
||||||
widget()->setStyleSheet(stylesheet);
|
widget()->setStyleSheet(stylesheet);
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ class PLASMA_EXPORT Label : public QGraphicsProxyWidget
|
|||||||
Q_PROPERTY(QGraphicsWidget* parentWidget READ parentWidget)
|
Q_PROPERTY(QGraphicsWidget* parentWidget READ parentWidget)
|
||||||
Q_PROPERTY(QString text READ text WRITE setText)
|
Q_PROPERTY(QString text READ text WRITE setText)
|
||||||
Q_PROPERTY(QString image READ image WRITE setImage)
|
Q_PROPERTY(QString image READ image WRITE setImage)
|
||||||
Q_PROPERTY(QString stylesheet READ stylesheet WRITE setStylesheet)
|
Q_PROPERTY(QString stylesheet READ stylesheet WRITE setStyleSheet)
|
||||||
Q_PROPERTY(QLabel* nativeWidget READ nativeWidget)
|
Q_PROPERTY(QLabel* nativeWidget READ nativeWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -73,7 +73,7 @@ public:
|
|||||||
*
|
*
|
||||||
* @arg stylesheet a CSS string
|
* @arg stylesheet a CSS string
|
||||||
*/
|
*/
|
||||||
void setStylesheet(const QString &stylesheet);
|
void setStyleSheet(const QString &stylesheet);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the stylesheet currently used with this widget
|
* @return the stylesheet currently used with this widget
|
||||||
|
Loading…
Reference in New Issue
Block a user