]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Updated SALOME GUI sources for building under Ms Visual .NET on Windows platform.
authorstv <stv@opencascade.com>
Tue, 21 Feb 2006 14:04:22 +0000 (14:04 +0000)
committerstv <stv@opencascade.com>
Tue, 21 Feb 2006 14:04:22 +0000 (14:04 +0000)
src/OCCViewer/OCCViewer_CreateRestoreViewDlg.cxx
src/OCCViewer/OCCViewer_ViewModel.cxx

index a79d5f2c74a1f81b575165ac500b74be70003047..0f6fb703c9fb7fb0e92827659907b82477f60ce1 100755 (executable)
@@ -108,7 +108,7 @@ void OCCViewer_CreateRestoreViewDlg::changeImage( QListBoxItem* curItem )
                int index = curItem->listBox()->index( curItem );
                if( myKeyFlag == 2 )
                {
-                       for( int i = 0; i < myListBox->count(); i++ )
+                       for( int i = 0; i < (int)myListBox->count(); i++ )
                        {
                                if( myListBox->isSelected( i ) && i != index )
                                {
@@ -156,11 +156,11 @@ void OCCViewer_CreateRestoreViewDlg::deleteSelectedItems()
        if( myListBox->count() && myListBox->isEditEnabled() )
        {
                int curIndex = -1;
-               for( int i = 0; i < myListBox->count(); i++ )
+               for( int i = 0; i < (int)myListBox->count(); i++ )
                        if( myListBox->isSelected( i ) )
                        {
                                myListBox->removeItem( i );
-                               for( int j = i; j < myParametersMap.count(); j++ )
+                               for( int j = i; j < (int)myParametersMap.count(); j++ )
                                        if( j != myParametersMap.count() - 1 )
                                                myParametersMap[ j ] = myParametersMap[ j + 1 ];
                                        else
index 216c9ec845c0507f548621c4f58f98f1e1da2109..6b74a7fc55f4aff239346946d1dd15fc0df0003d 100755 (executable)
@@ -220,7 +220,7 @@ void OCCViewer_Viewer::enableSelection(bool isEnabled)
     return;
 
   QPtrVector<SUIT_ViewWindow> wins = myViewManager->getViews();
-  for ( int i = 0; i < wins.count(); i++ )
+  for ( int i = 0; i < (int)wins.count(); i++ )
   {
     OCCViewer_ViewWindow* win = ::qt_cast<OCCViewer_ViewWindow*>( wins.at( i ) );
     if ( win )
@@ -237,7 +237,7 @@ void OCCViewer_Viewer::enableMultiselection(bool isEnable)
     return;
 
   QPtrVector<SUIT_ViewWindow> wins = myViewManager->getViews();
-  for ( int i = 0; i < wins.count(); i++ )
+  for ( int i = 0; i < (int)wins.count(); i++ )
   {
     OCCViewer_ViewWindow* win = ::qt_cast<OCCViewer_ViewWindow*>( wins.at( i ) );
     if ( win )