1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-19 06:03:42 +03:00
latte-dock/liblattedock/windowsystem.h
Johan Smith Agudelo Rodriguez 8b1194a3d4 Fixed compositing state #14
2017-01-02 01:15:39 -05:00

34 lines
588 B
C++

#ifndef WINDOWSYSTEM_H
#define WINDOWSYSTEM_H
#include <QObject>
namespace Latte {
class WindowSystem : public QObject {
Q_OBJECT
Q_PROPERTY(bool compositingActive READ compositingActive NOTIFY compositingChanged)
public:
explicit WindowSystem(QObject *parent = nullptr);
~WindowSystem();
static WindowSystem &self();
bool compositingActive() const;
signals:
void compositingChanged();
private slots:
void compositingChangedProxy(bool state);
private:
bool m_compositing{false};
};
}//LatteDock namespace
#endif