class KCatalogue

This class abstracts a gettext message catalogue. More...

Definition#include <kcatalogue.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class abstracts a gettext message catalogue. It will take care of opening the file and reading the catalogue.

See also: KLocale

explicit  KCatalogue (const QString & name = QString::null)

KCatalogue

Constructor.

Parameters:
nameThe name of the catalogue

 KCatalogue (const KCatalogue & rhs)

KCatalogue

Copy constructor.

KCatalogue &  operator = ( const KCatalogue & rhs)

operator =

Assignment operator.

 ~KCatalogue ()

~KCatalogue

[virtual]

Destructor.

QString  name ()

name

[const]

Returns the name of the catalogue.

Returns: The name of the catalogue

void  setFileName ( const QString & fileName )

setFileName

Changes the current file name.

Parameters:
fileNameThe new file name

const char *  translate ( const char * msgid )

translate

[const]

Retrieves a translation of the specified message id.

Do not pass 0 or "" strings as message ids.

Parameters:
msgidThe message id

Returns: The translated message, in utf8 encoding, or 0 if not found


Generated by: dfaure on faure on Tue Apr 16 08:49:00 2002, using kdoc 2.0a53.