rocs/App
#include <CodeEditor.h>
Definition at line 38 of file CodeEditor.h.
void CodeEditor::closeAllScripts |
( |
| ) |
|
|
slot |
KTextEditor::Document* CodeEditor::document |
( |
| ) |
const |
|
inline |
KTextEditor::Editor* CodeEditor::editor |
( |
| ) |
const |
|
inline |
bool CodeEditor::isModified |
( |
| ) |
const |
This method gives modification state of code-editor texts.
- Returns
- true if any document in the code-editor is modified, otherwise false
Definition at line 255 of file CodeEditor.cpp.
KTextEditor::Document * CodeEditor::newScript |
( |
| ) |
|
|
slot |
KTextEditor::Document * CodeEditor::newScript |
( |
const KUrl & |
file | ) |
|
|
slot |
Creates new script at given file.
- Parameters
-
Definition at line 129 of file CodeEditor.cpp.
void CodeEditor::openScript |
( |
const KUrl & |
fileUrl | ) |
|
|
slot |
void CodeEditor::saveActiveScript |
( |
| ) |
|
|
slot |
void CodeEditor::saveActiveScriptAs |
( |
| ) |
|
|
slot |
void CodeEditor::saveAllScripts |
( |
| ) |
|
|
slot |
void CodeEditor::saveScript |
( |
KTextEditor::Document * |
doc = 0 | ) |
|
|
slot |
Save the given script or if no text document is given, the currently active script is saved.
Opens Save-as dialog if text document has no path (is new).
- Parameters
-
doc | optional document to be saved |
Definition at line 184 of file CodeEditor.cpp.
QString CodeEditor::text |
( |
| ) |
const |
KTextEditor::View* CodeEditor::view |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:22 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.