|
|
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: root on sparc64.ports.openbsd.org on Sun Sep 14 00:02:40 2003, using kdoc 2.0a54. |