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; return d->immutable;
} }

View File

@ -47,7 +47,7 @@ public:
/** /**
* The applets and Corona surface are changable or not * The applets and Corona surface are changable or not
**/ **/
bool immutable(); bool immutable() const;
/** /**
* The location of the Corona. @see Plasma::Location * The location of the Corona. @see Plasma::Location
@ -117,7 +117,6 @@ protected Q_SLOTS:
private: private:
void init(); void init();
class Private; class Private;
Private * const d; Private * const d;
}; };