KCatalogue Class Reference
This class abstracts a gettext message catalog. More...
#include <kcatalogue.h>
| Public Member Functions | |
| KCatalogue (const QString &name=QString::null) | |
| KCatalogue (const KCatalogue &rhs) | |
| KCatalogue & | operator= (const KCatalogue &rhs) | 
| virtual | ~KCatalogue () | 
| QString | name () const | 
| void | setFileName (const QString &fileName) | 
| const char * | translate (const char *msgid) const | 
Detailed Description
This class abstracts a gettext message catalog.It will take care of opening the file and reading the catalog.
- See also:
- KLocale
Definition at line 36 of file kcatalogue.h.
Constructor & Destructor Documentation
| 
 | 
| Constructor. 
 
 Definition at line 52 of file kcatalogue.cpp. References name(). | 
| 
 | 
| Copy constructor. 
 Definition at line 58 of file kcatalogue.cpp. | 
| 
 | 
| Destructor. 
 Definition at line 72 of file kcatalogue.cpp. | 
Member Function Documentation
| 
 | 
| Assignment operator. 
 Definition at line 64 of file kcatalogue.cpp. References d, fileName(), and setFileName(). | 
| 
 | 
| Returns the name of the catalog. 
 
 Definition at line 79 of file kcatalogue.cpp. Referenced by KCatalogue(). | 
| 
 | 
| Changes the current file name. 
 
 Definition at line 84 of file kcatalogue.cpp. References QFile::encodeName(), QString::isEmpty(), and QCString::length(). Referenced by operator=(). | 
| 
 | 
| Retrieves a translation of the specified message id. Do not pass 0 or "" strings as message ids. 
 
 
 Definition at line 107 of file kcatalogue.cpp. | 
The documentation for this class was generated from the following files:

