overte/interface/src/HFActionEvent.cpp
2014-10-27 11:11:23 -07:00

30 lines
761 B
C++

//
// HFActionEvent.cpp
// interface/src
//
// Created by Stephen Birarda on 2014-10-27.
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "HFActionEvent.h"
HFActionEvent::HFActionEvent(QEvent::Type type, const QPointF& localPosition) :
QEvent(type),
_localPosition(localPosition)
{
}
QEvent::Type HFActionEvent::startType() {
static QEvent::Type startType = static_cast<QEvent::Type>(QEvent::registerEventType());
return startType;
}
QEvent::Type HFActionEvent::endType() {
static QEvent::Type endType = static_cast<QEvent::Type>(QEvent::registerEventType());
return endType;
}