vlp-27 Removed some unused code. Added undo&redo to menu. Removed maximum window...
[vlp.git] / src / edit / editor.h
index 16f4cacb9a6517c4a29e4934e9fedea996d06a97..f619f22ad9176c7afa8746addc6a24f995441e3f 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef QWERTY_H
-#define QWERTY_H
+#ifndef VLP_EDITOR_H
+#define VLP_EDITOR_H
 
 #include <QtGui/QTextEdit>
 #include <QtGui/QMainWindow>
@@ -23,15 +23,7 @@ typedef struct {
        QStringList names;
        char name[255];
 } CategoryEntry;
-/*
-class My_Edit : public QTextEdit {
-       Q_OBJECT
-public:
-       My_Edit(QWidget *parent = 0, const char *name = 0);
-signals:
-       void cursorMove();
-};
-*/
+
 class Editor : public QMainWindow, private Ui::EditorWindow {
        Q_OBJECT
 public:
@@ -66,12 +58,8 @@ public slots:
        void updateline();
 
 protected:
-//     virtual void editorKeyPressEvent(QKeyEvent *ev);
-       void resizeEvent(QResizeEvent *);
        virtual void closeEvent (QCloseEvent * e);
 private:
-//     My_Edit *e;
-//     QTextEdit *msg;
        QLabel *position;
        QString fname;
        QString find_text;
@@ -79,4 +67,4 @@ private:
        char HomeDir[255];
 };
 
-#endif // QWERTY_H
+#endif /* VLP_EDITOR */