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

tdecore

  • tdecore
kcharsets.h
1/* This file is part of the KDE libraries
2 Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19#ifndef KCHARSETS_H
20#define KCHARSETS_H
21
22#include <tqstring.h>
23#include <tqfont.h>
24#include <tqstringlist.h>
25#include <tqptrlist.h>
26#include "tdelibs_export.h"
27
28class TDEGlobal;
29class KCharsetsPrivate;
30
31class TQTextCodec;
32
43class TDECORE_EXPORT KCharsets
44{
45 friend class TDEGlobal;
46
47protected:
51 KCharsets();
52
53public:
54
58 virtual ~KCharsets();
59
66 TQTextCodec *codecForName(const TQString &name) const;
67
75 TQTextCodec *codecForName(const TQString &n, bool &ok) const;
76
83 static TQChar fromEntity(const TQString &str);
93 static TQChar fromEntity(const TQString &str, int &len);
94
101 static TQString toEntity(const TQChar &ch);
102
110 static TQString resolveEntities( const TQString &text );
111
116 TQStringList availableEncodingNames();
117
122 TQStringList descriptiveEncodingNames();
123
129 TQString languageForEncoding( const TQString &encoding );
130
136 TQString encodingForName( const TQString &descriptiveName );
137
143 TQString descriptiveNameForEncoding( const TQString &encodingName );
144
145private:
146 KCharsetsPrivate *d;
147};
148
149#endif
KCharsets
Charset font and encoder/decoder handling.
Definition: kcharsets.h:44
TDEGlobal
Access to the KDE global objects.
Definition: tdeglobal.h:49

tdecore

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

tdecore

Skip menu "tdecore"
  • 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 tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.