ReadEvent: Custom event classes are now derrived directly from QEvent

This commit is contained in:
Joel Holdsworth 2014-04-12 18:10:23 +01:00
parent aeda5022f7
commit 4b2d1a9bbc
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
#include <iostream>
ReadEvent::ReadEvent( char *str, int len, int id, DataFormat df ) :
QCustomEvent( QEvent::User ),
QEvent( QEvent::User ),
m_length( len ),
m_format (df ),
m_id( id )

View File

@ -23,7 +23,7 @@
#include <qevent.h>
class ReadEvent : public QCustomEvent
class ReadEvent : public QEvent
{
public:
enum DataFormat