| 1 | #ifndef INCLUDEEDITOR_H |
| 2 | #define INCLUDEEDITOR_H |
| 3 | |
| 4 | #include <QObject> |
| 5 | #include <QDialog> |
| 6 | #include "codeeditor.h" |
| 7 | |
| 8 | class IncludeEditor : public QDialog |
| 9 | { |
| 10 | Q_OBJECT |
| 11 | public: |
| 12 | explicit IncludeEditor(QString inclstr, const QString &_dir, QWidget *parent = NULL); |
| 13 | QPushButton * ok;//!> the ok button |
| 14 | void setDirName(const QString &_dir); |
| 15 | signals: |
| 16 | |
| 17 | public slots: |
| 18 | void accept(); |
| 19 | private: |
| 20 | QString fileName; |
| 21 | QString dirName; |
| 22 | CodeEditor *edi; |
| 23 | }; |
| 24 | |
| 25 | #endif // INCLUDEEDITOR_H |