KTextEditor
7#ifndef KATEVI_REGISTERS_H
8#define KATEVI_REGISTERS_H
10#include "definitions.h"
21const QChar BlackHoleRegister = QLatin1Char(
'_');
22const QChar SmallDeleteRegister = QLatin1Char(
'-');
23const QChar ZeroRegister = QLatin1Char(
'0');
24const QChar PrependNumberedRegister = QLatin1Char(
'!');
25const QChar FirstNumberedRegister = QLatin1Char(
'1');
26const QChar LastNumberedRegister = QLatin1Char(
'9');
27const QChar SystemSelectionRegister = QLatin1Char(
'*');
28const QChar SystemClipboardRegister = QLatin1Char(
'+');
29const QChar UnnamedRegister = QLatin1Char(
'"');
30const QChar InsertStoppedRegister = QLatin1Char(
'^');
35 void writeConfig(KConfigGroup &config)
const;
36 void readConfig(
const KConfigGroup &config);
38 void setInsertStopped(
const QString &text);
40 void set(
const QChar ®,
const QString &text, OperationMode flag = CharWise);
41 QString getContent(
const QChar ®)
const;
42 OperationMode getFlag(
const QChar ®)
const;
45 typedef QPair<QString, OperationMode> Register;
48 void setNumberedRegister(
const QChar ®,
const QString &text, OperationMode flag = CharWise);
49 Register getRegister(
const QChar ®)
const;
52 QList<Register> m_numbered;
53 std::map<QChar, Register> m_registers;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:11:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.