]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Using QListWidgetItem instead of QListBoxItem
authorvsv <vsv@opencascade.com>
Fri, 17 Oct 2008 06:45:50 +0000 (06:45 +0000)
committervsv <vsv@opencascade.com>
Fri, 17 Oct 2008 06:45:50 +0000 (06:45 +0000)
src/OCCViewer/OCCViewer_CreateRestoreViewDlg.cxx

index cc816a932008dec0c1b404c70a2c991e56924e06..adab3934b72de464f939eebe83d986311189a6d0 100755 (executable)
@@ -76,8 +76,8 @@ OCCViewer_CreateRestoreViewDlg::OCCViewer_CreateRestoreViewDlg( QWidget* aWin, O
     myListBox->insertItem( 0, "No Items" );
   }
 
-  connect( myListBox, SIGNAL( itemClicked( QListBoxItem* ) ), this, SLOT( changeImage( QListBoxItem* ) ) );
-  connect( myListBox, SIGNAL( itemChanged( QListBoxItem* ) ), this, SLOT( editItemText( QListBoxItem* ) ) );
+  connect( myListBox, SIGNAL( itemClicked( QListWidgetItem* ) ), this, SLOT( changeImage( QListWidgetItem* ) ) );
+  connect( myListBox, SIGNAL( itemChanged( QListWidgetItem* ) ), this, SLOT( editItemText( QListWidgetItem* ) ) );
        
   aLayout->addWidget( myListBox );
   aLayout->addWidget( myCurViewPort, 30 );