src: applied clang-format

This commit is contained in:
mlangkabel
2019-11-18 17:07:20 +01:00
parent 52058d9947
commit 078feca004
1100 changed files with 21382 additions and 20822 deletions
@@ -13,12 +13,8 @@
#include "QtRoundedRectItem.h"
QtGraphNodeGroup::QtGraphNodeGroup(
Id tokenId, const std::wstring& name, GroupType type, bool interactive
)
: m_tokenId(tokenId)
, m_type(type)
, m_interactive(interactive)
QtGraphNodeGroup::QtGraphNodeGroup(Id tokenId, const std::wstring& name, GroupType type, bool interactive)
: m_tokenId(tokenId), m_type(type), m_interactive(interactive)
{
if (interactive)
{
@@ -61,9 +57,7 @@ QtGraphNodeGroup::QtGraphNodeGroup(
m_background->setPolygon(path.toFillPolygon());
}
QtGraphNodeGroup::~QtGraphNodeGroup()
{
}
QtGraphNodeGroup::~QtGraphNodeGroup() {}
bool QtGraphNodeGroup::isGroupNode() const
{
@@ -119,7 +113,7 @@ void QtGraphNodeGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent* event)
{
if (m_type == GroupType::FILE || m_type == GroupType::NAMESPACE)
{
MessageFocusOut({ m_tokenId }).dispatch();
MessageFocusOut({m_tokenId}).dispatch();
}
else
{
@@ -135,7 +129,7 @@ void QtGraphNodeGroup::hoverMoveEvent(QGraphicsSceneHoverEvent* event)
{
if (m_type == GroupType::FILE || m_type == GroupType::NAMESPACE)
{
MessageFocusIn({ m_tokenId }, TOOLTIP_ORIGIN_GRAPH).dispatch();
MessageFocusIn({m_tokenId}, TOOLTIP_ORIGIN_GRAPH).dispatch();
}
else
{