add QT5 support
This commit is contained in:
10
inc/hgl/QT.h
Normal file
10
inc/hgl/QT.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef HGL_QT_INCLUDE
|
||||
#define HGL_QT_INCLUDE
|
||||
|
||||
#include<hgl/type/QTString.h>
|
||||
#include<QObject>
|
||||
|
||||
#define QTConnect(obj,event,class_pointer,slot_func) QObject::connect(obj,SIGNAL(event()),class_pointer,SLOT(slot_func()))
|
||||
|
||||
#endif//HGL_QT_INCLUDE
|
||||
|
Reference in New Issue
Block a user