rocs/App
CodeEditor.cpp
Go to the documentation of this file.
36 KMessageBox::error(this, i18n("A KDE Text Editor could not be found, \n please, check your installation"));
119 connect(_activeDocument, SIGNAL(documentNameChanged(KTextEditor::Document*)), this, SLOT(updateTabText(KTextEditor::Document*)));
120 connect(_activeDocument, SIGNAL(modifiedChanged(KTextEditor::Document*)), this, SLOT(updateTabText(KTextEditor::Document*)));
175 connect(d, SIGNAL(documentNameChanged(KTextEditor::Document*)), this, SLOT(updateTabText(KTextEditor::Document*)));
176 connect(d, SIGNAL(modifiedChanged(KTextEditor::Document*)), this, SLOT(updateTabText(KTextEditor::Document*)));
void saveScript(KTextEditor::Document *doc)
Save the given script or if no text document is given, the currently active script is saved...
Definition: CodeEditor.cpp:184
const T & at(int i) const
void removeAt(int i)
bool isModified() const
This method gives modification state of code-editor texts.
Definition: CodeEditor.cpp:255
int size() const
int indexOf(const T &value, int from) const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
void setLayout(QLayout *layout)
bool empty() const
void setCurrentIndex(int index)
void setMargin(int margin)
void removeWidget(QWidget *widget)
T & last()
CodeEditor(MainWindow *parent=0)
Creates new CodeEditor without any scripts.
Definition: CodeEditor.cpp:31
QWidget * widget(int index) const
int addWidget(QWidget *widget)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: MainWindow.h:60
void setSpacing(int spacing)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.