Compatibility with QT_NO_KEYWORDS

This commit is contained in:
Laurent Rineau 2016-03-09 17:02:59 +01:00
parent 24b7b762f6
commit 2bb72c7f26
2 changed files with 2 additions and 2 deletions

View File

@ -368,7 +368,7 @@ DemosMainWindow::openRecentFile_aux()
{
QAction *action = qobject_cast<QAction *>(sender());
if (action)
emit openRecentFile(action->data().toString());
Q_EMIT openRecentFile(action->data().toString());
}
CGAL_INLINE_FUNCTION

View File

@ -183,7 +183,7 @@ namespace Qt {
QMouseEvent* mouseEvent = static_cast<QMouseEvent*>(event);
QPointF pos = v->mapToScene(mouseEvent->pos());
QString xy = QString(" ") + QString::number(pos.x(),'g', 6) + " , " + QString::number(pos.y(),'g', 6) + " ";
emit mouseCoordinates(xy);
Q_EMIT mouseCoordinates(xy);
if(rectItem->isVisible()) {
QPointF size = v->mapToScene(mouseEvent->pos());
size = size - rect_first_point;