tags:

views:

52

answers:

0

I am unable to read the answer for this from the QT manual so hopefully someone here can help me.

There is a COM event described like this :

Event OnlineStatus(pUser As IUser, ByVal Status As TOnlineStatus)

where TOnlineStatus is Enum with members like "Constant olsAway = 2".

How do I connect a slot to that event if I am using the COM object with QAxObject? What should be the parameter types for the slot function? I guess for IUser, it should be QAxObject*, but I have no idea how to treat the Enum.