author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /microkde/ktextedit.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | microkde/ktextedit.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/microkde/ktextedit.h b/microkde/ktextedit.h index 87c0602..b7c8924 100644 --- a/microkde/ktextedit.h +++ b/microkde/ktextedit.h | |||
@@ -1,23 +1,25 @@ | |||
1 | #ifndef MICROKDE_KTEXTEDIT_H | 1 | #ifndef MICROKDE_KTEXTEDIT_H |
2 | #define MICROKDE_KTEXTEDIT_H | 2 | #define MICROKDE_KTEXTEDIT_H |
3 | 3 | ||
4 | #include <qmultilineedit.h> | 4 | #include <q3multilineedit.h> |
5 | //Added by qt3to4: | ||
6 | #include <QMouseEvent> | ||
5 | 7 | ||
6 | class KTextEdit : public QMultiLineEdit | 8 | class KTextEdit : public Q3MultiLineEdit |
7 | { | 9 | { |
8 | public: | 10 | public: |
9 | KTextEdit( QWidget *parent ) ; | 11 | KTextEdit( QWidget *parent ) ; |
10 | void setIgnoreMark( bool b ) { mIgnoreMark = b; } | 12 | void setIgnoreMark( bool b ) { mIgnoreMark = b; } |
11 | 13 | ||
12 | private: | 14 | private: |
13 | bool mAllowPopupMenu; | 15 | bool mAllowPopupMenu; |
14 | bool mMouseDown; | 16 | bool mMouseDown; |
15 | bool mIgnoreMark; | 17 | bool mIgnoreMark; |
16 | int mYMousePos; | 18 | int mYMousePos; |
17 | int mXMousePos; | 19 | int mXMousePos; |
18 | void mousePressEvent(QMouseEvent *e); | 20 | void mousePressEvent(QMouseEvent *e); |
19 | void mouseReleaseEvent(QMouseEvent *e); | 21 | void mouseReleaseEvent(QMouseEvent *e); |
20 | void mouseMoveEvent(QMouseEvent *e); | 22 | void mouseMoveEvent(QMouseEvent *e); |
21 | }; | 23 | }; |
22 | 24 | ||
23 | #endif | 25 | #endif |