• 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
alttrans.h
Go to the documentation of this file.
1 /* ****************************************************************************
2  This file is part of Lokalize
3 
4  Copyright (C) 2009 by Nick Shaforostoff <shafff@ukr.net>
5 
6  This program is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public License as
8  published by the Free Software Foundation; either version 2 of
9  the License or (at your option) version 3 or any later version
10  accepted by the membership of KDE e.V. (or its successor approved
11  by the membership of KDE e.V.), which shall act as a proxy
12  defined in Section 14 of version 3 of the license.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see <http://www.gnu.org/licenses/>.
21 
22 **************************************************************************** */
23 
24 #ifndef ALTTRANS_H
25 #define ALTTRANS_H
26 
27 #include "catalogstring.h"
28 #include "tmentry.h"
29 
30 struct AltTrans
31 {
33  enum Type {Proposal, PreviousVersion, Rejected, Reference, Accepted, Other};
34  Type type;
35 
36  CatalogString source;
37  CatalogString target;
38 
39  short score;
40 
41  QString lang;
42  QString origin;
43  QString phase;
44 
45  AltTrans(const CatalogString& s=CatalogString(), const QString& o=QString()):type(Other),source(s),origin(o){}
46 };
47 
48 
49 #endif
AltTrans::AltTrans
AltTrans(const CatalogString &s=CatalogString(), const QString &o=QString())
Definition: alttrans.h:45
AltTrans::score
short score
Definition: alttrans.h:39
catalogstring.h
AltTrans::Other
Definition: alttrans.h:33
AltTrans::phase
QString phase
Definition: alttrans.h:43
AltTrans::PreviousVersion
Definition: alttrans.h:33
AltTrans::lang
QString lang
Definition: alttrans.h:41
QString
tmentry.h
AltTrans::Reference
Definition: alttrans.h:33
AltTrans::target
CatalogString target
Definition: alttrans.h:37
AltTrans::Accepted
Definition: alttrans.h:33
AltTrans::Rejected
Definition: alttrans.h:33
CatalogString
data structure used to pass info about inline elements a XLIFF tag is represented by a TAGRANGE_IMAGE...
Definition: catalogstring.h:128
AltTrans::source
CatalogString source
Definition: alttrans.h:36
AltTrans::origin
QString origin
Definition: alttrans.h:42
AltTrans::type
Type type
Definition: alttrans.h:34
AltTrans::Proposal
Definition: alttrans.h:33
AltTrans
Definition: alttrans.h:30
AltTrans::Type
Type
Definition: alttrans.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:06 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