Rev 19153 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
19153 | craig | 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 FILEDIALOGEVENTCATCHER_H |
||
8 | #define FILEDIALOGEVENTCATCHER_H |
||
9 | |||
10 | #include <QObject> |
||
11 | |||
12 | #include "scribusapi.h" |
||
13 | |||
14 | class SCRIBUS_API FileDialogEventCatcher : public QObject |
||
15 | { |
||
16 | Q_OBJECT |
||
17 | |||
18 | public: |
||
19 | FileDialogEventCatcher(QObject* parent); |
||
20 | |||
21 | protected: |
||
22 | virtual bool eventFilter(QObject *o, QEvent *e); |
||
23 | |||
24 | signals: |
||
25 | void escapePressed(); |
||
26 | void dropLocation(QString dl); |
||
19180 | craig | 27 | void desktopPressed(); |
28 | void homePressed(); |
||
29 | void parentPressed(); |
||
30 | void enterSelectedPressed(); |
||
19153 | craig | 31 | }; |
32 | |||
33 | #endif |