Konsole::KeyboardTranslatorWriter

Search for usage in LXR

Konsole::KeyboardTranslatorWriter Class Reference

#include <KeyboardTranslator.h>

Public Member Functions

 KeyboardTranslatorWriter (QIODevice *destination)
 
void writeEntry (const KeyboardTranslator::Entry &entry)
 
void writeHeader (const QString &description)
 

Detailed Description

Writes a keyboard translation to disk.

Definition at line 404 of file KeyboardTranslator.h.

Constructor & Destructor Documentation

◆ KeyboardTranslatorWriter()

KeyboardTranslatorWriter::KeyboardTranslatorWriter ( QIODevice * destination)

Constructs a new writer which saves data into destination.

The caller is responsible for closing the device when writing is complete.

Definition at line 193 of file KeyboardTranslator.cpp.

◆ ~KeyboardTranslatorWriter()

KeyboardTranslatorWriter::~KeyboardTranslatorWriter ( )

Definition at line 200 of file KeyboardTranslator.cpp.

Member Function Documentation

◆ writeEntry()

void KeyboardTranslatorWriter::writeEntry ( const KeyboardTranslator::Entry & entry)

Writes a translator entry.

Definition at line 208 of file KeyboardTranslator.cpp.

◆ writeHeader()

void KeyboardTranslatorWriter::writeHeader ( const QString & description)

Writes the header for the keyboard translator.

Parameters
descriptionDescription of the keyboard translator.

Definition at line 204 of file KeyboardTranslator.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.