author | zecke <zecke> | 2004-02-05 17:15:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-05 17:15:20 (UTC) |
commit | f6487edaaad38c6454fc50697d7884f0bc627489 (patch) (unidiff) | |
tree | 26b2ea805710488c84a731fef576467047fb80fd /inputmethods/multikey/keyboardimpl.h | |
parent | 416c72588577bca18ba1c9180701143e7e572eed (diff) | |
download | opie-f6487edaaad38c6454fc50697d7884f0bc627489.zip opie-f6487edaaad38c6454fc50697d7884f0bc627489.tar.gz opie-f6487edaaad38c6454fc50697d7884f0bc627489.tar.bz2 |
More janitor....
remove ulong ref because we use Q_REFCOUNT which also takes
care of initializing the refcount to 0
"And if you save yourself
You will make him happy
He'll keep you in a jar
And you'll think you're happy
He'll give you breathing holes"
Diffstat (limited to 'inputmethods/multikey/keyboardimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboardimpl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/inputmethods/multikey/keyboardimpl.h b/inputmethods/multikey/keyboardimpl.h index 76a2955..40fea10 100644 --- a/inputmethods/multikey/keyboardimpl.h +++ b/inputmethods/multikey/keyboardimpl.h | |||
@@ -7,54 +7,53 @@ | |||
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 | #ifndef KEYBOARDIMPL_H | 20 | #ifndef KEYBOARDIMPL_H |
21 | #define KEYBOARDIMPL_H | 21 | #define KEYBOARDIMPL_H |
22 | 22 | ||
23 | #include <qpe/inputmethodinterface.h> | 23 | #include <qpe/inputmethodinterface.h> |
24 | 24 | ||
25 | namespace MultiKey | 25 | namespace MultiKey |
26 | { | 26 | { |
27 | class Keyboard; | 27 | class Keyboard; |
28 | } | 28 | } |
29 | 29 | ||
30 | class QPixmap; | 30 | class QPixmap; |
31 | 31 | ||
32 | namespace | 32 | namespace |
33 | { | 33 | { |
34 | 34 | ||
35 | class KeyboardImpl : public InputMethodInterface | 35 | class KeyboardImpl : public InputMethodInterface |
36 | { | 36 | { |
37 | public: | 37 | public: |
38 | KeyboardImpl(); | 38 | KeyboardImpl(); |
39 | virtual ~KeyboardImpl(); | 39 | virtual ~KeyboardImpl(); |
40 | 40 | ||
41 | #ifndef QT_NO_COMPONENT | 41 | #ifndef QT_NO_COMPONENT |
42 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | 42 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); |
43 | Q_REFCOUNT | 43 | Q_REFCOUNT |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f ); | 46 | virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f ); |
47 | virtual void resetState(); | 47 | virtual void resetState(); |
48 | virtual QPixmap *icon(); | 48 | virtual QPixmap *icon(); |
49 | virtual QString name(); | 49 | virtual QString name(); |
50 | virtual void onKeyPress( QObject *receiver, const char *slot ); | 50 | virtual void onKeyPress( QObject *receiver, const char *slot ); |
51 | 51 | ||
52 | private: | 52 | private: |
53 | MultiKey::Keyboard *input; | 53 | MultiKey::Keyboard *input; |
54 | QPixmap *icn; | 54 | QPixmap *icn; |
55 | ulong ref; | ||
56 | }; | 55 | }; |
57 | 56 | ||
58 | } // anonymous namespace | 57 | } // anonymous namespace |
59 | 58 | ||
60 | #endif | 59 | #endif |