9#ifndef KATEVI_GLOBAL_STATE_H
10#define KATEVI_GLOBAL_STATE_H
12#include <KSharedConfig>
13#include <ktexteditor_export.h>
25 explicit GlobalState();
27 GlobalState(
const GlobalState &) =
delete;
28 GlobalState &operator=(
const GlobalState &) =
delete;
30 KTEXTEDITOR_EXPORT
void writeConfig(
KConfig *config)
const;
31 KTEXTEDITOR_EXPORT
void readConfig(
const KConfig *config);
33 inline Macros *macros()
const
37 inline Mappings *mappings()
const
41 inline Registers *registers()
const
46 inline History *searchHistory()
const
48 return m_searchHistory;
50 inline History *commandHistory()
const
52 return m_commandHistory;
54 inline History *replaceHistory()
const
56 return m_replaceHistory;
60 static KSharedConfigPtr config();
65 Registers *m_registers;
67 History *m_searchHistory;
68 History *m_commandHistory;
69 History *m_replaceHistory;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.