rename method

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3456 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-11-06 09:44:20 +00:00
parent e4de046db5
commit 97bf2333ae
3 changed files with 4 additions and 4 deletions

View File

@@ -402,11 +402,11 @@ void ElementScene::endCurrentBehavior(const QGraphicsSceneMouseEvent *event) {
}
/**
* @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;
}

View File

@@ -113,7 +113,7 @@ class ElementScene : public QGraphicsScene {
// methods
public:
void setInterface (ESEventInterface *interface);
void setEventInterface (ESEventInterface *interface);
QPointF snapToGrid(QPointF point);
void setNames(const NamesList &);
NamesList names() const;

View File

@@ -927,7 +927,7 @@ bool QETElementEditor::isReadOnly() const {
* Set line creation interface to scene
*/
void QETElementEditor::addLine() {
ce_scene->setInterface(new ESEventAddLine(ce_scene));
ce_scene -> setEventInterface(new ESEventAddLine(ce_scene));
}
/**