QEditorIndenter Class Reference
#include <qeditor_indenter.h>
Inheritance diagram for QEditorIndenter:


Public Member Functions | |
QEditorIndenter (QEditor *) | |
virtual | ~QEditorIndenter () |
virtual QWidget * | createConfigPage (QEditorPart *, KDialogBase *=0, const char *=0) |
virtual const QMap< QString, QVariant > & | values () const |
virtual void | updateValues (const QMap< QString, QVariant > &values) |
QEditor * | editor () const |
virtual void | tabify (QString &text) |
virtual void | indentLine (QTextParagraph *p, int &oldIndent, int &newIndent) |
virtual int | indentation (const QString &s) |
virtual int | previousNonBlankLine (int line) |
virtual int | indentForLine (int line)=0 |
virtual void | indent (QTextDocument *, QTextParagraph *, int *=0, int *=0) |
Protected Attributes | |
QEditor * | m_editor |
QMap< QString, QVariant > | m_values |
Constructor & Destructor Documentation
|
Definition at line 46 of file qeditor_indenter.cpp. |
|
Definition at line 51 of file qeditor_indenter.cpp. |
Member Function Documentation
|
Reimplemented in CIndent. Definition at line 59 of file qeditor_indenter.h. Referenced by QEditorPart::configDialog(). |
|
Definition at line 64 of file qeditor_indenter.h. Referenced by SimpleIndent::indentForLine(), PythonIndent::indentForLine(), PascalIndent::indentForLine(), CIndent::indentForLine(), AdaIndent::indentForLine(), and previousNonBlankLine(). |
|
Definition at line 129 of file qeditor_indenter.cpp. References indentation(), indentForLine(), indentLine(), m_editor, and text(). |
|
Definition at line 55 of file qeditor_indenter.cpp. References m_editor, and QEditor::tabStop(). Referenced by indent(), SimpleIndent::indentForLine(), PythonIndent::indentForLine(), PascalIndent::indentForLine(), and AdaIndent::indentForLine(). |
|
Implemented in AdaIndent, CIndent, PascalIndent, PythonIndent, and SimpleIndent. Referenced by indent(). |
|
Definition at line 77 of file qeditor_indenter.cpp. References tabify(). Referenced by QEditor::backspaceIndent(), and indent(). |
|
Definition at line 144 of file qeditor_indenter.cpp. References editor(). Referenced by PythonIndent::indentForLine(), PascalIndent::indentForLine(), and AdaIndent::indentForLine(). |
|
Definition at line 96 of file qeditor_indenter.cpp. References m_editor, and QEditor::tabStop(). Referenced by indentLine(). |
|
Reimplemented in CIndent. Definition at line 62 of file qeditor_indenter.h. References m_values. Referenced by CIndent::updateValues(). |
|
Definition at line 61 of file qeditor_indenter.h. |
Member Data Documentation
|
Definition at line 75 of file qeditor_indenter.h. Referenced by indent(), indentation(), and tabify(). |
|
Definition at line 76 of file qeditor_indenter.h. Referenced by updateValues(). |
The documentation for this class was generated from the following files:
- editors/qeditor/qeditor_indenter.h
- editors/qeditor/qeditor_indenter.cpp