mirror of
https://github.com/vicr123/theshell.git
synced 2025-01-23 12:12:06 -05:00
30 lines
533 B
C++
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
|