|
enum | State { SAVED
, MODIFIED
} |
| State of the document.
|
|
|
| PolFileEditor (QWidget *parent=0, QString path=QString()) |
|
void | savePolFile (QString path=QString()) |
| Save the file to the given path, or to the default one if path is an empty string.
|
|
QString | currentPolFile () |
| currentPolFile returns the currently opened .pol file More...
|
|
bool | isEmpty () |
| isEmpty returns true if the editor has no content in it. More...
|
|
State | state () |
| state returns the current state of the document More...
|
|
QString | content () |
| content returns the content of the editor More...
|
|
◆ content()
QString PolFileEditor::content |
( |
| ) |
|
content returns the content of the editor
- Returns
- A QString with the current content of the Editor.
◆ currentPolFile()
QString PolFileEditor::currentPolFile |
( |
| ) |
|
currentPolFile returns the currently opened .pol file
- Returns
- a QString with the absolute path of the file
◆ isEmpty()
bool PolFileEditor::isEmpty |
( |
| ) |
|
isEmpty returns true if the editor has no content in it.
- Returns
◆ state()
state returns the current state of the document
- Returns
- the value of m_state.
The documentation for this class was generated from the following files: