summaryrefslogtreecommitdiffabout
path: root/microkde/ktextedit.h
Side-by-side diff
Diffstat (limited to 'microkde/ktextedit.h') (more/less context) (show whitespace changes)
-rw-r--r--microkde/ktextedit.h22
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