[qet] [3456] rename method

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


Revision: 3456
Author:   blacksun
Date:     2014-11-06 10:44:20 +0100 (Thu, 06 Nov 2014)
Log Message:
-----------
rename method

Modified Paths:
--------------
    trunk/sources/editor/elementscene.cpp
    trunk/sources/editor/elementscene.h
    trunk/sources/editor/qetelementeditor.cpp

Modified: trunk/sources/editor/elementscene.cpp
===================================================================
--- trunk/sources/editor/elementscene.cpp	2014-11-05 21:37:25 UTC (rev 3455)
+++ trunk/sources/editor/elementscene.cpp	2014-11-06 09:44:20 UTC (rev 3456)
@@ -402,11 +402,11 @@
 }
 
 /**
- * @brief ElementScene::setInterface
+ * @brief ElementScene::setEventInterface
  * Set a new event interface
  * @param interface
  */
-void ElementScene::setInterface(ESEventInterface *interface) {
+void ElementScene::setEventInterface(ESEventInterface *interface) {
 	if (m_event_interface) delete m_event_interface;
 	m_event_interface = interface;
 }

Modified: trunk/sources/editor/elementscene.h
===================================================================
--- trunk/sources/editor/elementscene.h	2014-11-05 21:37:25 UTC (rev 3455)
+++ trunk/sources/editor/elementscene.h	2014-11-06 09:44:20 UTC (rev 3456)
@@ -113,7 +113,7 @@
 	
 	// methods
 	public:
-		void setInterface (ESEventInterface *interface);
+		void setEventInterface (ESEventInterface *interface);
 		QPointF snapToGrid(QPointF point);
 	void setNames(const NamesList &);
 	NamesList names() const;

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2014-11-05 21:37:25 UTC (rev 3455)
+++ trunk/sources/editor/qetelementeditor.cpp	2014-11-06 09:44:20 UTC (rev 3456)
@@ -927,7 +927,7 @@
  * Set line creation interface to scene
  */
 void QETElementEditor::addLine() {
-	ce_scene->setInterface(new ESEventAddLine(ce_scene));
+	ce_scene -> setEventInterface(new ESEventAddLine(ce_scene));
 }
 
 /**


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