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:
parent
f25788e362
commit
12a1706eb0
@ -350,7 +350,7 @@ void Corona::appletDestroyed(QObject* object)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Corona::immutable()
|
bool Corona::immutable() const
|
||||||
{
|
{
|
||||||
return d->immutable;
|
return d->immutable;
|
||||||
}
|
}
|
||||||
|
5
corona.h
5
corona.h
@ -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
|
||||||
@ -97,7 +97,7 @@ public Q_SLOTS:
|
|||||||
* @param path the path to the theme file
|
* @param path the path to the theme file
|
||||||
*/
|
*/
|
||||||
void addKaramba(const KUrl& path);
|
void addKaramba(const KUrl& path);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets if the applets are Immutable
|
* Sets if the applets are Immutable
|
||||||
*/
|
*/
|
||||||
@ -116,7 +116,6 @@ protected Q_SLOTS:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
|
|
||||||
class Private;
|
class Private;
|
||||||
Private * const d;
|
Private * const d;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user