mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-12 17:17:50 +03:00
29 lines
506 B
C++
29 lines
506 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 = Q_NULLPTR);
|
|
~WindowSystem();
|
|
|
|
bool compositingActive() const;
|
|
|
|
Q_SIGNALS:
|
|
void compositingChanged();
|
|
|
|
private Q_SLOTS:
|
|
void compositingChanged(bool state);
|
|
};
|
|
|
|
}//LatteDock namespace
|
|
|
|
#endif
|