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.
28 lines
494 B
C++
28 lines
494 B
C++
8 years ago
|
#include "windowsystem.h"
|
||
|
|
||
|
#include <KWindowSystem>
|
||
|
|
||
8 years ago
|
namespace LatteDock {
|
||
8 years ago
|
|
||
|
WindowSystem::WindowSystem(QObject *parent) :
|
||
|
QObject(parent)
|
||
|
{
|
||
|
connect(KWindowSystem::self(), SIGNAL(compositingChanged(bool)), this, SLOT(compositingChanged(bool)));
|
||
|
}
|
||
|
|
||
|
WindowSystem::~WindowSystem()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
bool WindowSystem::compositingActive() const
|
||
|
{
|
||
|
return KWindowSystem::compositingActive();
|
||
|
}
|
||
|
|
||
|
void WindowSystem::compositingChanged(bool state)
|
||
|
{
|
||
|
emit compositingChanged();
|
||
|
}
|
||
|
|
||
8 years ago
|
} //end of namespace
|