Diffstat (limited to 'core/applets/vmemo/vmemoimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/vmemo/vmemoimpl.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/core/applets/vmemo/vmemoimpl.cpp b/core/applets/vmemo/vmemoimpl.cpp index 9e6c7cd..ef4a3a6 100644 --- a/core/applets/vmemo/vmemoimpl.cpp +++ b/core/applets/vmemo/vmemoimpl.cpp | |||
@@ -1,15 +1,15 @@ | |||
1 | /**************************************************************************************94x78** | 1 | /**************************************************************************************94x78** |
2 | ** | 2 | ** |
3 | ** This file may be distributed and/or modified under the terms of the | 3 | ** This file may be distributed and/or modified under the terms of the |
4 | ** GNU General Public License version 2 as published by the Free Software | 4 | ** GNU General Public License version 2 as published by the Free Software |
5 | ** Foundation and appearing in the file LICENSE.GPL included in the | 5 | ** Foundation and appearing in the file LICENSE.GPL included in the |
6 | ** packaging of this file. | 6 | ** packaging of this file. |
7 | ** | 7 | ** |
8 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 8 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
9 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 9 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
10 | ** | 10 | ** |
11 | *********************************************************************************************/ | 11 | *********************************************************************************************/ |
12 | 12 | ||
13 | /* | 13 | /* |
14 | * $Id$ | 14 | * $Id$ |
15 | */ | 15 | */ |
@@ -18,9 +18,9 @@ | |||
18 | #include "vmemoimpl.h" | 18 | #include "vmemoimpl.h" |
19 | 19 | ||
20 | 20 | ||
21 | VMemoAppletImpl::VMemoAppletImpl() | 21 | VMemoAppletImpl::VMemoAppletImpl() |
22 | : vmemo(0), ref(0) | 22 | : vmemo(0), ref(0) |
23 | { | 23 | { |
24 | } | 24 | } |
25 | 25 | ||
26 | VMemoAppletImpl::~VMemoAppletImpl() | 26 | VMemoAppletImpl::~VMemoAppletImpl() |
@@ -30,9 +30,9 @@ VMemoAppletImpl::~VMemoAppletImpl() | |||
30 | 30 | ||
31 | QWidget *VMemoAppletImpl::applet( QWidget *parent ) | 31 | QWidget *VMemoAppletImpl::applet( QWidget *parent ) |
32 | { | 32 | { |
33 | if ( !vmemo ) | 33 | if ( !vmemo ) |
34 | vmemo = new VMemo( parent ); | 34 | vmemo = new VMemo( parent ); |
35 | return vmemo; | 35 | return vmemo; |
36 | } | 36 | } |
37 | 37 | ||
38 | int VMemoAppletImpl::position() const | 38 | int VMemoAppletImpl::position() const |
@@ -41,19 +41,19 @@ int VMemoAppletImpl::position() const | |||
41 | } | 41 | } |
42 | 42 | ||
43 | QRESULT VMemoAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 43 | QRESULT VMemoAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |
44 | { | 44 | { |
45 | *iface = 0; | 45 | *iface = 0; |
46 | if ( uuid == IID_QUnknown ) | 46 | if ( uuid == IID_QUnknown ) |
47 | *iface = this; | 47 | *iface = this; |
48 | else if ( uuid == IID_TaskbarApplet ) | 48 | else if ( uuid == IID_TaskbarApplet ) |
49 | *iface = this; | 49 | *iface = this; |
50 | 50 | ||
51 | if ( *iface ) | 51 | if ( *iface ) |
52 | (*iface)->addRef(); | 52 | (*iface)->addRef(); |
53 | return QS_OK; | 53 | return QS_OK; |
54 | } | 54 | } |
55 | 55 | ||
56 | Q_EXPORT_INTERFACE() | 56 | Q_EXPORT_INTERFACE() |
57 | { | 57 | { |
58 | Q_CREATE_INSTANCE( VMemoAppletImpl ) | 58 | Q_CREATE_INSTANCE( VMemoAppletImpl ) |
59 | } | 59 | } |