mirror of https://github.com/jhol/qtdmm.git
ReadEvent: Custom event classes are now derrived directly from QEvent
This commit is contained in:
parent
aeda5022f7
commit
4b2d1a9bbc
|
@ -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 )
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <qevent.h>
|
||||
|
||||
class ReadEvent : public QCustomEvent
|
||||
class ReadEvent : public QEvent
|
||||
{
|
||||
public:
|
||||
enum DataFormat
|
||||
|
|
Loading…
Reference in New Issue