aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textedit.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/textedit.h b/textedit.h
new file mode 100644
index 0000000..fe0b395
--- /dev/null
+++ b/textedit.h
@@ -0,0 +1,22 @@
+#ifndef __TEXTEDIT_H__
+#define __TEXTEDIT_H__
+
+#include <QPlainTextEdit>
+
+class QtGui;
+class QApplication;
+class QWidget;
+
+class TextEdit : public QPlainTextEdit
+{
+ Q_OBJECT
+public:
+ TextEdit(QWidget *parent=0);
+public slots:
+ void comment();
+protected:
+ void dragEnterEvent(QDragEnterEvent *event);
+ void dropEvent(QDropEvent* event);
+
+};
+#endif // TEXTEDIT