• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDECore

Public Member Functions

KCatalogLoader Class Reference

This class is useful in libraries where you want to make sure that anyone that uses your library will get the correct catalog loaded. More...

#include <kglobal.h>

List of all members.

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:
catalogNameThe name of your catalog
Since:
4.6.2

Example:

 static const KCatalogLoader loader("libkdepim");

Definition at line 318 of file kglobal.h.


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:
  • kglobal.h
  • kglobal.cpp

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal