From 12a1706eb0ed2216a810a44b2a9f266283ba7053 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 24 Jun 2007 06:35:49 +0000 Subject: [PATCH] i don't like const and const don't like me so i offer you this apology: i promise to try to remember the friend who prevents us from mucking things up in the end all hail const! my poetry sucks! the end. <3 svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679514 --- corona.cpp | 2 +- corona.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/corona.cpp b/corona.cpp index 7299cef3e..f84e7ecdb 100644 --- a/corona.cpp +++ b/corona.cpp @@ -350,7 +350,7 @@ void Corona::appletDestroyed(QObject* object) } } -bool Corona::immutable() +bool Corona::immutable() const { return d->immutable; } diff --git a/corona.h b/corona.h index 2addb5cee..867d9c09a 100644 --- a/corona.h +++ b/corona.h @@ -47,7 +47,7 @@ public: /** * The applets and Corona surface are changable or not **/ - bool immutable(); + bool immutable() const; /** * The location of the Corona. @see Plasma::Location @@ -97,7 +97,7 @@ public Q_SLOTS: * @param path the path to the theme file */ void addKaramba(const KUrl& path); - + /** * Sets if the applets are Immutable */ @@ -116,7 +116,6 @@ protected Q_SLOTS: private: void init(); - class Private; Private * const d;