author | zecke <zecke> | 2002-11-03 11:10:04 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-11-03 11:10:04 (UTC) |
commit | eac6c5d3a22147d78866122c2f5b89d3fdf6bfc6 (patch) (unidiff) | |
tree | d096190896794e21fd2194a8ff17edec61b2c64f | |
parent | 3176ef8fcbaa4716738df7d2e4c0216ccaab604a (diff) | |
download | opie-eac6c5d3a22147d78866122c2f5b89d3fdf6bfc6.zip opie-eac6c5d3a22147d78866122c2f5b89d3fdf6bfc6.tar.gz opie-eac6c5d3a22147d78866122c2f5b89d3fdf6bfc6.tar.bz2 |
No default arguments....
Patch by jowenn
-rw-r--r-- | inputmethods/handwriting/qimpeninput.cpp | 4 | ||||
-rw-r--r-- | inputmethods/handwriting/qimpeninput.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/inputmethods/handwriting/qimpeninput.cpp b/inputmethods/handwriting/qimpeninput.cpp index 3f7a347..db33c9b 100644 --- a/inputmethods/handwriting/qimpeninput.cpp +++ b/inputmethods/handwriting/qimpeninput.cpp | |||
@@ -121,34 +121,34 @@ static char * help_xpm[] = { | |||
121 | " .+..@+. ", | 121 | " .+..@+. ", |
122 | " #.# .+. ", | 122 | " #.# .+. ", |
123 | " .+. ", | 123 | " .+. ", |
124 | " .+. ", | 124 | " .+. ", |
125 | " .+. ", | 125 | " .+. ", |
126 | " .+. ", | 126 | " .+. ", |
127 | " #.# ", | 127 | " #.# ", |
128 | " .+. ", | 128 | " .+. ", |
129 | " #.# "}; | 129 | " #.# "}; |
130 | 130 | ||
131 | 131 | ||
132 | /*! | 132 | /*! |
133 | \class QIMPenInput qimpeninput.h | 133 | \class QIMPenInput qimpeninput.h |
134 | 134 | ||
135 | Pen input widget. | 135 | Pen input widget. |
136 | */ | 136 | */ |
137 | QIMPenInput::QIMPenInput( QWidget *parent, const char *name, WFlags f ) | 137 | QIMPenInput::QIMPenInput( QWidget *parent, const char *name, WFlags wf ) |
138 | : QFrame( parent, name, f ), helpDlg(0), profile(0) | 138 | : QFrame( parent, name, wf ), helpDlg(0), profile(0) |
139 | { | 139 | { |
140 | setFrameStyle( Box | Plain ); | 140 | setFrameStyle( Box | Plain ); |
141 | 141 | ||
142 | profileList.setAutoDelete( true ); | 142 | profileList.setAutoDelete( true ); |
143 | 143 | ||
144 | matcher = new QIMPenMatch( this ); | 144 | matcher = new QIMPenMatch( this ); |
145 | connect( matcher, SIGNAL(keypress(uint)), this, SLOT(keypress(uint)) ); | 145 | connect( matcher, SIGNAL(keypress(uint)), this, SLOT(keypress(uint)) ); |
146 | connect( matcher, SIGNAL(erase()), this, SLOT(erase()) ); | 146 | connect( matcher, SIGNAL(erase()), this, SLOT(erase()) ); |
147 | 147 | ||
148 | QGridLayout *gl = new QGridLayout( this, 5, 2, 1, 0 ); | 148 | QGridLayout *gl = new QGridLayout( this, 5, 2, 1, 0 ); |
149 | gl->setColStretch( 0, 1 ); | 149 | gl->setColStretch( 0, 1 ); |
150 | 150 | ||
151 | wordPicker = new QIMPenWordPick( this ); | 151 | wordPicker = new QIMPenWordPick( this ); |
152 | connect( wordPicker, SIGNAL(wordClicked(const QString &)), | 152 | connect( wordPicker, SIGNAL(wordClicked(const QString &)), |
153 | this, SLOT(wordPicked(const QString &)) ); | 153 | this, SLOT(wordPicked(const QString &)) ); |
154 | connect( matcher, SIGNAL(matchedCharacters(const QIMPenCharMatchList &)), | 154 | connect( matcher, SIGNAL(matchedCharacters(const QIMPenCharMatchList &)), |
diff --git a/inputmethods/handwriting/qimpeninput.h b/inputmethods/handwriting/qimpeninput.h index b4e4006..75cf260 100644 --- a/inputmethods/handwriting/qimpeninput.h +++ b/inputmethods/handwriting/qimpeninput.h | |||
@@ -28,33 +28,33 @@ | |||
28 | #include <qframe.h> | 28 | #include <qframe.h> |
29 | #include <qlist.h> | 29 | #include <qlist.h> |
30 | #include <qguardedptr.h> | 30 | #include <qguardedptr.h> |
31 | 31 | ||
32 | class QPushButton; | 32 | class QPushButton; |
33 | class QTimer; | 33 | class QTimer; |
34 | class QIMPenWidget; | 34 | class QIMPenWidget; |
35 | class QIMPenSetup; | 35 | class QIMPenSetup; |
36 | class QIMPenWordPick; | 36 | class QIMPenWordPick; |
37 | class QIMPenMatch; | 37 | class QIMPenMatch; |
38 | class HandwritingHelp; | 38 | class HandwritingHelp; |
39 | 39 | ||
40 | class QIMPenInput : public QFrame | 40 | class QIMPenInput : public QFrame |
41 | { | 41 | { |
42 | Q_OBJECT | 42 | Q_OBJECT |
43 | public: | 43 | public: |
44 | QIMPenInput( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 44 | QIMPenInput( QWidget *parent = 0, const char *name = 0, WFlags wf = 0 ); |
45 | virtual ~QIMPenInput(); | 45 | virtual ~QIMPenInput(); |
46 | 46 | ||
47 | void resetState(); | 47 | void resetState(); |
48 | 48 | ||
49 | QSize sizeHint() const; | 49 | QSize sizeHint() const; |
50 | 50 | ||
51 | signals: | 51 | signals: |
52 | void key( ushort, ushort, ushort, bool, bool ); | 52 | void key( ushort, ushort, ushort, bool, bool ); |
53 | 53 | ||
54 | private slots: | 54 | private slots: |
55 | void wordPicked( const QString & ); | 55 | void wordPicked( const QString & ); |
56 | void selectCharSet( int ); | 56 | void selectCharSet( int ); |
57 | void beginStroke(); | 57 | void beginStroke(); |
58 | void strokeEntered( QIMPenStroke *st ); | 58 | void strokeEntered( QIMPenStroke *st ); |
59 | void matchedCharacters( const QIMPenCharMatchList &cl ); | 59 | void matchedCharacters( const QIMPenCharMatchList &cl ); |
60 | void keypress( uint scan_uni ); | 60 | void keypress( uint scan_uni ); |