consistency with Qt: stylesheet() -> styleSheet() and setStylesheet() -> setStyleSheet()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833427
This commit is contained in:
parent
762481e13e
commit
4ce38c254d
@ -127,12 +127,12 @@ QString CheckBox::image() const
|
||||
return d->imagePath;
|
||||
}
|
||||
|
||||
void CheckBox::setStylesheet(const QString &stylesheet)
|
||||
void CheckBox::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString CheckBox::stylesheet()
|
||||
QString CheckBox::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ class PLASMA_EXPORT CheckBox : 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(QCheckBox* nativeWidget READ nativeWidget)
|
||||
Q_PROPERTY(bool isChecked READ isChecked WRITE setChecked)
|
||||
|
||||
@ -72,16 +72,16 @@ public:
|
||||
QString image() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this CheckBox
|
||||
* Sets the stylesheet used to control the visual display of this CheckBox
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this CheckBox
|
||||
|
@ -62,12 +62,12 @@ QString ComboBox::text() const
|
||||
return static_cast<KComboBox*>(widget())->currentText();
|
||||
}
|
||||
|
||||
void ComboBox::setStylesheet(const QString &stylesheet)
|
||||
void ComboBox::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString ComboBox::stylesheet()
|
||||
QString ComboBox::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ class PLASMA_EXPORT ComboBox : public QGraphicsProxyWidget
|
||||
|
||||
Q_PROPERTY(QGraphicsWidget* parentWidget READ parentWidget)
|
||||
Q_PROPERTY(QString text READ text)
|
||||
Q_PROPERTY(QString stylesheet READ stylesheet WRITE setStylesheet)
|
||||
Q_PROPERTY(QString stylesheet READ styleSheet WRITE setStyleSheet)
|
||||
Q_PROPERTY(KComboBox* nativeWidget READ nativeWidget)
|
||||
|
||||
public:
|
||||
@ -51,16 +51,16 @@ public:
|
||||
QString text() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this ComboBox
|
||||
* Sets the stylesheet used to control the visual display of this ComboBox
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this ComboBox
|
||||
|
@ -66,12 +66,12 @@ QString GroupBox::text() const
|
||||
return static_cast<QGroupBox*>(widget())->title();
|
||||
}
|
||||
|
||||
void GroupBox::setStylesheet(const QString &stylesheet)
|
||||
void GroupBox::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString GroupBox::stylesheet()
|
||||
QString GroupBox::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ class PLASMA_EXPORT GroupBox : public QGraphicsProxyWidget
|
||||
|
||||
Q_PROPERTY(QGraphicsWidget* parentWidget READ parentWidget)
|
||||
Q_PROPERTY(QString text READ text WRITE setText)
|
||||
Q_PROPERTY(QString stylesheet READ stylesheet WRITE setStylesheet)
|
||||
Q_PROPERTY(QString stylesheet READ styleSheet WRITE setStyleSheet)
|
||||
Q_PROPERTY(QGroupBox* nativeWidget READ nativeWidget)
|
||||
|
||||
public:
|
||||
@ -58,16 +58,16 @@ public:
|
||||
QString text() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this GroupBox
|
||||
* Sets the stylesheet used to control the visual display of this GroupBox
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this GroupBox
|
||||
|
@ -72,7 +72,7 @@ public:
|
||||
QString image() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this Label
|
||||
* Sets the stylesheet used to control the visual display of this Label
|
||||
*
|
||||
* @arg stylesheet a CSS string
|
||||
*/
|
||||
|
@ -69,12 +69,12 @@ QString LineEdit::text() const
|
||||
return static_cast<KLineEdit*>(widget())->text();
|
||||
}
|
||||
|
||||
void LineEdit::setStylesheet(const QString &stylesheet)
|
||||
void LineEdit::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString LineEdit::stylesheet()
|
||||
QString LineEdit::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ class PLASMA_EXPORT LineEdit : public QGraphicsProxyWidget
|
||||
|
||||
Q_PROPERTY(QGraphicsWidget* parentWidget READ parentWidget)
|
||||
Q_PROPERTY(QString text READ text WRITE setText)
|
||||
Q_PROPERTY(QString stylesheet READ stylesheet WRITE setStylesheet)
|
||||
Q_PROPERTY(QString stylesheet READ styleSheet WRITE setStyleSheet)
|
||||
Q_PROPERTY(KLineEdit* nativeWidget READ nativeWidget)
|
||||
|
||||
public:
|
||||
@ -58,16 +58,16 @@ public:
|
||||
QString text() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this LineEdit
|
||||
* Sets the stylesheet used to control the visual display of this LineEdit
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this LineEdit
|
||||
|
@ -127,12 +127,12 @@ QString PushButton::image() const
|
||||
return d->imagePath;
|
||||
}
|
||||
|
||||
void PushButton::setStylesheet(const QString &stylesheet)
|
||||
void PushButton::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString PushButton::stylesheet()
|
||||
QString PushButton::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ class PLASMA_EXPORT PushButton : 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(KPushButton* nativeWidget READ nativeWidget)
|
||||
|
||||
public:
|
||||
@ -71,16 +71,16 @@ public:
|
||||
QString image() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this PushButton
|
||||
* Sets the stylesheet used to control the visual display of this PushButton
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this PushButton
|
||||
|
@ -127,12 +127,12 @@ QString RadioButton::image() const
|
||||
return d->imagePath;
|
||||
}
|
||||
|
||||
void RadioButton::setStylesheet(const QString &stylesheet)
|
||||
void RadioButton::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString RadioButton::stylesheet()
|
||||
QString RadioButton::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ class PLASMA_EXPORT RadioButton : 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(QRadioButton* nativeWidget READ nativeWidget)
|
||||
Q_PROPERTY(bool isChecked READ isChecked WRITE setChecked)
|
||||
|
||||
@ -72,16 +72,16 @@ public:
|
||||
QString image() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this RadioButton
|
||||
* Sets the stylesheet used to control the visual display of this RadioButton
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this RadioButton
|
||||
|
@ -129,12 +129,12 @@ QString <Name>::image() const
|
||||
return d->imagePath;
|
||||
}
|
||||
|
||||
void <Name>::setStylesheet(const QString &stylesheet)
|
||||
void <Name>::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString <Name>::stylesheet()
|
||||
QString <Name>::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ class PLASMA_EXPORT <Name> : 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(<Native>* nativeWidget READ nativeWidget)
|
||||
|
||||
public:
|
||||
@ -71,16 +71,16 @@ public:
|
||||
QString image() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this <Name>
|
||||
* Sets the stylesheet used to control the visual display of this <Name>
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this <Name>
|
||||
|
@ -68,12 +68,12 @@ QString TextEdit::text() const
|
||||
return static_cast<KTextEdit*>(widget())->toHtml();
|
||||
}
|
||||
|
||||
void TextEdit::setStylesheet(const QString &stylesheet)
|
||||
void TextEdit::setStyleSheet(const QString &stylesheet)
|
||||
{
|
||||
widget()->setStyleSheet(stylesheet);
|
||||
}
|
||||
|
||||
QString TextEdit::stylesheet()
|
||||
QString TextEdit::styleSheet()
|
||||
{
|
||||
return widget()->styleSheet();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ class PLASMA_EXPORT TextEdit : public QGraphicsProxyWidget
|
||||
|
||||
Q_PROPERTY(QGraphicsWidget* parentWidget READ parentWidget)
|
||||
Q_PROPERTY(QString text READ text WRITE setText)
|
||||
Q_PROPERTY(QString stylesheet READ stylesheet WRITE setStylesheet)
|
||||
Q_PROPERTY(QString stylesheet READ styleSheet WRITE setStyleSheet)
|
||||
Q_PROPERTY(KTextEdit* nativeWidget READ nativeWidget)
|
||||
|
||||
public:
|
||||
@ -59,16 +59,16 @@ public:
|
||||
QString text() const;
|
||||
|
||||
/**
|
||||
* Sets the style sheet used to control the visual display of this TextEdit
|
||||
* Sets the stylesheet used to control the visual display of this TextEdit
|
||||
*
|
||||
* @arg stylehseet 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
|
||||
*/
|
||||
QString stylesheet();
|
||||
QString styleSheet();
|
||||
|
||||
/**
|
||||
* @return the native widget wrapped by this TextEdit
|
||||
|
Loading…
x
Reference in New Issue
Block a user