Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kdecore
kdecore
kdecore
kcatalogue.h
1
/* This file is part of the KDE libraries
2
Copyright (c) 2001 Hans Petter Bieker <bieker@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
20
#ifndef KCATALOGUE_H
21
#define KCATALOGUE_H
22
23
#include <tqstring.h>
24
#include "kdelibs_export.h"
25
26
struct
kde_loaded_l10nfile;
27
28
class
KCataloguePrivate;
29
36
//REVISED: hausmann
37
class
KDECORE_EXPORT
KCatalogue
38
{
39
public
:
46
explicit
KCatalogue
(
const
TQString & name = TQString::null,
const
TQString & language = TQString::null);
47
51
KCatalogue
(
const
KCatalogue
& rhs);
52
56
KCatalogue
& operator = (
const
KCatalogue
& rhs);
57
61
virtual
~
KCatalogue
();
62
68
TQString name()
const
;
69
75
TQString language()
const
;
76
83
int
pluralType()
const
;
84
91
void
setPluralType(
int
pluralType );
92
93
103
const
char
* translate(
const
char
* msgid )
const
;
104
105
private
:
112
void
setFileName(
const
TQString & fileName );
118
TQString fileName()
const
;
119
123
void
doUnload();
124
125
private
:
126
KCataloguePrivate * d;
127
};
128
129
#endif
KCatalogue
This class abstracts a gettext message catalog.
Definition:
kcatalogue.h:37
kdecore
Skip menu "kdecore"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
kdecore
Skip menu "kdecore"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver