5#include "polsyntaxhighlighter.h"
27 explicit PolFileEditor(QWidget *parent = 0, QString path = QString());
62 void filenameChanged(QString filename);
66 void onTextEditChanged(
bool);
69 Ui::PolFileEditor *ui;
71 QString m_polFilePath;
Definition: polfileeditor.h:14
State
State of the document.
Definition: polfileeditor.h:22
bool isEmpty()
isEmpty returns true if the editor has no content in it.
Definition: polfileeditor.cpp:63
State state()
state returns the current state of the document
Definition: polfileeditor.cpp:73
QString currentPolFile()
currentPolFile returns the currently opened .pol file
Definition: polfileeditor.cpp:84
QString content()
content returns the content of the editor
Definition: polfileeditor.cpp:68
void savePolFile(QString path=QString())
Save the file to the given path, or to the default one if path is an empty string.
Definition: polfileeditor.cpp:39
Definition: polsyntaxhighlighter.h:9