KIdleTime plugin: adapt to new name KAbstractIdleTimePoller
This commit is contained in:
parent
2a4eccdbf4
commit
c395afde9b
2 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ namespace KWin
|
|||
{
|
||||
|
||||
KWinIdleTimePoller::KWinIdleTimePoller(QObject *parent)
|
||||
: AbstractSystemPoller(parent)
|
||||
: KAbstractIdleTimePoller(parent)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -10,18 +10,18 @@
|
|||
|
||||
#include <QHash>
|
||||
#include <QTimer>
|
||||
#include <private/abstractsystempoller.h>
|
||||
#include <private/kabstractidletimepoller_p.h>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
class IdleDetector;
|
||||
|
||||
class KWinIdleTimePoller : public AbstractSystemPoller
|
||||
class KWinIdleTimePoller : public KAbstractIdleTimePoller
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID AbstractSystemPoller_iid FILE "kwin.json")
|
||||
Q_INTERFACES(AbstractSystemPoller)
|
||||
Q_PLUGIN_METADATA(IID KAbstractIdleTimePoller_iid FILE "kwin.json")
|
||||
Q_INTERFACES(KAbstractIdleTimePoller)
|
||||
|
||||
public:
|
||||
KWinIdleTimePoller(QObject *parent = nullptr);
|
||||
|
|
Loading…
Reference in a new issue