diff options
Diffstat (limited to 'windowtitleupdate.cpp')
-rw-r--r-- | windowtitleupdate.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/windowtitleupdate.cpp b/windowtitleupdate.cpp deleted file mode 100644 index eec324c68..000000000 --- a/windowtitleupdate.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include "windowtitleupdate.h" - -WindowTitleUpdate *WindowTitleUpdate::m_instance = NULL; - -WindowTitleUpdate::WindowTitleUpdate(QObject *parent) : QObject(parent) -{ - Q_ASSERT_X(m_instance == NULL, "WindowTitleUpdate", "WindowTitleUpdate recreated!"); - - m_instance = this; -} - -WindowTitleUpdate *WindowTitleUpdate::instance() -{ - return m_instance; -} - -WindowTitleUpdate::~WindowTitleUpdate() -{ - m_instance = NULL; -} - -void WindowTitleUpdate::emitSignal() -{ - emit updateTitle(); -} - -extern "C" void updateWindowTitle() -{ - WindowTitleUpdate *wt = WindowTitleUpdate::instance(); - wt->emitSignal(); -} |