summaryrefslogtreecommitdiff
path: root/inputmethods/keyboard
Unidiff
Diffstat (limited to 'inputmethods/keyboard') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/keyboard/keyboardimpl.cpp2
-rw-r--r--inputmethods/keyboard/keyboardimpl.h1
2 files changed, 1 insertions, 2 deletions
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
@@ -57,25 +57,25 @@ static const char * const ipti_xpm[] = {
57" ......................... ", 57" ......................... ",
58" .+++.+++.+++.+++.+++.+++. ", 58" .+++.+++.+++.+++.+++.+++. ",
59" .+@@.+@@.+@@.+@@.+@@.+@@. ", 59" .+@@.+@@.+@@.+@@.+@@.+@@. ",
60" ......................... ", 60" ......................... ",
61" .+++.+++.+++.+++.+++.+++. ", 61" .+++.+++.+++.+++.+++.+++. ",
62" .+@@.+@@.+@@.+@@.+@@.+@@. ", 62" .+@@.+@@.+@@.+@@.+@@.+@@. ",
63" ......................... ", 63" ......................... ",
64" .+++.+++.+++.+++.+++.+++. ", 64" .+++.+++.+++.+++.+++.+++. ",
65" .+@@.+@@.+@@.+@@.+@@.+@@. ", 65" .+@@.+@@.+@@.+@@.+@@.+@@. ",
66" ......................... "}; 66" ......................... "};
67 67
68KeyboardImpl::KeyboardImpl() 68KeyboardImpl::KeyboardImpl()
69 : input(0), icn(0), ref(0) 69 : input(0), icn(0)
70{ 70{
71} 71}
72 72
73KeyboardImpl::~KeyboardImpl() 73KeyboardImpl::~KeyboardImpl()
74{ 74{
75 delete input; 75 delete input;
76 delete icn; 76 delete icn;
77} 77}
78 78
79QWidget *KeyboardImpl::inputMethod( QWidget *parent, Qt::WFlags f ) 79QWidget *KeyboardImpl::inputMethod( QWidget *parent, Qt::WFlags f )
80{ 80{
81 if ( !input ) 81 if ( !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
@@ -43,18 +43,17 @@ public:
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
52private: 52private:
53 KeyboardInput::Keyboard *input; 53 KeyboardInput::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