You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|