summaryrefslogtreecommitdiffstats
path: root/yakuake/src/terminal_focus_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'yakuake/src/terminal_focus_watcher.h')
-rw-r--r--yakuake/src/terminal_focus_watcher.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/yakuake/src/terminal_focus_watcher.h b/yakuake/src/terminal_focus_watcher.h
new file mode 100644
index 0000000..f5128e7
--- /dev/null
+++ b/yakuake/src/terminal_focus_watcher.h
@@ -0,0 +1,35 @@
+/*
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+*/
+
+/*
+ Copyright (C) 2007 Eike Hein <hein@kde.org>
+*/
+
+
+#ifndef TERMINAL_FOCUS_WATCHER_H
+#define TERMINAL_FOCUS_WATCHER_H
+
+
+#include <qobject.h>
+
+
+class TerminalFocusWatcher : public QObject
+{
+ Q_OBJECT
+
+ public:
+ explicit TerminalFocusWatcher(QObject* parent = 0, const char* name = 0);
+ virtual ~TerminalFocusWatcher();
+
+ virtual bool eventFilter (QObject* watched, QEvent* e);
+
+
+ signals:
+ void focusChanged();
+};
+
+#endif /* TERMINAL_FOCUS_WATCHER_H */