]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/mvc/delegate.h
ifdef qt4 and qt5
[toast/confclerk.git] / src / mvc / delegate.h
index e9f3439decc305e19f249efc7f4bb43c2a16292e..2ee765f88a077119e6aa5a38e3c93be032f76c07 100644 (file)
 #ifndef DELEGATE_H
 #define DELEGATE_H
 
+#include "qglobal.h"
+#if QT_VERSION >= 0x050000
 #include <QtWidgets>
+#else
+#include <QtGui>
+#endif
 
 class Delegate : public QItemDelegate
 {