]> SALOME platform Git repositories - modules/hexablock.git/commitdiff
Salome HOME
Additional fixes for QT5 V8_0_0a1
authorrnv <rnv@opencascade.com>
Mon, 28 Dec 2015 14:48:59 +0000 (17:48 +0300)
committerrnv <rnv@opencascade.com>
Mon, 28 Dec 2015 14:48:59 +0000 (17:48 +0300)
src/HEXABLOCKGUI/klinkitemselectionmodel.hxx
src/HEXABLOCKGUI/kmodelindexproxymapper.cxx

index 6172392509c678860a019fad5a2fb7cfb81175e6..f41e1effeb5f69f5e434aade8adb131eba4b1802 100644 (file)
 #ifndef KLINKITEMSELECTIONMODEL_H
 #define KLINKITEMSELECTIONMODEL_H
 
-#include "HEXABLOCKGUI_Export.hxx"\r
+#include "HEXABLOCKGUI_Export.hxx"
 
 #include <QtCore/QObject>
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
 #include <QtGui/QItemSelectionModel>
 #include <QtGui/QAbstractProxyModel>
+#else
+#include <QtCore/QItemSelectionModel>
+#include <QtCore/QAbstractProxyModel>
+#endif
 
 #include <iostream>
 
index a215ae0b5014fe07bb5eace2f75a28da7f53c329..28bc187ab3fcb98c7d21ba76c4c367a5196c7ac4 100644 (file)
 
 #include <QtCore/QAbstractItemModel>
 #include <QtCore/QWeakPointer>
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
 #include <QtGui/QAbstractProxyModel>
 #include <QtGui/QItemSelectionModel>
+#else 
+#include <QtCore/QAbstractProxyModel>
+#include <QtCore/QItemSelectionModel>
+#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"