author | zecke <zecke> | 2004-02-05 17:15:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-05 17:15:20 (UTC) |
commit | f6487edaaad38c6454fc50697d7884f0bc627489 (patch) (side-by-side diff) | |
tree | 26b2ea805710488c84a731fef576467047fb80fd /inputmethods | |
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"
-rw-r--r-- | inputmethods/dasher/QtDasherImpl.cc | 2 | ||||
-rw-r--r-- | inputmethods/dasher/QtDasherImpl.h | 1 | ||||
-rw-r--r-- | inputmethods/dvorak/dvorakimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/dvorak/dvorakimpl.h | 1 | ||||
-rw-r--r-- | inputmethods/handwriting/handwritingimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/handwriting/handwritingimpl.h | 1 | ||||
-rw-r--r-- | inputmethods/jumpx/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/jumpx/keyboardimpl.h | 1 | ||||
-rw-r--r-- | inputmethods/keyboard/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/keyboard/keyboardimpl.h | 1 | ||||
-rw-r--r-- | inputmethods/kjumpx/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/kjumpx/keyboardimpl.h | 1 | ||||
-rw-r--r-- | inputmethods/multikey/keyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/multikey/keyboardimpl.h | 1 | ||||
-rw-r--r-- | inputmethods/pickboard/pickboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/pickboard/pickboardimpl.h | 1 | ||||
-rw-r--r-- | inputmethods/unikeyboard/unikeyboardimpl.cpp | 2 | ||||
-rw-r--r-- | inputmethods/unikeyboard/unikeyboardimpl.h | 1 |
18 files changed, 9 insertions, 18 deletions
diff --git a/inputmethods/dasher/QtDasherImpl.cc b/inputmethods/dasher/QtDasherImpl.cc index 9513802..d72f6d9 100644 --- a/inputmethods/dasher/QtDasherImpl.cc +++ b/inputmethods/dasher/QtDasherImpl.cc @@ -18,13 +18,13 @@ static const char * qtdasher_xpm[]={ " # # # # ", " # # # ", " ########################## "}; QtDasherImpl::QtDasherImpl() - : qtdasherwidget(0), icn(0), ref(0), qtdasherinterface(0) + : qtdasherwidget(0), icn(0), qtdasherinterface(0) { } QtDasherImpl::~QtDasherImpl() { delete qtdasherwidget; diff --git a/inputmethods/dasher/QtDasherImpl.h b/inputmethods/dasher/QtDasherImpl.h index c143dc3..69e278c 100644 --- a/inputmethods/dasher/QtDasherImpl.h +++ b/inputmethods/dasher/QtDasherImpl.h @@ -25,13 +25,12 @@ public: virtual void onKeyPress( QObject *receiver, const char *slot ); private: CDasherInterface *qtdasherinterface; QtDasherPlugin *qtdasherwidget; QPixmap *icn; - ulong ref; }; #endif diff --git a/inputmethods/dvorak/dvorakimpl.cpp b/inputmethods/dvorak/dvorakimpl.cpp index 9e9fed9..1bc2ec8 100644 --- a/inputmethods/dvorak/dvorakimpl.cpp +++ b/inputmethods/dvorak/dvorakimpl.cpp @@ -65,13 +65,13 @@ static const char * const opti_xpm[] = { " .+@@.+@@.+@@.+@@.+@@.+@@. ", " ......................... "}; KeyboardImpl::KeyboardImpl() - : input(0), icn(0), ref(0) + : input(0), icn(0) { } KeyboardImpl::~KeyboardImpl() { delete input; diff --git a/inputmethods/dvorak/dvorakimpl.h b/inputmethods/dvorak/dvorakimpl.h index bd9fa88..8cc4e25 100644 --- a/inputmethods/dvorak/dvorakimpl.h +++ b/inputmethods/dvorak/dvorakimpl.h @@ -49,12 +49,11 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: Dvorak::Keyboard *input; QPixmap *icn; - ulong ref; }; } // anonymous namespace #endif diff --git a/inputmethods/handwriting/handwritingimpl.cpp b/inputmethods/handwriting/handwritingimpl.cpp index 22e2058..bbd5b1b 100644 --- a/inputmethods/handwriting/handwritingimpl.cpp +++ b/inputmethods/handwriting/handwritingimpl.cpp @@ -48,13 +48,13 @@ static const char * pen_xpm[] = { " . . . . . .*.&. ", " . . . . . .**. ", " ... ... .. ... ", " "}; HandwritingImpl::HandwritingImpl() - : input(0), icn(0), ref(0) + : input(0), icn(0) { } HandwritingImpl::~HandwritingImpl() { delete input; diff --git a/inputmethods/handwriting/handwritingimpl.h b/inputmethods/handwriting/handwritingimpl.h index 1215853..4297c8c 100644 --- a/inputmethods/handwriting/handwritingimpl.h +++ b/inputmethods/handwriting/handwritingimpl.h @@ -42,10 +42,9 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: QIMPenInput *input; QPixmap *icn; - ulong ref; }; #endif diff --git a/inputmethods/jumpx/keyboardimpl.cpp b/inputmethods/jumpx/keyboardimpl.cpp index e75dd5f..b40046c 100644 --- a/inputmethods/jumpx/keyboardimpl.cpp +++ b/inputmethods/jumpx/keyboardimpl.cpp @@ -32,13 +32,13 @@ static const char * const icon_xpm[] = { ". . . . . . . ", ". . . . . . . ", " ... ... ... ... ... ... "}; KeyboardImpl::KeyboardImpl() - : input(0), icn(0), ref(0) + : input(0), icn(0) { } KeyboardImpl::~KeyboardImpl() { delete input; diff --git a/inputmethods/jumpx/keyboardimpl.h b/inputmethods/jumpx/keyboardimpl.h index 087781f..cee4c18 100644 --- a/inputmethods/jumpx/keyboardimpl.h +++ b/inputmethods/jumpx/keyboardimpl.h @@ -40,12 +40,11 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: JumpX::Keyboard *input; QPixmap *icn; - ulong ref; }; } // anonymous namespace #endif diff --git a/inputmethods/keyboard/keyboardimpl.cpp b/inputmethods/keyboard/keyboardimpl.cpp index 701d35f..86d0427 100644 --- a/inputmethods/keyboard/keyboardimpl.cpp +++ b/inputmethods/keyboard/keyboardimpl.cpp @@ -63,13 +63,13 @@ static const char * const ipti_xpm[] = { " ......................... ", " .+++.+++.+++.+++.+++.+++. ", " .+@@.+@@.+@@.+@@.+@@.+@@. ", " ......................... "}; KeyboardImpl::KeyboardImpl() - : input(0), icn(0), ref(0) + : input(0), icn(0) { } KeyboardImpl::~KeyboardImpl() { delete input; diff --git a/inputmethods/keyboard/keyboardimpl.h b/inputmethods/keyboard/keyboardimpl.h index d33a822..644070c 100644 --- a/inputmethods/keyboard/keyboardimpl.h +++ b/inputmethods/keyboard/keyboardimpl.h @@ -49,12 +49,11 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: KeyboardInput::Keyboard *input; QPixmap *icn; - ulong ref; }; } // anonymous namespace #endif diff --git a/inputmethods/kjumpx/keyboardimpl.cpp b/inputmethods/kjumpx/keyboardimpl.cpp index 54fe36e..6c4af71 100644 --- a/inputmethods/kjumpx/keyboardimpl.cpp +++ b/inputmethods/kjumpx/keyboardimpl.cpp @@ -32,13 +32,13 @@ static const char * const icon_xpm[] = { ". . ....... . . ", ". . . . . ", " ... ... ... ... ... ... "}; KeyboardImpl::KeyboardImpl() - : input(0), icn(0), ref(0) + : input(0), icn(0) { } KeyboardImpl::~KeyboardImpl() { delete input; diff --git a/inputmethods/kjumpx/keyboardimpl.h b/inputmethods/kjumpx/keyboardimpl.h index 1ff1034..e57121e 100644 --- a/inputmethods/kjumpx/keyboardimpl.h +++ b/inputmethods/kjumpx/keyboardimpl.h @@ -40,12 +40,11 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: KJumpX::Keyboard *input; QPixmap *icn; - ulong ref; }; } // anonymous namespace #endif diff --git a/inputmethods/multikey/keyboardimpl.cpp b/inputmethods/multikey/keyboardimpl.cpp index b7908d9..a1c47ad 100644 --- a/inputmethods/multikey/keyboardimpl.cpp +++ b/inputmethods/multikey/keyboardimpl.cpp @@ -42,13 +42,13 @@ static const char * const kb_xpm[] = { " .++++.++++++++++++++.++++. ", " .+@@@.+@@@@@@@@@@@@@.+@@@. ", " .......................... "}; KeyboardImpl::KeyboardImpl() - : input(0), icn(0), ref(0) + : input(0), icn(0) { } KeyboardImpl::~KeyboardImpl() { delete input; 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 @@ -49,12 +49,11 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: MultiKey::Keyboard *input; QPixmap *icn; - ulong ref; }; } // anonymous namespace #endif diff --git a/inputmethods/pickboard/pickboardimpl.cpp b/inputmethods/pickboard/pickboardimpl.cpp index 8f449cd..9a21229 100644 --- a/inputmethods/pickboard/pickboardimpl.cpp +++ b/inputmethods/pickboard/pickboardimpl.cpp @@ -35,13 +35,13 @@ static const char * pb_xpm[]={ " # # # # # # ", " # # # # # # ", " ########################## "}; PickboardImpl::PickboardImpl() - : pickboard(0), icn(0), ref(0) + : pickboard(0), icn(0) { } PickboardImpl::~PickboardImpl() { delete pickboard; diff --git a/inputmethods/pickboard/pickboardimpl.h b/inputmethods/pickboard/pickboardimpl.h index 4f23665..8340d0d 100644 --- a/inputmethods/pickboard/pickboardimpl.h +++ b/inputmethods/pickboard/pickboardimpl.h @@ -42,10 +42,9 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: Pickboard *pickboard; QPixmap *icn; - ulong ref; }; #endif diff --git a/inputmethods/unikeyboard/unikeyboardimpl.cpp b/inputmethods/unikeyboard/unikeyboardimpl.cpp index e7fc00e..451f340 100644 --- a/inputmethods/unikeyboard/unikeyboardimpl.cpp +++ b/inputmethods/unikeyboard/unikeyboardimpl.cpp @@ -40,13 +40,13 @@ static const char * uni_xpm[]={ "...#####..#####.....#####...", "....##########.......####...", "......######..........###...", "............................"}; UniKeyboardImpl::UniKeyboardImpl() - : input(0), icn(0), ref(0) + : input(0), icn(0) { } UniKeyboardImpl::~UniKeyboardImpl() { delete input; diff --git a/inputmethods/unikeyboard/unikeyboardimpl.h b/inputmethods/unikeyboard/unikeyboardimpl.h index 97b1ff6..8c7802f 100644 --- a/inputmethods/unikeyboard/unikeyboardimpl.h +++ b/inputmethods/unikeyboard/unikeyboardimpl.h @@ -40,10 +40,9 @@ public: virtual QString name(); virtual void onKeyPress( QObject *receiver, const char *slot ); private: UniKeyboard *input; QPixmap *icn; - ulong ref; }; #endif |