Commit Graph

12 Commits

Author SHA1 Message Date
Jochen Becher
bf4b16ed5f ModelEditor: Use Qt5-style connects
Change-Id: I35f284fd790713670ce31d4a802860b4d41c1ad3
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-23 18:19:27 +00:00
Jochen Becher
3257691088 ModelEditor: break lines in source files
Change-Id: Ie8a01d146c062be75657fca2423734f3d2f7f296
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-21 16:28:34 +00:00
Jochen Becher
53335c2fda ModelEditor: Apply some source code formatting rules
1. Reduce 2 or more empty lines to a single empty line
2. Remove duplicate access specifiers
3. Remove lots of single empty lines between member declarations
4. Remove braces around single lines
5. List base classes on same line as class declaration
6. Ensure opening brace of class declaration is on next line
7. Add comment to end of namespace block

Change-Id: I95e2efa3abea806683e0943d54d6f203ad4af0e4
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-17 18:06:50 +00:00
Jochen Becher
a441513596 ModelEditor: Fix use of Q_UNUSED
Change-Id: I379c9f0cd3ccc9fe4ef51c29ddd9de2b87b3e6c1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-13 18:39:49 +00:00
Jochen Becher
adb24b74bb ModelEditor: rename a lot of boolean attributes to m_is...
Change-Id: I4e4711d480de37b85870e18b89b035ba05be3ddd
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-13 18:39:44 +00:00
Jochen Becher
aa6d69b7bc ModelEditor: Fix calls from derived classes
Change-Id: I4f144bd925bd5f72272e50628d46996b0dba5369
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-13 18:39:23 +00:00
Jochen Becher
6add33131e ModelEditor: Apply naming convention to types
Use Pascal style for typedefs and class instead of struct.

Change-Id: Ib568994e70c8ac0a219b2fba1d998e04ef5f79da
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-12 17:12:29 +00:00
Jochen Becher
11eca8374b ModelEditor: Apply naming convention to enums
Change-Id: I215214965d4f6196d805b9001cf59d8cbf2c7c64
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-11 09:08:10 +00:00
Jochen Becher
5d3812af28 ModelEditor: Apply naming convention to getters
Change-Id: If9eaaf0dc54e26e4b7e2b8952efd951a9113f104
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-11 09:07:53 +00:00
Jochen Becher
212f607768 ModelEditor: Apply naming convention to variables
This change applies the naming convention to function parameters and local variables.

Change-Id: Ifa495c70520923f14ba6791513d3691bfa7694f6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-09 21:17:32 +00:00
Jochen Becher
06821596f0 ModelEditor: Apply naming convention to attributes
Change-Id: Ife37a542be9b9e721e988cb11d9498469b2226f0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-09 21:10:09 +00:00
Jochen Becher
64e2ba87ef Add modeling library
Modeling library implements the entities, diagrams and widget Ui for
ModelEditor plugin and tools. This is a 3rdparty library not following
the QtCreator coding style.

Change-Id: I981e38a10fff1c1792f285d5837553aa7596cd2f
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-09-16 12:13:17 +00:00