KDECore
KCatalogLoader Class Reference
#include <kglobal.h>
Public Member Functions | |
KCatalogLoader (const QString &catalogName) | |
Detailed Description
This class is useful in libraries where you want to make sure that anyone that uses your library will get the correct catalog loaded.
Just declare a static KCatalogLoader in the global namespace of one of your cpp files and that will load your catalog once the global klocale is created
- Parameters
-
catalogName The name of your catalog
- Since
- 4.6.2
Example:
Constructor & Destructor Documentation
KCatalogLoader::KCatalogLoader | ( | const QString & | catalogName | ) |
Definition at line 121 of file kglobal.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.