[qet] [4682] Minor

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4682
Author:   scorpio810
Date:     2016-09-03 13:00:48 +0200 (Sat, 03 Sep 2016)
Log Message:
-----------
Minor

Modified Paths:
--------------
    trunk/sources/editor/graphicspart/partterminal.cpp
    trunk/sources/editor/graphicspart/partterminal.h

Modified: trunk/sources/editor/graphicspart/partterminal.cpp
===================================================================
--- trunk/sources/editor/graphicspart/partterminal.cpp	2016-09-02 05:28:26 UTC (rev 4681)
+++ trunk/sources/editor/graphicspart/partterminal.cpp	2016-09-03 11:00:48 UTC (rev 4682)
@@ -26,7 +26,6 @@
 */
 PartTerminal::PartTerminal(QETElementEditor *editor, QGraphicsItem *parent) :
 	CustomElementGraphicPart(editor, parent),
-	m_tagg("none"),
 	m_orientation(Qet::North)
 {
 	updateSecondPoint();
@@ -65,8 +64,8 @@
 	// ecrit la position de la borne
 	xml_element.setAttribute("x", QString("%1").arg(scenePos().x()));
 	xml_element.setAttribute("y", QString("%1").arg(scenePos().y()));
-	xml_element.setAttribute("tagg", m_tagg);
 	
+	
 	// ecrit l'orientation de la borne
 	xml_element.setAttribute("orientation", Qet::orientationToString(m_orientation));
 	// Write name and number to XML

Modified: trunk/sources/editor/graphicspart/partterminal.h
===================================================================
--- trunk/sources/editor/graphicspart/partterminal.h	2016-09-02 05:28:26 UTC (rev 4681)
+++ trunk/sources/editor/graphicspart/partterminal.h	2016-09-03 11:00:48 UTC (rev 4682)
@@ -19,10 +19,9 @@
 #define PART_TERMINAL_H
 
 #include "customelementgraphicpart.h"
-#include "customelementpart.h"
-class TextFieldEditor;
-class QETElementEditor;
 
+
+
 /**
 	This class represents a terminal which may be used to compose the drawing of
 	an electrical element within the element editor.
@@ -33,11 +32,7 @@
 
 		Q_PROPERTY(Qet::Orientation orientation READ orientation WRITE setOrientation)
 
-	// tagg of text
-	Q_PROPERTY(QString tagg READ tagg WRITE setTagg)
-		QString tagg() const {return m_tagg;}
-		void setTagg(const QString &tagg) {m_tagg = tagg;}
-		
+	
 	public:
 		// constructors, destructor
 		PartTerminal(QETElementEditor *editor, QGraphicsItem *parent = 0);
@@ -52,8 +47,8 @@
 	private:
 		Qet::Orientation m_orientation;
 		QPointF second_point;
-		QString m_tagg;
-	
+
+
 		// methods
 	public:
 		enum { Type = UserType + 1106 };


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/