theshell/globalfilter.h
2016-07-01 14:01:19 +10:00

30 lines
533 B
C++

#ifndef GLOBALFILTER_H
#define GLOBALFILTER_H
#include <QObject>
#include <QApplication>
#include <QUrl>
#include <QSound>
#include <QSettings>
#include "background.h"
class GlobalFilter : public QObject
{
Q_OBJECT
public:
explicit GlobalFilter(QApplication *application, QObject *parent = 0);
signals:
void removeBackgrounds();
public slots:
void reloadScreens();
void reloadBackgrounds();
private:
bool eventFilter(QObject *object, QEvent *event);
QSound* clickSound;
};
#endif // GLOBALFILTER_H