consistency with Qt naming, using same CamelCase

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815775
This commit is contained in:
Anne-Marie Mahfouf 2008-06-02 15:09:10 +00:00
parent 4c0377428f
commit b2b1283fa6
2 changed files with 3 additions and 3 deletions

View File

@ -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);
} }

View File

@ -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