Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
interfaces
interfaces
interfaces
khexedit
charcolumninterface.h
1
/***************************************************************************
2
charcolumninterface.h - description
3
-------------------
4
begin : Fri Sep 12 2003
5
copyright : (C) 2003 by Friedrich W. H. Kossebau
6
email : Friedrich.W.H@Kossebau.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This library is free software; you can redistribute it and/or *
12
* modify it under the terms of the GNU Library General Public *
13
* License version 2 as published by the Free Software Foundation. *
14
* *
15
***************************************************************************/
16
17
18
#ifndef CHARCOLUMNINTERFACE_H
19
#define CHARCOLUMNINTERFACE_H
20
21
#include <tqstring.h>
22
23
namespace
KHE
24
{
25
33
class
CharColumnInterface
34
{
35
public
:
37
enum
KEncoding
38
{
40
LocalEncoding
=0,
42
ISO8859_1Encoding
=1,
44
CECP1047Encoding=2,
46
MaxEncodingId=0xFFFF
47
};
48
49
public
:
// set methods
56
virtual
void
setShowUnprintable
(
bool
SU =
true
) = 0;
62
virtual
void
setSubstituteChar
( TQChar SC ) = 0;
69
virtual
void
setEncoding
(
KEncoding
C ) = 0;
70
71
72
public
:
// get methods
77
virtual
bool
showUnprintable
()
const
= 0;
81
virtual
TQChar
substituteChar
()
const
= 0;
85
virtual
KEncoding
encoding
()
const
= 0;
86
};
87
88
94
template
<
class
T>
95
CharColumnInterface
*
charColumnInterface
( T *t )
96
{
97
if
( !t )
98
return
0;
99
100
return
dynamic_cast<
KHE::CharColumnInterface
*
>
( t );
101
}
102
103
}
104
105
#endif
interfaces
Skip menu "interfaces"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
interfaces
Skip menu "interfaces"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdecore
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdeioslave
http
tdefile
tdeio
tdeioexec
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet