summaryrefslogtreecommitdiffabout
path: root/microkde/ktextedit.h
Unidiff
Diffstat (limited to 'microkde/ktextedit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/ktextedit.h6
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
6class KTextEdit : public QMultiLineEdit 8class 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