Commit 8a3be290 authored by Laurent Montel's avatar Laurent Montel 😁

Constify

Test Plan: build :)

Reviewers: afiestas, sebas, davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8429
parent 33f7c637
......@@ -100,22 +100,22 @@ void Device::setReady()
Q_EMIT ready();
}
bool Device::isReady()
bool Device::isReady() const
{
return m_isReady;
}
bool Device::isLaptop()
bool Device::isLaptop() const
{
return m_isLaptop;
}
bool Device::isLidClosed()
bool Device::isLidClosed() const
{
return m_isLidClosed;
}
bool Device::isDocked()
bool Device::isDocked() const
{
return m_isDocked;
}
......
......@@ -32,10 +32,10 @@ public:
static Device* self();
static void destroy();
bool isReady();
bool isLaptop();
bool isLidClosed();
bool isDocked();
bool isReady() const;
bool isLaptop() const;
bool isLidClosed() const;
bool isDocked() const;
private Q_SLOTS:
void changed();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment