author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (side-by-side diff) | |
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 @@ +#ifndef MICROKDE_KTEXTEDIT_H +#define MICROKDE_KTEXTEDIT_H + +#include <qmultilineedit.h> + +class KTextEdit : public QMultiLineEdit +{ + public: + KTextEdit( QWidget *parent ) ; + + private: + bool mAllowPopupMenu; + bool mMouseDown; + bool mIgnoreMark; + int mYMousePos; + int mXMousePos; + void mousePressEvent(QMouseEvent *e); + void mouseReleaseEvent(QMouseEvent *e); + void mouseMoveEvent(QMouseEvent *e); +}; + +#endif |