• 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
  • ts
Enumerations | Functions | Variables
tsstorage.cpp File Reference
#include "tsstorage.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 tsstorage.cpp:

Go to the source code of this file.

Enumerations

enum  AttrNames { LocationAttr, TypeAttr, ObsoleteAttr }
 
enum  AttValues { ObsoleteVal }
 
enum  TagNames {
  SourceTag, TargetTag, OldSourceTag, NoteTag,
  DevNoteTag, NameTag, PluralTag
}
 

Functions

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

Variables

static const QString attrnames [] ={"location" ,"type" ,"obsolete"}
 
static const QString attrvalues [] ={"obsolete"}
 
static const QString names [] ={"source" ,"translation","oldsource" ,"translatorcomment","comment" ,"name" ,"numerus"}
 
static const char *const noyes [] ={"no","yes"}
 

Enumeration Type Documentation

enum AttrNames
Enumerator
LocationAttr 
TypeAttr 
ObsoleteAttr 

Definition at line 49 of file tsstorage.cpp.

enum AttValues
Enumerator
ObsoleteVal 

Definition at line 52 of file tsstorage.cpp.

enum TagNames
Enumerator
SourceTag 
TargetTag 
OldSourceTag 
NoteTag 
DevNoteTag 
NameTag 
PluralTag 

Definition at line 46 of file tsstorage.cpp.

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 170 of file tsstorage.cpp.

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

Definition at line 175 of file tsstorage.cpp.

Variable Documentation

const QString attrnames[] ={"location" ,"type" ,"obsolete"}
static

Definition at line 48 of file tsstorage.cpp.

const QString attrvalues[] ={"obsolete"}
static

Definition at line 51 of file tsstorage.cpp.

const QString names[] ={"source" ,"translation","oldsource" ,"translatorcomment","comment" ,"name" ,"numerus"}
static

Definition at line 45 of file tsstorage.cpp.

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

Definition at line 43 of file tsstorage.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