From: rnv Date: Mon, 28 Dec 2015 14:48:59 +0000 (+0300) Subject: Additional fixes for QT5 X-Git-Tag: V8_0_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b278d257854a9ffd7a2afab170ab6fb130d39203;p=modules%2Fhexablock.git Additional fixes for QT5 --- diff --git a/src/HEXABLOCKGUI/klinkitemselectionmodel.hxx b/src/HEXABLOCKGUI/klinkitemselectionmodel.hxx index 6172392..f41e1ef 100644 --- a/src/HEXABLOCKGUI/klinkitemselectionmodel.hxx +++ b/src/HEXABLOCKGUI/klinkitemselectionmodel.hxx @@ -22,11 +22,16 @@ #ifndef KLINKITEMSELECTIONMODEL_H #define KLINKITEMSELECTIONMODEL_H -#include "HEXABLOCKGUI_Export.hxx" +#include "HEXABLOCKGUI_Export.hxx" #include +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) #include #include +#else +#include +#include +#endif #include diff --git a/src/HEXABLOCKGUI/kmodelindexproxymapper.cxx b/src/HEXABLOCKGUI/kmodelindexproxymapper.cxx index a215ae0..28bc187 100644 --- a/src/HEXABLOCKGUI/kmodelindexproxymapper.cxx +++ b/src/HEXABLOCKGUI/kmodelindexproxymapper.cxx @@ -23,8 +23,13 @@ #include #include +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) #include #include +#else +#include +#include +#endif // #include "kdebug.h" @@ -307,4 +312,4 @@ QItemSelection KModelIndexProxyMapper::mapSelectionRightToLeft(const QItemSelect } // #include "kmodelindexproxymapper_moc.cxx" -// #include "kmodelindexproxymapper.moc" \ No newline at end of file +// #include "kmodelindexproxymapper.moc"