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