more consistency in naming: stylesheet -> styleSheet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815812
This commit is contained in:
parent
b2b1283fa6
commit
4f2624b36a
@ -138,7 +138,7 @@ void Label::setStyleSheet(const QString &stylesheet)
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString Label::stylesheet()
|
||||
QString Label::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ class PLASMA_EXPORT Label : public QGraphicsProxyWidget
|
||||
Q_PROPERTY(QGraphicsWidget* parentWidget READ parentWidget)
|
||||
Q_PROPERTY(QString text READ text WRITE setText)
|
||||
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)
|
||||
|
||||
public:
|
||||
@ -78,7 +78,7 @@ public:
|
||||
/**
|
||||
* @return the stylesheet currently used with this widget
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this Label
|
||||
|
Loading…
Reference in New Issue
Block a user