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

KDECore

Public Member Functions
KCatalogLoader Class Reference

#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
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:43:35 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal