PDA

View Full Version : QCheckbox



sonuani
19th February 2008, 14:01
Hi,
How to replace the below MFC function in Qt?

QCheckbox ctrCheckbox;

CDataExchange pDX;

DDX_Control(pDX, IDC_B,ctrCheckbox)

jpn
19th February 2008, 14:12
It makes no sense to try porting an MFC app line by line to Qt. They are very much different toolkits so you have to port functionality instead. You have to find out yourself what does CDataExchange do and then start thinking what's the corresponding technique in Qt.