Changeset View
Changeset View
Standalone View
Standalone View
src/catalog/gettext/gettextstorage.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
51 | int load(QIODevice* device/*, bool readonly=false*/); | 51 | int load(QIODevice* device/*, bool readonly=false*/); | ||
52 | bool save(QIODevice* device, bool belongsToProject = false); | 52 | bool save(QIODevice* device, bool belongsToProject = false); | ||
53 | 53 | | |||
54 | int size() const; | 54 | int size() const; | ||
55 | 55 | | |||
56 | //flat-model interface (ignores XLIFF grouping) | 56 | //flat-model interface (ignores XLIFF grouping) | ||
57 | QString source(const DocPosition& pos) const; | 57 | QString source(const DocPosition& pos) const; | ||
58 | QString target(const DocPosition& pos) const; | 58 | QString target(const DocPosition& pos) const; | ||
59 | QString sourceWithPlurals(const DocPosition& pos) const; | ||||
60 | QString targetWithPlurals(const DocPosition& pos) const; | ||||
59 | CatalogString sourceWithTags(DocPosition pos) const; | 61 | CatalogString sourceWithTags(DocPosition pos) const; | ||
60 | CatalogString targetWithTags(DocPosition pos) const; | 62 | CatalogString targetWithTags(DocPosition pos) const; | ||
61 | CatalogString catalogString(const DocPosition& pos) const | 63 | CatalogString catalogString(const DocPosition& pos) const | ||
62 | { | 64 | { | ||
63 | return pos.part == DocPosition::Target ? targetWithTags(pos) : sourceWithTags(pos); | 65 | return pos.part == DocPosition::Target ? targetWithTags(pos) : sourceWithTags(pos); | ||
64 | } | 66 | } | ||
65 | 67 | | |||
66 | void targetDelete(const DocPosition& pos, int count); | 68 | void targetDelete(const DocPosition& pos, int count); | ||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |