summaryrefslogtreecommitdiffstats
path: root/core/windowtitleupdate.h
blob: dcda821e9705d146b68cc3d94171ecbc4248d2f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0
#ifndef WINDOWTITLEUPDATE_H
#define WINDOWTITLEUPDATE_H

#include <QObject>

class WindowTitleUpdate : public QObject
{
	Q_OBJECT
public:
	explicit WindowTitleUpdate(QObject *parent = 0);
	~WindowTitleUpdate();
	static WindowTitleUpdate *instance();
	void emitSignal();
signals:
	void updateTitle();
private:
	static WindowTitleUpdate *m_instance;
};

#endif // WINDOWTITLEUPDATE_H