Basically none, they are equivalent. But it depends on the context really because the * operator has two meanings.
If your Alarm is a QObejct derived class, you can't store objects of this type in QSet, you can only store pointers. But then there is a question why do it in the first place.I think that I need to create a "Alarm *a = new Alarm(file)", because I don't know if it's a good idea to connect a Alarm that's in QSet, or maybe it is...






Reply With Quote
Bookmarks