umbrello  2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
shared.h
Go to the documentation of this file.
1 /*
2  SPDX-License-Identifier: GPL-2.0-or-later
3  SPDX-FileCopyrightText: 2014-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4  SPDX-FileCopyrightText: 2014-2020 Ralf Habacker <ralf.habacker@freenet.de>
5 */
6 
7 #ifndef SHARED_H
8 #define SHARED_H
9 
10 #include <QString>
11 #include <QStringList>
12 #include <QMap>
13 
14 QStringList XMILanguagesAttributes();
15 
16 class POEntry {
17 public:
18  QStringList tagNames;
19  QString value;
20  QList<int> lineNumbers;
21 };
22 
23 typedef QMap<QString, POEntry> POMap;
24 
25 
26 bool extractAttributesFromXMI(const char *fileName, const QStringList &attributes, POMap &result);
27 
28 QString toGetTextString(const QString &message);
29 
30 typedef QMap<QString,QString> TranslationMap;
31 
32 bool fetchPoFile(const QString &fileName, TranslationMap &map);
33 
34 bool applyTranslationToXMIFile(const char *fileName, const QStringList &attributes, TranslationMap &translations);
35 
36 #endif
so
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is and will automatically terminate your rights under this License parties who have received or from you under this License will not have their licenses terminated so long as such parties remain in full compliance You are not required to accept this since you have not signed it nothing else grants you permission to modify or distribute the Program or its derivative works These actions are prohibited by law if you do not accept this License by modifying or distributing the you indicate your acceptance of this License to do so
Definition: GPL-2.0-only.txt:175
AnotherProject
Definition: namespaces-multiple.php:8
AnotherProject\Connection2
Definition: namespaces-multiple.php:10
HelloWorld
Definition: HelloWorld.java:4
Connection3
Definition: namespaces-multiple.php:15
Timetracker\Base\Models
Definition: namespaces-multiple.php:25
Uml::PrimitiveTypes::String
@ String
Definition: basictypes.h:270
escape
QString escape(QString s)
Definition: shared.cpp:112
iTemplate
Definition: interfaces.php:3
AnotherProject\CONNECT_OK
const CONNECT_OK
Definition: namespaces-multiple.php:9
types.Types.instance_variable_tuples
instance_variable_tuples
Definition: types.py:43
HelloWorld.main
static void main(String[] args)
Definition: HelloWorld.java:6
apackage.Derived.protectedMethod
void protectedMethod()
Definition: Derived.java:7
iTemplate\getHtml
getHtml($template)
TranslationMap
QMap< QString, QString > TranslationMap
Definition: shared.h:30
XMILanguagesAttributes
QStringList XMILanguagesAttributes()
Definition: shared.cpp:35
XMILanguagesAttributes
QStringList XMILanguagesAttributes()
Definition: shared.cpp:35
apackage.Derived._static_int_member
static int _static_int_member
Definition: Derived.java:24
apackage.Type
Definition: Type.java:3
types.Types.instance_variable_object_type_params
instance_variable_object_type_params
Definition: types.py:47
apackage.UseGeneric.getA
Generic< Integer > getA()
Definition: UseGeneric.java:6
types.Types.instance_variable_int
instance_variable_int
Definition: types.py:33
types.Types.instance_variable_string
instance_variable_string
Definition: types.py:38
visibility.Visibility.__private
int __private
Definition: visibility.py:4
namespace_enum_literal::test
test
Definition: namespace-enum-literal.h:3
apackage.subdir.anotherpackage.ApackageSubdirAnotherPackageTest
Definition: ApackageSubdirAnotherPackageTest.java:3
AnotherProject\connect
connect()
Definition: namespaces-multiple.php:11
types.Types.instance_variable_negative_int
instance_variable_negative_int
Definition: types.py:34
Illuminate\Database\Eloquent\Model\TestModel
Definition: namespaces-multiple.php:23
extractAttributesFromXMI
bool extractAttributesFromXMI(const char *fileName, const QStringList &attributes, POMap &result)
Definition: shared.cpp:52
method-parameters.TestMethodParameters.method_params_list
def method_params_list(self, a=[], b=[1, 2])
Definition: method-parameters.py:18
apackage.AbstractClass
Definition: AbstractClass.java:3
apackage.Base.getSubs
Type[] getSubs()
Definition: Base.java:7
POMap
QMap< QString, POEntry > POMap
Definition: shared.h:23
toGetTextString
QString toGetTextString(const QString &message)
Definition: shared.cpp:119
fromGetTextString
QString fromGetTextString(QString s)
Definition: shared.cpp:95
MyProject
Definition: namespaces-multiple.php:2
apackage.Base.method
Type method(Type type)
Definition: Base.java:5
types.Types.instance_variable_bool_true
instance_variable_bool_true
Definition: types.py:31
apackage.Generic.Generic
Generic()
Definition: Generic.java:5
POEntry::value
QString value
Definition: shared.h:19
UMLScene::contextMenuEvent
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
Definition: umlscene.cpp:2964
apackage.DerivedExtern
Definition: DerivedExtern.java:5
apackage.Derived.publicMethod
void publicMethod()
Definition: Derived.java:6
apackage.Base.methodWithVector
void methodWithVector(String[] args)
Definition: Base.java:6
apackage.UseGeneric._a
Generic< Integer > _a
Definition: UseGeneric.java:4
POEntry
Definition: shared.h:16
apackage.Derived.publicMethodWithParameterAndReturnType
int publicMethodWithParameterAndReturnType(int a)
Definition: Derived.java:16
MyProject\Connection1\test1
test1()
Definition: namespaces-multiple.php:4
UMLScene::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: umlscene.cpp:2998
apackage.Generic.isEmpty
boolean isEmpty()
Definition: Generic.java:9
types.ReferencedType
Definition: types.py:5
POEntry::tagNames
QStringList tagNames
Definition: shared.h:18
apackage.Derived
Definition: Derived.java:3
method-parameters.TestMethodParameters.method_params_dict
def method_params_dict(self, a={} b={ 'a':1, 'b':2})
Definition: method-parameters.py:12
main
int main(int argc, char **argv)
Definition: po2xmi.cpp:21
apackage.Derived.staticProtectedMethod
static void staticProtectedMethod()
Definition: Derived.java:12
toXMLCharacterEntities
QString toXMLCharacterEntities(QString s)
Definition: shared.cpp:102
apackage.Base.stringVector
String[] stringVector
Definition: Base.java:9
apackage.UseGeneric.UseGeneric
UseGeneric(Generic< Integer > a)
Definition: UseGeneric.java:5
types.Types.instance_variable_object_type
instance_variable_object_type
Definition: types.py:46
apackage.DerivedExtern.DerivedExtern
DerivedExtern()
Definition: DerivedExtern.java:6
main
int main(int argc, char *argv[])
Definition: svg2png.cpp:23
method-parameters.TestMethodParameters.method_params_simple_default_values
def method_params_simple_default_values(self, a=0, a=-1, b=None, c="str", d=0.1)
Definition: method-parameters.py:9
apackage.Derived.Derived
Derived()
Definition: Derived.java:4
iTemplate\setVariable
setVariable($name, $var)
apackage.Enum.Value1
Value1
Definition: Enum.java:4
Illuminate\Database\Eloquent\Model
Definition: namespaces-multiple.php:21
it
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
Definition: GPL-2.0-only.txt:64
types.Types
Definition: types.py:11
a
QString a
Definition: petalnode.cpp:13
apackage.Derived._protected_int_member
int _protected_int_member
Definition: Derived.java:19
fetchPoFile
bool fetchPoFile(const QString &fileName, TranslationMap &map)
Definition: shared.cpp:163
types.Types.instance_variable_negative_float
instance_variable_negative_float
Definition: types.py:36
visibility.Visibility._protected
int _protected
Definition: visibility.py:5
apackage.Derived._private_final_int_member
final int _private_final_int_member
Definition: Derived.java:26
apackage.AbstractClass.abstractMethod
abstract void abstractMethod()
apackage.Type.Type
Type()
Definition: Type.java:4
types.Types.instance_variable_list
instance_variable_list
Definition: types.py:39
method-parameters.TestMethodParameters.method_params
def method_params(self, a, b)
Definition: method-parameters.py:6
UMLScene::setMenu
void setMenu(const QPoint &pos)
types.Types.instance_variable_tuple_params
instance_variable_tuple_params
Definition: types.py:44
types.Types.instance_variable_float
instance_variable_float
Definition: types.py:35
types.Types.instance_variable_bool_false
instance_variable_bool_false
Definition: types.py:32
int
int int y int
Definition: cxx11-lambda-functions-and-expressions.h:4
apackage.Derived.staticPrivateMethod
static void staticPrivateMethod()
Definition: Derived.java:14
apackage.subdir.apackage.ApackageSubdirApackageTest
Definition: ApackageSubdirApackageTest.java:3
types.Types.test
def test()
Definition: types.py:49
Template
Definition: interfaces.php:9
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
method-parameters.TestMethodParameters.method_params_tuple
def method_params_tuple(self, a=(), b=(1, 2))
Definition: method-parameters.py:21
method-parameters.TestMethodParameters.method
def method(self)
Definition: method-parameters.py:3
Connection3\test3
test3()
Definition: namespaces-multiple.php:15
apackage.AbstractClass.AbstractClass
AbstractClass()
Definition: AbstractClass.java:5
apackage.Base
Definition: Base.java:3
types.Types.__init__
def __init__()
Definition: types.py:30
operator<<
QDebug operator<<(QDebug out, const QXmlStreamAttribute &a)
Definition: shared.cpp:17
fetchPoFile
bool fetchPoFile(const QString &fileName, TranslationMap &map)
Definition: shared.cpp:163
apackage.Generic.empty
void empty()
Definition: Generic.java:10
apackage.Derived.staticPublicMethod
static void staticPublicMethod()
Definition: Derived.java:11
apackage.Enum
Definition: Enum.java:3
apackage.Derived._public_int_member
int _public_int_member
Definition: Derived.java:18
apackage.Derived.privateMethod
void privateMethod()
Definition: Derived.java:9
types.Types.instance_variable_dict
instance_variable_dict
Definition: types.py:41
apackage.Generic
Definition: Generic.java:3
apackage.Generic.Generic
Generic(T value)
Definition: Generic.java:6
apackage.Base.Base
Base()
Definition: Base.java:4
$a
$a
Definition: namespaces-multiple.php:17
extractAttributesFromXMI
bool extractAttributesFromXMI(const char *fileName, const QStringList &attributes, POMap &result)
Definition: shared.cpp:52
toGetTextString
QString toGetTextString(const QString &message)
Definition: shared.cpp:119
apackage.Derived._private_int_member
int _private_int_member
Definition: Derived.java:21
types.Types.instance_variable_object
instance_variable_object
Definition: types.py:45
apackage.Generic.value
T value
Definition: Generic.java:4
visibility.Visibility
Definition: visibility.py:3
apackage.AbstractClass.method
void method()
Definition: AbstractClass.java:9
visibility.Visibility.__init__
def __init__(self)
Definition: visibility.py:9
MyProject\Connection1
Definition: namespaces-multiple.php:4
apackage.Interface
Definition: Interface.java:3
apackage.Base.finalMethod
final void finalMethod()
Definition: Base.java:8
applyTranslationToXMIFile
bool applyTranslationToXMIFile(const char *fileName, const QStringList &attributes, TranslationMap &translations)
Definition: shared.cpp:208
Timetracker\Base\Models\Hour
Definition: namespaces-multiple.php:30
apackage.Derived._private_initialized_int_member
int _private_initialized_int_member
Definition: Derived.java:23
shared.h
apackage.UseGeneric
Definition: UseGeneric.java:3
method-parameters.TestMethodParameters.method_params_dict_nested
def method_params_dict_nested(self, a={} b={ 'a':1, 'b':{ 'a':1, 'b':2}})
Definition: method-parameters.py:15
apackage.UseGeneric.setA
void setA(Generic< Integer > _a)
Definition: UseGeneric.java:9
types.Types.instance_variable_list_params
instance_variable_list_params
Definition: types.py:40
method-parameters.TestMethodParameters
Definition: method-parameters.py:2
POEntry::lineNumbers
QList< int > lineNumbers
Definition: shared.h:20
applyTranslationToXMIFile
bool applyTranslationToXMIFile(const char *fileName, const QStringList &attributes, TranslationMap &translations)
Definition: shared.cpp:208
types.ReferencedType.__init__
def __init__(self, a=0, b=0)
Definition: types.py:6
types.Types.instance_variable_dict_params
instance_variable_dict_params
Definition: types.py:42
AnotherProject\Connection2\test2
test2()
Definition: namespaces-multiple.php:10
MyProject\CONNECT_OK
const CONNECT_OK
Definition: namespaces-multiple.php:3
visibility.Visibility.public
int public
Definition: visibility.py:6