author | mickeyl <mickeyl> | 2004-01-03 16:56:29 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-01-03 16:56:29 (UTC) |
commit | 4f7bf49ba4c0466aa9cea618c9317ac965a1118f (patch) (unidiff) | |
tree | 79569e70472ef1217bb692866ed33e04a3a097f7 /core/applets/multikeyapplet/multikeyappletimpl.h | |
parent | 6f36ed1520e6d87ee1dfb5e19fba684ce58609c2 (diff) | |
download | opie-4f7bf49ba4c0466aa9cea618c9317ac965a1118f.zip opie-4f7bf49ba4c0466aa9cea618c9317ac965a1118f.tar.gz opie-4f7bf49ba4c0466aa9cea618c9317ac965a1118f.tar.bz2 |
add multikeyapplet (+distribution files) by Anton Kachalov <mouse@altlinux.ru>
Diffstat (limited to 'core/applets/multikeyapplet/multikeyappletimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/multikeyapplet/multikeyappletimpl.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/core/applets/multikeyapplet/multikeyappletimpl.h b/core/applets/multikeyapplet/multikeyappletimpl.h new file mode 100644 index 0000000..c77e347 --- a/dev/null +++ b/core/applets/multikeyapplet/multikeyappletimpl.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2004 Anton Kachalov mouse@altlinux.ru | ||
3 | ** All rights reserved. | ||
4 | ** | ||
5 | ** This file may be distributed and/or modified under the terms of the | ||
6 | ** GNU General Public License version 2 as published by the Free Software | ||
7 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
8 | ** packaging of this file. | ||
9 | ** | ||
10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
12 | ** | ||
13 | **********************************************************************/ | ||
14 | #ifndef __MULTIKEYAPPLETIMPL_H__ | ||
15 | #define __MULTIKEYAPPLETIMPL_H__ | ||
16 | |||
17 | #include <qpe/taskbarappletinterface.h> | ||
18 | |||
19 | class Multikey; | ||
20 | |||
21 | class MultikeyAppletImpl : public TaskbarAppletInterface | ||
22 | { | ||
23 | public: | ||
24 | MultikeyAppletImpl(); | ||
25 | virtual ~MultikeyAppletImpl(); | ||
26 | |||
27 | #ifndef QT_NO_COMPONENT | ||
28 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | ||
29 | Q_REFCOUNT | ||
30 | #endif | ||
31 | |||
32 | virtual QWidget *applet( QWidget *parent ); | ||
33 | virtual int position() const; | ||
34 | |||
35 | private: | ||
36 | Multikey *kbd; | ||
37 | ulong ref; | ||
38 | }; | ||
39 | |||
40 | #endif /* __MULTIKEYAPPLETIMPL_H__ */ | ||