aboutsummaryrefslogtreecommitdiffstats
path: root/core/windowtitleupdate.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/windowtitleupdate.h')
-rw-r--r--core/windowtitleupdate.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/windowtitleupdate.h b/core/windowtitleupdate.h
new file mode 100644
index 000000000..8650e5868
--- /dev/null
+++ b/core/windowtitleupdate.h
@@ -0,0 +1,20 @@
+#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