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
510 B
C
29 lines
510 B
C
8 years ago
|
#ifndef WINDOWSYSTEM_H
|
||
|
#define WINDOWSYSTEM_H
|
||
|
|
||
8 years ago
|
#include <QObject>
|
||
8 years ago
|
|
||
8 years ago
|
namespace LatteDock {
|
||
8 years ago
|
|
||
|
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);
|
||
|
};
|
||
|
|
||
8 years ago
|
}//LatteDock namespace
|
||
8 years ago
|
|
||
|
#endif
|