|
|
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:
name | The 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:
fileName | The 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:
msgid | The message id |
Returns: The translated message, in utf8 encoding, or 0 if not found
Generated by: caleb on tcdevel on Tue Jan 28 12:54:04 2003, using kdoc $. |