mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: mark sycoca device getters as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8bf7f12543
commit
779821212a
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
virtual ~KSycocaAbstractDevice() { delete m_stream; }
|
||||
|
||||
virtual QIODevice* device() = 0;
|
||||
virtual QIODevice* device() const = 0;
|
||||
|
||||
QDataStream* & stream() {
|
||||
if (!m_stream) {
|
||||
|
@ -55,7 +55,7 @@ public:
|
|||
~KSycocaFileDevice() {
|
||||
delete m_database;
|
||||
}
|
||||
virtual QIODevice* device() {
|
||||
virtual QIODevice* device() const {
|
||||
return m_database;
|
||||
}
|
||||
private:
|
||||
|
@ -72,7 +72,7 @@ public:
|
|||
~KSycocaBufferDevice() {
|
||||
delete m_buffer;
|
||||
}
|
||||
virtual QIODevice* device() {
|
||||
virtual QIODevice* device() const {
|
||||
return m_buffer;
|
||||
}
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue