summaryrefslogtreecommitdiff
path: root/core/applets/multikeyapplet/multikeyappletimpl.cpp
Unidiff
Diffstat (limited to 'core/applets/multikeyapplet/multikeyappletimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/multikeyapplet/multikeyappletimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/multikeyapplet/multikeyappletimpl.cpp b/core/applets/multikeyapplet/multikeyappletimpl.cpp
index adf92c4..9fa6ef1 100644
--- a/core/applets/multikeyapplet/multikeyappletimpl.cpp
+++ b/core/applets/multikeyapplet/multikeyappletimpl.cpp
@@ -1,42 +1,42 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2004 Anton Kachalov mouse@altlinux.ru 2** Copyright (C) 2004 Anton Kachalov mouse@altlinux.ru
3** All rights reserved. 3** All rights reserved.
4** 4**
5** This file may be distributed and/or modified under the terms of the 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 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 7** Foundation and appearing in the file LICENSE.GPL included in the
8** packaging of this file. 8** packaging of this file.
9** 9**
10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 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. 11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12** 12**
13**********************************************************************/ 13**********************************************************************/
14#include "multikey.h" 14#include "multikey.h"
15#include "multikeyappletimpl.h" 15#include "multikeyappletimpl.h"
16 16
17MultikeyAppletImpl::MultikeyAppletImpl() 17MultikeyAppletImpl::MultikeyAppletImpl()
18 : kbd(0), ref(0) 18 : kbd(0)
19{ 19{
20} 20}
21 21
22MultikeyAppletImpl::~MultikeyAppletImpl() 22MultikeyAppletImpl::~MultikeyAppletImpl()
23{ 23{
24 delete kbd; 24 delete kbd;
25} 25}
26 26
27QWidget *MultikeyAppletImpl::applet( QWidget *parent ) 27QWidget *MultikeyAppletImpl::applet( QWidget *parent )
28{ 28{
29 if ( !kbd ) 29 if ( !kbd )
30 kbd = new Multikey(parent); 30 kbd = new Multikey(parent);
31 return kbd; 31 return kbd;
32} 32}
33 33
34int MultikeyAppletImpl::position() const 34int MultikeyAppletImpl::position() const
35{ 35{
36 return 10; 36 return 10;
37} 37}
38 38
39#ifndef QT_NO_COMPONENT 39#ifndef QT_NO_COMPONENT
40QRESULT MultikeyAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 40QRESULT MultikeyAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
41{ 41{
42 *iface = 0; 42 *iface = 0;