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
This commit is contained in:
Aaron J. Seigo 2007-06-24 06:35:49 +00:00
parent f25788e362
commit 12a1706eb0
2 changed files with 3 additions and 4 deletions

View File

@ -350,7 +350,7 @@ void Corona::appletDestroyed(QObject* object)
}
}
bool Corona::immutable()
bool Corona::immutable() const
{
return d->immutable;
}

View File

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