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

lokalize

  • sources
  • kde-4.14
  • kdesdk
  • lokalize
  • src
  • catalog
Macros | Functions | Variables
gettextheader.cpp File Reference
#include "gettextheader.h"
#include "project.h"
#include "version.h"
#include "prefs_lokalize.h"
#include <QProcess>
#include <QString>
#include <QStringBuilder>
#include <QMap>
#include <QTextCodec>
#include <kdebug.h>
#include <kglobal.h>
#include <klocale.h>
#include <kdatetime.h>
#include <kio/netaccess.h>
#include <ktemporaryfile.h>
Include dependency graph for gettextheader.cpp:

Go to the source code of this file.

Macros

#define NUM_LANG_WITH_INFO   41
 

Functions

QString GNUPluralForms (const QString &lang)
 
int numberOfPluralFormsForLangCode (const QString &langCode)
 
int numberOfPluralFormsFromHeader (const QString &header)
 
void updateHeader (QString &header, QString &comment, QString &langCode, int &numberOfPluralForms, const QString &CatalogProjectId, bool generatedFromDocbook, bool belongsToProject, bool forSaving, QTextCodec *codec)
 

Variables

static const char * langsWithPInfo [NUM_LANG_WITH_INFO]
 
static const char * pInfo [NUM_LANG_WITH_INFO]
 

Macro Definition Documentation

#define NUM_LANG_WITH_INFO   41

this data was obtained by running GNUPluralForms() on all languages KDE knows of

Definition at line 49 of file gettextheader.cpp.

Function Documentation

QString GNUPluralForms ( const QString &  lang)

Definition at line 164 of file gettextheader.cpp.

int numberOfPluralFormsForLangCode ( const QString &  langCode)

Definition at line 151 of file gettextheader.cpp.

int numberOfPluralFormsFromHeader ( const QString &  header)

Definition at line 140 of file gettextheader.cpp.

void updateHeader ( QString &  header,
QString &  comment,
QString &  langCode,
int &  numberOfPluralForms,
const QString &  CatalogProjectId,
bool  generatedFromDocbook,
bool  belongsToProject,
bool  forSaving,
QTextCodec *  codec 
)

Definition at line 245 of file gettextheader.cpp.

Variable Documentation

const char* langsWithPInfo[NUM_LANG_WITH_INFO]
static

Definition at line 50 of file gettextheader.cpp.

const char* pInfo[NUM_LANG_WITH_INFO]
static

Definition at line 95 of file gettextheader.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



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