• 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
  • xliff
Functions | Variables
xliffstorage.cpp File Reference
#include "xliffstorage.h"
#include "gettextheader.h"
#include "project.h"
#include "version.h"
#include "prefs_lokalize.h"
#include <QProcess>
#include <QString>
#include <QMap>
#include <QDomDocument>
#include <QTime>
#include <QPair>
#include <QList>
#include <kdebug.h>
#include <kglobal.h>
#include <klocale.h>
#include <kdatetime.h>
#include <QXmlSimpleReader>
Include dependency graph for xliffstorage.cpp:

Go to the source code of this file.

Functions

static QString content (QDomElement elem, ContentEditingData *data=0)
 
static QString doContent (QDomElement elem, int startingPos, ContentEditingData *data)
 
static QString genericContent (QDomElement elem, bool nonbin)
 
static void initNoteFromElement (Note &note, QDomElement elem)
 
static QDomElement phaseElement (QDomDocument m_doc, const QString &name, QDomElement &phasegroup)
 
static Phase phaseFromElement (QDomElement phaseElem)
 
QVector< Note > phaseNotes (QDomDocument m_doc, const QString &phasename, bool remove=false)
 
static TargetState stringToState (const QString &state)
 

Variables

static const QString binsourcesource [] ={"bin-source","source"}
 
static const QString bintargettarget [] ={"bin-target","target"}
 
static const QString noyes [] ={"no","yes"}
 
static const char *const states []
 

Function Documentation

static QString content ( QDomElement  elem,
ContentEditingData *  data = 0 
)
static

walks through XLIFF XML and performs actions depending on ContentEditingData:

  • reads content
  • deletes content, or
  • inserts content

Definition at line 245 of file xliffstorage.cpp.

static QString doContent ( QDomElement  elem,
int  startingPos,
ContentEditingData *  data 
)
static

Definition at line 250 of file xliffstorage.cpp.

static QString genericContent ( QDomElement  elem,
bool  nonbin 
)
static

Definition at line 509 of file xliffstorage.cpp.

static void initNoteFromElement ( Note &  note,
QDomElement  elem 
)
static

Definition at line 763 of file xliffstorage.cpp.

static QDomElement phaseElement ( QDomDocument  m_doc,
const QString &  name,
QDomElement &  phasegroup 
)
static

Definition at line 630 of file xliffstorage.cpp.

static Phase phaseFromElement ( QDomElement  phaseElem)
static

Definition at line 652 of file xliffstorage.cpp.

QVector<Note> phaseNotes ( QDomDocument  m_doc,
const QString &  phasename,
bool  remove = false 
)

Definition at line 857 of file xliffstorage.cpp.

static TargetState stringToState ( const QString &  state)
static

Definition at line 961 of file xliffstorage.cpp.

Variable Documentation

const QString binsourcesource[] ={"bin-source","source"}
static

Definition at line 45 of file xliffstorage.cpp.

const QString bintargettarget[] ={"bin-target","target"}
static

Definition at line 44 of file xliffstorage.cpp.

const QString noyes[] ={"no","yes"}
static

Definition at line 43 of file xliffstorage.cpp.

const char* const states[]
static
Initial value:
={
"new", "needs-translation", "needs-l10n", "needs-adaptation", "translated",
"needs-review-translation", "needs-review-l10n", "needs-review-adaptation", "final",
"signed-off"}

Definition at line 955 of file xliffstorage.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