Scribus
Open source desktop publishing at your fingertips
scescapecatcher.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef SCESCAPEKEYCATCHER_H
8 #define SCESCAPEKEYCATCHER_H
9 
10 #include <QObject>
11 
12 #include "scribusapi.h"
13 
14 class SCRIBUS_API ScEscapeCatcher : public QObject
15 {
16  Q_OBJECT
17 
18 public:
19  ScEscapeCatcher(QObject* parent);
20 
21 protected:
22  virtual bool eventFilter(QObject *o, QEvent *e);
23 
24 signals:
25  void escapePressed();
26 };
27 
28 #endif
Definition: scescapecatcher.h:14