From 0491b8b11287672ee849444bb01241adf0ff3fc7 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 23 Jul 2007 00:24:36 +0000 Subject: [PATCH] immutable -> isImmutable. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691135 --- applet.cpp | 4 ++-- applet.h | 4 ++-- corona.cpp | 2 +- corona.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/applet.cpp b/applet.cpp index e266e3ceb..25d97dbab 100644 --- a/applet.cpp +++ b/applet.cpp @@ -250,7 +250,7 @@ QString Applet::category(const QString& appletName) return offers.first()->property("X-KDE-PluginInfo-Category").toString(); } -bool Applet::immutable() const +bool Applet::isImmutable() const { return d->immutable; } @@ -261,7 +261,7 @@ void Applet::setImmutable(bool immutable) QGraphicsItem::GraphicsItemFlags f = flags(); if (immutable) { f ^= QGraphicsItem::ItemIsMovable; - } else if (!scene() || !static_cast(scene())->immutable()) { + } else if (!scene() || !static_cast(scene())->isImmutable()) { f |= QGraphicsItem::ItemIsMovable; } setFlags(f); diff --git a/applet.h b/applet.h index c46c18bec..03267ac47 100644 --- a/applet.h +++ b/applet.h @@ -47,7 +47,7 @@ class PLASMA_EXPORT Applet : public QObject, public Widget Q_PROPERTY( bool hasConfigurationInterface READ hasConfigurationInterface WRITE setHasConfigurationInterface ) Q_PROPERTY( QString name READ name ) Q_PROPERTY( QString category READ category ) - Q_PROPERTY( bool immutable READ immutable WRITE setImmutable ) + Q_PROPERTY( bool immutable READ isImmutable WRITE setImmutable ) Q_PROPERTY( bool drawStandardBackground READ drawStandardBackground WRITE setDrawStandardBackground ) Q_PROPERTY( bool failedToLaunch READ failedToLaunch WRITE setFailedToLaunch ) Q_PROPERTY( QRectF boundingRect READ boundingRect ) @@ -288,7 +288,7 @@ class PLASMA_EXPORT Applet : public QObject, public Widget /** * @return true if this applet is immutable **/ - bool immutable() const; + bool isImmutable() const; /** * Sets whether or not this applet is immutable or not. diff --git a/corona.cpp b/corona.cpp index 1af4a62d2..9e360d792 100644 --- a/corona.cpp +++ b/corona.cpp @@ -279,7 +279,7 @@ void Corona::appletDestroyed(QObject* object) } } -bool Corona::immutable() const +bool Corona::isImmutable() const { return d->immutable; } diff --git a/corona.h b/corona.h index 5c425da69..91789cd05 100644 --- a/corona.h +++ b/corona.h @@ -47,7 +47,7 @@ public: /** * The applets and Corona surface are changeable or not **/ - bool immutable() const; + bool isImmutable() const; /** * The location of the Corona. @see Plasma::Location