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;
|
||||||
}
|
}
|
||||||
|
3
corona.h
3
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
|
||||||
@ -117,7 +117,6 @@ protected Q_SLOTS:
|
|||||||
private:
|
private:
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
|
|
||||||
class Private;
|
class Private;
|
||||||
Private * const d;
|
Private * const d;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user