Diffstat (limited to 'noncore/net/opietooth/applet/bluezappletimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/applet/bluezappletimpl.cpp | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/noncore/net/opietooth/applet/bluezappletimpl.cpp b/noncore/net/opietooth/applet/bluezappletimpl.cpp deleted file mode 100644 index 6677454..0000000 --- a/noncore/net/opietooth/applet/bluezappletimpl.cpp +++ b/dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | /* | ||
2 | =. This file is part of the OPIE Project | ||
3 | .=l. Copyright (c) 2002 Maximilian Reiss <max.reiss@gmx.de> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This library is free software; you can | ||
6 | .> <, > . <= redistribute it and/or modify it under | ||
7 | :=1 )Y*s>-.-- : the terms of the GNU Library General Public | ||
8 | .="- .-=="i, .._ License as published by the Free Software | ||
9 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
10 | ._= =} : or (at your option) any later version. | ||
11 | .%+i> _;_. | ||
12 | .i_,=:_. -<s. This library is distributed in the hope that | ||
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
14 | : .. .:, . . . without even the implied warranty of | ||
15 | =_ + =;=| MERCHANTABILITY or FITNESS FOR A | ||
16 | _.=:. : :=>: PARTICULAR PURPOSE. See the GNU | ||
17 | ..}^=.= = ; Library General Public License for more | ||
18 | ++= -. . .: details. | ||
19 | : = ...= . :.=- | ||
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-= this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
28 | |||
29 | #include "bluezapplet.h" | ||
30 | #include "bluezappletimpl.h" | ||
31 | |||
32 | namespace OpieTooth { | ||
33 | |||
34 | BluezAppletImpl::BluezAppletImpl() : bluetooth(0), ref(0) { | ||
35 | } | ||
36 | |||
37 | BluezAppletImpl::~BluezAppletImpl() { | ||
38 | delete bluetooth; | ||
39 | } | ||
40 | |||
41 | QWidget *BluezAppletImpl::applet( QWidget *parent ) { | ||
42 | if ( !bluetooth ) { | ||
43 | bluetooth = new BluezApplet( parent ); | ||
44 | } | ||
45 | return bluetooth; | ||
46 | } | ||
47 | |||
48 | int BluezAppletImpl::position() const { | ||
49 | return 6; | ||
50 | } | ||
51 | |||
52 | QRESULT BluezAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { | ||
53 | *iface = 0; | ||
54 | if ( uuid == IID_QUnknown ) { | ||
55 | *iface = this; | ||
56 | } else if ( uuid == IID_TaskbarApplet ) { | ||
57 | *iface = this; | ||
58 | } | ||
59 | |||
60 | if ( *iface ) { | ||
61 | (*iface)->addRef(); | ||
62 | } | ||
63 | return QS_OK; | ||
64 | } | ||
65 | |||
66 | Q_EXPORT_INTERFACE() { | ||
67 | Q_CREATE_INSTANCE( BluezAppletImpl ) | ||
68 | } | ||
69 | |||
70 | }; | ||
71 | |||
72 | |||