The problem is this :
SoundEvent::SoundEvent()
That is the implementation of the class' constructor. That appears to be the declaration of the class which should appear like this :
class SoundEvent
{
public:
SoundEvent( qint64 timestamp = 0, int soundId = 0 );
~SoundEvent();
qint64 timestamp;
int soundId;
};
The implementation of the constructor should appear like this :
SoundEvent::SoundEvent( qint64 timestamp, int soundId )
{
}