Diffstat (limited to 'core/applets/volumeapplet/volumeappletimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/volumeapplet/volumeappletimpl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/applets/volumeapplet/volumeappletimpl.cpp b/core/applets/volumeapplet/volumeappletimpl.cpp index 4cbab31..9c7dea3 100644 --- a/core/applets/volumeapplet/volumeappletimpl.cpp +++ b/core/applets/volumeapplet/volumeappletimpl.cpp | |||
@@ -1,47 +1,45 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "volume.h" | 20 | #include "volume.h" |
21 | #include "volumeappletimpl.h" | 21 | #include "volumeappletimpl.h" |
22 | #include <qpe/qcopenvelope_qws.h> | ||
23 | #include <qpe/config.h> | ||
24 | 22 | ||
25 | VolumeAppletImpl::VolumeAppletImpl() | 23 | VolumeAppletImpl::VolumeAppletImpl() |
26 | : volume(0) | 24 | : volume(0) |
27 | { | 25 | { |
28 | } | 26 | } |
29 | 27 | ||
30 | VolumeAppletImpl::~VolumeAppletImpl() | 28 | VolumeAppletImpl::~VolumeAppletImpl() |
31 | { | 29 | { |
32 | delete volume; | 30 | delete volume; |
33 | } | 31 | } |
34 | 32 | ||
35 | QWidget *VolumeAppletImpl::applet( QWidget *parent ) | 33 | QWidget *VolumeAppletImpl::applet( QWidget *parent ) |
36 | { | 34 | { |
37 | if ( !volume ) | 35 | if ( !volume ) |
38 | volume = new VolumeApplet( parent ); | 36 | volume = new VolumeApplet( parent ); |
39 | return volume; | 37 | return volume; |
40 | } | 38 | } |
41 | 39 | ||
42 | int VolumeAppletImpl::position() const | 40 | int VolumeAppletImpl::position() const |
43 | { | 41 | { |
44 | return 6; | 42 | return 6; |
45 | } | 43 | } |
46 | 44 | ||
47 | QRESULT VolumeAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 45 | QRESULT VolumeAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |