Diffstat (limited to 'noncore/applets/keyhelper/keyhelperapplet/anylnk/QCopLnk.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/keyhelper/keyhelperapplet/anylnk/QCopLnk.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/noncore/applets/keyhelper/keyhelperapplet/anylnk/QCopLnk.h b/noncore/applets/keyhelper/keyhelperapplet/anylnk/QCopLnk.h new file mode 100644 index 0000000..f994149 --- a/dev/null +++ b/noncore/applets/keyhelper/keyhelperapplet/anylnk/QCopLnk.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #ifndef _QCOPLNK_H_ | ||
2 | #define _QCOPLNK_H_ | ||
3 | |||
4 | #include <qpe/qpeapplication.h> | ||
5 | #include <qpe/qcopenvelope_qws.h> | ||
6 | |||
7 | #include "AnyLnk.h" | ||
8 | #include "KHUtil.h" | ||
9 | |||
10 | class QCopLnk : public AnyLnk | ||
11 | { | ||
12 | public: | ||
13 | QCopLnk(){} | ||
14 | QCopLnk(const QStringList& params) | ||
15 | : AnyLnk(params){} | ||
16 | virtual ~QCopLnk() { | ||
17 | } | ||
18 | |||
19 | virtual bool isValid() { | ||
20 | return(true); | ||
21 | } | ||
22 | virtual QString name() { | ||
23 | return("qcop"); | ||
24 | } | ||
25 | virtual const QPixmap& pixmap() { | ||
26 | return(m_pixmap); | ||
27 | } | ||
28 | |||
29 | virtual void execute(); | ||
30 | protected: | ||
31 | }; | ||
32 | |||
33 | #endif /* _QCOPLNK_H_ */ | ||
34 | |||