subsurface/core/windowtitleupdate.h

22 lines
418 B
C
Raw Normal View History

// 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