KateViewConfig Class Reference
Inheritance diagram for KateViewConfig:

Public Types | |
| enum | TextToSearch { Nowhere = 0, SelectionOnly = 1, SelectionWord = 2, WordOnly = 3, WordSelection = 4 } |
Public Member Functions | |
| KateViewConfig (KateView *view) | |
| ~KateViewConfig () | |
| bool | isGlobal () const |
| void | readConfig (KConfig *config) |
| void | writeConfig (KConfig *config) |
| bool | dynWordWrap () const |
| void | setDynWordWrap (bool wrap) |
| int | dynWordWrapIndicators () const |
| void | setDynWordWrapIndicators (int mode) |
| int | dynWordWrapAlignIndent () const |
| void | setDynWordWrapAlignIndent (int indent) |
| bool | lineNumbers () const |
| void | setLineNumbers (bool on) |
| bool | scrollBarMarks () const |
| void | setScrollBarMarks (bool on) |
| bool | iconBar () const |
| void | setIconBar (bool on) |
| bool | foldingBar () const |
| void | setFoldingBar (bool on) |
| int | bookmarkSort () const |
| void | setBookmarkSort (int mode) |
| int | autoCenterLines () const |
| void | setAutoCenterLines (int lines) |
| long | searchFlags () const |
| void | setSearchFlags (long flags) |
| bool | cmdLine () const |
| void | setCmdLine (bool on) |
| uint | defaultMarkType () const |
| void | setDefaultMarkType (uint type) |
| int | textToSearchMode () const |
| void | setTextToSearchMode (int mode) |
Static Public Member Functions | |
| static KateViewConfig * | global () |
Protected Member Functions | |
| void | updateConfig () |
Friends | |
| class | KateFactory |
Detailed Description
Definition at line 277 of file kateconfig.h.
Constructor & Destructor Documentation
|
|
Construct a DocumentConfig.
Definition at line 615 of file kateconfig.cpp. |
|
|
Cu DocumentConfig.
Definition at line 634 of file kateconfig.cpp. |
Member Function Documentation
|
|
Read config from object.
Definition at line 638 of file kateconfig.cpp. References KateConfig::configEnd(), KateConfig::configStart(), KConfigBase::readBoolEntry(), KConfigBase::readNumEntry(), setAutoCenterLines(), setBookmarkSort(), setCmdLine(), setDefaultMarkType(), setDynWordWrap(), setDynWordWrapAlignIndent(), setDynWordWrapIndicators(), setFoldingBar(), setIconBar(), setLineNumbers(), setScrollBarMarks(), setSearchFlags(), and setTextToSearchMode(). Referenced by KateDocument::readConfig(). |
|
|
Write config to object.
Definition at line 669 of file kateconfig.cpp. References autoCenterLines(), bookmarkSort(), cmdLine(), defaultMarkType(), dynWordWrap(), dynWordWrapAlignIndent(), dynWordWrapIndicators(), foldingBar(), iconBar(), lineNumbers(), scrollBarMarks(), searchFlags(), textToSearchMode(), and KConfigBase::writeEntry(). Referenced by KateDocument::writeConfig(). |
|
|
do the real update
Implements KateConfig. Definition at line 696 of file kateconfig.cpp. References QPtrList::at(), isGlobal(), KateFactory::self(), KateView::updateConfig(), and KateFactory::views(). |
The documentation for this class was generated from the following files:
