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. References QEditorIndenter(). Referenced by QEditorIndenter(). |
|
Definition at line 51 of file qeditor_indenter.cpp. |
Member Function Documentation
|
Reimplemented in CIndent. Definition at line 59 of file qeditor_indenter.h. References createConfigPage(). Referenced by QEditorPart::configDialog(), and createConfigPage(). |
|
Definition at line 64 of file qeditor_indenter.h. References m_editor. Referenced by SimpleIndent::indentForLine(), PythonIndent::indentForLine(), PascalIndent::indentForLine(), CIndent::indentForLine(), AdaIndent::indentForLine(), and previousNonBlankLine(). |
|
Definition at line 129 of file qeditor_indenter.cpp. References indent(), indentation(), indentForLine(), indentLine(), m_editor, and text(). Referenced by indent(). |
|
Definition at line 55 of file qeditor_indenter.cpp. References indentation(), m_editor, and QEditor::tabStop(). Referenced by indent(), and indentation(). |
|
Implemented in AdaIndent, CIndent, PascalIndent, PythonIndent, and SimpleIndent. Referenced by indent(). |
|
Definition at line 77 of file qeditor_indenter.cpp. References indentLine(), and tabify(). Referenced by QEditor::backspaceIndent(), indent(), and indentLine(). |
|
Definition at line 144 of file qeditor_indenter.cpp. References editor(), and previousNonBlankLine(). Referenced by previousNonBlankLine(). |
|
Definition at line 96 of file qeditor_indenter.cpp. References m_editor, tabify(), and QEditor::tabStop(). Referenced by indentLine(), and tabify(). |
|
Reimplemented in CIndent. Definition at line 62 of file qeditor_indenter.h. References m_values, and updateValues(). Referenced by updateValues(). |
|
Definition at line 61 of file qeditor_indenter.h. References m_values. |
Member Data Documentation
|
Definition at line 75 of file qeditor_indenter.h. Referenced by editor(), indent(), indentation(), and tabify(). |
|
Definition at line 76 of file qeditor_indenter.h. Referenced by updateValues(), and values(). |
The documentation for this class was generated from the following files:
- editors/qeditor/qeditor_indenter.h
- editors/qeditor/qeditor_indenter.cpp