KIdleTime plugin: adapt to new name KAbstractIdleTimePoller

This commit is contained in:
Friedrich W. H. Kossebau 2023-03-28 19:01:45 +00:00
parent 2a4eccdbf4
commit c395afde9b
2 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ namespace KWin
{
KWinIdleTimePoller::KWinIdleTimePoller(QObject *parent)
: AbstractSystemPoller(parent)
: KAbstractIdleTimePoller(parent)
{
}

View file

@ -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);