• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHexEdit

  • KHE
  • CharColumnInterface
Public Types | Public Member Functions | List of all members
KHE::CharColumnInterface Class Referenceabstract

#include <charcolumninterface.h>

Public Types

enum  KEncoding { LocalEncoding =0, ISO8859_1Encoding =1, CECP1047Encoding =2, MaxEncodingId =0xFFFF }
 

Public Member Functions

virtual ~CharColumnInterface ()
 
virtual KEncoding encoding () const =0
 
virtual void setEncoding (KEncoding C)=0
 
virtual void setShowUnprintable (bool SU=true)=0
 
virtual void setSubstituteChar (QChar SC)=0
 
virtual bool showUnprintable () const =0
 
virtual QChar substituteChar () const =0
 

Detailed Description

A simple interface for the access to the char column of a hex edit widget.

Author
Friedrich W. H. Kossebau kosse.nosp@m.bau@.nosp@m.kde.o.nosp@m.rg
See also
createBytesEditWidget(), charColumnInterface()

Definition at line 33 of file charcolumninterface.h.

Member Enumeration Documentation

enum KHE::CharColumnInterface::KEncoding

encoding used to display the symbols in the text column

Enumerator
LocalEncoding 

the encoding of your shell.

If that is a multibyte encoding this will default to Latin1.

ISO8859_1Encoding 

extended ASCII encoding, also known as Latin1

CECP1047Encoding 

not implemented: the most common EBCDIC codepage

MaxEncodingId 

enables extension without breaking binary compatibility

Definition at line 40 of file charcolumninterface.h.

Constructor & Destructor Documentation

virtual KHE::CharColumnInterface::~CharColumnInterface ( )
inlinevirtual

Definition at line 36 of file charcolumninterface.h.

Member Function Documentation

virtual KEncoding KHE::CharColumnInterface::encoding ( ) const
pure virtual
Returns
the currently used encoding
See also
setEncoding()
virtual void KHE::CharColumnInterface::setEncoding ( KEncoding  C)
pure virtual

sets the encoding of the text column.

If the encoding is not available the format will not be changed. Default is LocalEncoding.

Parameters
Cthe new encoding
See also
encoding()
virtual void KHE::CharColumnInterface::setShowUnprintable ( bool  SU = true)
pure virtual

sets whether "unprintable" chars (value<32) should be displayed in the text column with their corresponding character.

Default is false.

Parameters
SU
See also
showUnprintable()
virtual void KHE::CharColumnInterface::setSubstituteChar ( QChar  SC)
pure virtual

sets the substitute character for "unprintable" chars Default is '.

'.

Parameters
SCnew character
See also
substituteChar()
virtual bool KHE::CharColumnInterface::showUnprintable ( ) const
pure virtual
Returns
true if "unprintable" chars (value<32) are displayed in the text column with their corresponding character, false otherwise
See also
setShowUnprintable()
virtual QChar KHE::CharColumnInterface::substituteChar ( ) const
pure virtual
Returns
the currently used substitute character for "unprintable" chars.
See also
setSubstituteChar()

The documentation for this class was generated from the following file:
  • charcolumninterface.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHexEdit

Skip menu "KHexEdit"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Members
  • File List
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal