author | mickeyl <mickeyl> | 2004-10-29 12:35:11 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-10-29 12:35:11 (UTC) |
commit | e1ab37a7bc09619958037be7ecddc67fd334227d (patch) (unidiff) | |
tree | 9374a62997e73b423dff0ffffea0947404aeb467 | |
parent | 464bf3433f6602bcf7f83342f0539bac8677ae64 (diff) | |
download | opie-e1ab37a7bc09619958037be7ecddc67fd334227d.zip opie-e1ab37a7bc09619958037be7ecddc67fd334227d.tar.gz opie-e1ab37a7bc09619958037be7ecddc67fd334227d.tar.bz2 |
no longer needed
-rw-r--r-- | core/applets/multikeyapplet/multikeyappletimpl.cpp | 59 | ||||
-rw-r--r-- | core/applets/multikeyapplet/multikeyappletimpl.h | 39 |
2 files changed, 0 insertions, 98 deletions
diff --git a/core/applets/multikeyapplet/multikeyappletimpl.cpp b/core/applets/multikeyapplet/multikeyappletimpl.cpp deleted file mode 100644 index 9fa6ef1..0000000 --- a/core/applets/multikeyapplet/multikeyappletimpl.cpp +++ b/dev/null | |||
@@ -1,59 +0,0 @@ | |||
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 | #include "multikey.h" | ||
15 | #include "multikeyappletimpl.h" | ||
16 | |||
17 | MultikeyAppletImpl::MultikeyAppletImpl() | ||
18 | : kbd(0) | ||
19 | { | ||
20 | } | ||
21 | |||
22 | MultikeyAppletImpl::~MultikeyAppletImpl() | ||
23 | { | ||
24 | delete kbd; | ||
25 | } | ||
26 | |||
27 | QWidget *MultikeyAppletImpl::applet( QWidget *parent ) | ||
28 | { | ||
29 | if ( !kbd ) | ||
30 | kbd = new Multikey(parent); | ||
31 | return kbd; | ||
32 | } | ||
33 | |||
34 | int MultikeyAppletImpl::position() const | ||
35 | { | ||
36 | return 10; | ||
37 | } | ||
38 | |||
39 | #ifndef QT_NO_COMPONENT | ||
40 | QRESULT MultikeyAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | ||
41 | { | ||
42 | *iface = 0; | ||
43 | if ( uuid == IID_QUnknown ) | ||
44 | *iface = this; | ||
45 | else if ( uuid == IID_TaskbarApplet ) | ||
46 | *iface = this; | ||
47 | else | ||
48 | return QS_FALSE; | ||
49 | |||
50 | if ( *iface ) | ||
51 | (*iface)->addRef(); | ||
52 | return QS_OK; | ||
53 | } | ||
54 | |||
55 | Q_EXPORT_INTERFACE() | ||
56 | { | ||
57 | Q_CREATE_INSTANCE( MultikeyAppletImpl ) | ||
58 | } | ||
59 | #endif | ||
diff --git a/core/applets/multikeyapplet/multikeyappletimpl.h b/core/applets/multikeyapplet/multikeyappletimpl.h deleted file mode 100644 index 68962ee..0000000 --- a/core/applets/multikeyapplet/multikeyappletimpl.h +++ b/dev/null | |||
@@ -1,39 +0,0 @@ | |||
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 | }; | ||
38 | |||
39 | #endif /* __MULTIKEYAPPLETIMPL_H__ */ | ||