From e8cbb23c0b974a3e52b91e2a2aa1ff677776bdba Mon Sep 17 00:00:00 2001 From: blacksun Date: Mon, 24 Nov 2014 18:17:20 +0000 Subject: [PATCH] Minor change git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3515 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetgraphicsitem/commentitem.cpp | 2 +- sources/qetgraphicsitem/crossrefitem.cpp | 2 +- sources/qetgraphicsitem/slaveelement.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/qetgraphicsitem/commentitem.cpp b/sources/qetgraphicsitem/commentitem.cpp index 60c7f9bdb..8526b0086 100644 --- a/sources/qetgraphicsitem/commentitem.cpp +++ b/sources/qetgraphicsitem/commentitem.cpp @@ -37,7 +37,7 @@ CommentItem::CommentItem(Element *elmt) : connect(elmt, SIGNAL(yChanged()), this, SLOT (autoPos())); connect(elmt, SIGNAL(rotationChanged()), this, SLOT (autoPos())); } - connect(elmt, SIGNAL(elementInfoChange(DiagramContext)), this, SLOT (updateLabel())); + connect(elmt, SIGNAL(elementInfoChange(DiagramContext,DiagramContext)), this, SLOT (updateLabel())); updateLabel(); } diff --git a/sources/qetgraphicsitem/crossrefitem.cpp b/sources/qetgraphicsitem/crossrefitem.cpp index b9c5c9c51..d20fe8368 100644 --- a/sources/qetgraphicsitem/crossrefitem.cpp +++ b/sources/qetgraphicsitem/crossrefitem.cpp @@ -39,7 +39,7 @@ CrossRefItem::CrossRefItem(Element *elmt) : { m_properties = elmt->diagram()->defaultXRefProperties(elmt->kindInformations()["type"].toString()); - connect(elmt, SIGNAL(elementInfoChange(DiagramContext)), this, SLOT(updateLabel())); + connect(elmt, SIGNAL(elementInfoChange(DiagramContext, DiagramContext)),this, SLOT(updateLabel())); connect(elmt -> diagram() -> project(), SIGNAL(projectDiagramsOrderChanged(QETProject*,int,int)), this, SLOT(updateLabel())); connect(elmt -> diagram() -> project(), SIGNAL(diagramRemoved(QETProject*,Diagram*)), this, SLOT(updateLabel())); connect(elmt -> diagram(), SIGNAL(XRefPropertiesChanged()), this, SLOT(updateProperties())); diff --git a/sources/qetgraphicsitem/slaveelement.cpp b/sources/qetgraphicsitem/slaveelement.cpp index 622c6602f..df159842a 100644 --- a/sources/qetgraphicsitem/slaveelement.cpp +++ b/sources/qetgraphicsitem/slaveelement.cpp @@ -58,7 +58,7 @@ void SlaveElement::linkToElement(Element *elmt) { connect(elmt, SIGNAL(xChanged()), this, SLOT(updateLabel())); connect(elmt, SIGNAL(yChanged()), this, SLOT(updateLabel())); - connect(elmt, SIGNAL(elementInfoChange(DiagramContext)), this, SLOT(updateLabel())); + connect(elmt, SIGNAL(elementInfoChange(DiagramContext, DiagramContext)),this, SLOT(updateLabel())); connect(diagram()->project(), SIGNAL(projectDiagramsOrderChanged(QETProject*,int,int)), this, SLOT(updateLabel())); connect(diagram()->project(), SIGNAL(diagramRemoved(QETProject*,Diagram*)), this, SLOT(updateLabel())); @@ -92,7 +92,7 @@ void SlaveElement::unlinkElement(Element *elmt) { disconnect(elmt, SIGNAL(xChanged()), this, SLOT(updateLabel())); disconnect(elmt, SIGNAL(yChanged()), this, SLOT(updateLabel())); - disconnect(elmt, SIGNAL(elementInfoChange(DiagramContext)), this, SLOT(updateLabel())); + disconnect(elmt, SIGNAL(elementInfoChange(DiagramContext, DiagramContext)),this, SLOT(updateLabel())); disconnect(diagram()->project(), SIGNAL(projectDiagramsOrderChanged(QETProject*,int,int)), this, SLOT(updateLabel())); disconnect(diagram()->project(), SIGNAL(diagramRemoved(QETProject*,Diagram*)), this, SLOT(updateLabel()));