just curious know. My base class is Qobject. I derive another class from Qobject. can I use the Derive class object in stature?
Unsolved
General and Desktop
-
class DataRestore : public QObject {
Q_OBJECT
};mainWindow. h file
struct InstrumentHandler { typedef struct { RecoveryManage dataMange; DataRestore *recoverChannelStore; }RecoveryInfo; bool isItRecoverData = false; RecoveryInfo recoverData; };
can I create member as DataStore object instead of the pointer of the DataStore type?
if no then, What is Reason behind that?
note: Data store class is derive from Object.