28 #include "WEventTypes.h"
30 #include "WLoadFinishedEvent.h"
33 :
QEvent( static_cast<
QEvent::Type >( WQT_LOADFINISHED ) ),
34 m_filename( filename ),
36 m_warnings( warnings )
const std::vector< std::string > & getWarnings() const
Returns the list of warnings.
std::vector< std::string > m_errors
The error list.
const std::vector< std::string > & getErrors() const
Returns the list of errors.
WLoadFinishedEvent(boost::filesystem::path filename, std::vector< std::string > errors, std::vector< std::string > warnings)
Creates a new event instance denoting that a asynchronous load was finished.
virtual ~WLoadFinishedEvent()
Destructor.
std::string getFilename() const
The filename of the file loaded.
std::vector< std::string > m_warnings
The warnings list.
boost::filesystem::path m_filename
The filename of the file loaded.