author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /microkde/ktextedit.h | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
-rw-r--r-- | microkde/ktextedit.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/microkde/ktextedit.h b/microkde/ktextedit.h new file mode 100644 index 0000000..c912f3b --- a/dev/null +++ b/microkde/ktextedit.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef MICROKDE_KTEXTEDIT_H | ||
2 | #define MICROKDE_KTEXTEDIT_H | ||
3 | |||
4 | #include <qmultilineedit.h> | ||
5 | |||
6 | class KTextEdit : public QMultiLineEdit | ||
7 | { | ||
8 | public: | ||
9 | KTextEdit( QWidget *parent ) ; | ||
10 | |||
11 | private: | ||
12 | bool mAllowPopupMenu; | ||
13 | bool mMouseDown; | ||
14 | bool mIgnoreMark; | ||
15 | int mYMousePos; | ||
16 | int mXMousePos; | ||
17 | void mousePressEvent(QMouseEvent *e); | ||
18 | void mouseReleaseEvent(QMouseEvent *e); | ||
19 | void mouseMoveEvent(QMouseEvent *e); | ||
20 | }; | ||
21 | |||
22 | #endif | ||