summaryrefslogtreecommitdiffabout
path: root/microkde/ktextedit.h
blob: 87c0602540e4b8c12d91efab709e6b6b9c9185ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MICROKDE_KTEXTEDIT_H
#define MICROKDE_KTEXTEDIT_H

#include <qmultilineedit.h>

class KTextEdit : public QMultiLineEdit
{
  public:
    KTextEdit( QWidget *parent )  ;
    void setIgnoreMark( bool b ) { mIgnoreMark = b; }

 private:
    bool mAllowPopupMenu;
    bool mMouseDown;
    bool mIgnoreMark;
    int mYMousePos;
    int mXMousePos;
    void mousePressEvent(QMouseEvent *e);
    void mouseReleaseEvent(QMouseEvent *e);
    void mouseMoveEvent(QMouseEvent *e);
};

#endif