bool aFound = false;
for (aLIt.Initialize(aList); aLIt.More(); aLIt.Next()) {
anAISIO = aLIt.Value();
- if (anAISIO.Access() == aAIS.Access()) {
+ if (anAISIO.get() == aAIS.get()) {
aFound = true;
break;
}
myActionsList.append(theId);
SUIT_Desktop* aDesk = application()->desktop();
int aKeys = 0;
- for (unsigned int i = 0; i < theKeys.count(); i++)
+ for (int i = 0; i < theKeys.count(); i++)
aKeys += theKeys[i];
QAction* aAction = createAction(aId, theTip, theIcon, theTitle, theTip, aKeys, aDesk,
isCheckable);
myActionsList.append(theId);
SUIT_Desktop* aDesk = application()->desktop();
int aKeys = 0;
- for (unsigned int i = 0; i < theKeys.count(); i++)
+ for (int i = 0; i < theKeys.count(); i++)
aKeys += theKeys[i];
QAction* aAction = createAction(aId, theTip, theIcon, theTitle, theTip, aKeys, aDesk,
isCheckable);
const SelectMgr_ListOfFilter& aFilters = aContext->Filters();
SelectMgr_ListIteratorOfListOfFilter aIt(aFilters);
for (; aIt.More() && !aFoundFilter; aIt.Next()) {
- aFoundFilter = theFilter.Access() == aIt.Value().Access();
+ aFoundFilter = theFilter.get() == aIt.Value().get();
}
}
return aFoundFilter;
#ifdef WIN32
#ifdef HAVE_SALOME
-#include <QWindowsStyle>
+// PORTING_TO_SALOME_8
+//#include <QWindowsStyle>
+#include <QCommonStyle>
#endif
#endif
{
#ifdef WIN32
#ifdef HAVE_SALOME
- setStyle(new QWindowsStyle());
+ setStyle(new QCommonStyle());
#else
myStyle = new XGUI_TreeViewStyle();
setStyle(myStyle);