• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • 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 void setShowUnprintable (bool SU=true)=0
 
virtual void setSubstituteChar (TQChar SC)=0
 
virtual void setEncoding (KEncoding C)=0
 
virtual bool showUnprintable () const =0
 
virtual TQChar substituteChar () const =0
 
virtual KEncoding encoding () const =0
 

Detailed Description

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

Author
Friedrich W. H. Kossebau Fried.nosp@m.rich.nosp@m..W.H@.nosp@m.Koss.nosp@m.ebau..nosp@m.de
See also
createBytesEditWidget(), charColumnInterface()
Since
3.2

Definition at line 33 of file charcolumninterface.h.

Member Enumeration Documentation

◆ KEncoding

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

Definition at line 37 of file charcolumninterface.h.

Member Function Documentation

◆ encoding()

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

◆ 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()

◆ setShowUnprintable()

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()

◆ setSubstituteChar()

virtual void KHE::CharColumnInterface::setSubstituteChar ( TQChar  SC)
pure virtual

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

'.

Parameters
SCnew character
See also
substituteChar()

◆ showUnprintable()

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()

◆ substituteChar()

virtual TQChar 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

interfaces

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

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.