Changeset 6046 for branches/qt-gui_qt4/src/userevents/usereventtabdlg.cpp
- Timestamp:
- 01/15/08 05:09:09 (10 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/qt-gui_qt4/src/userevents/usereventtabdlg.cpp
r6007 r6046 54 54 lay->addWidget(tabw); 55 55 56 connect(tabw, SIGNAL(currentChanged( QWidget*)),57 SLOT(slotCurrentChanged( QWidget*)));56 connect(tabw, SIGNAL(currentChanged(int)), 57 SLOT(slotCurrentChanged(int))); 58 58 connect(tabw, SIGNAL(middleClick(QWidget*)), 59 59 SLOT(slotRemoveTab(QWidget*))); … … 223 223 * changed. 224 224 */ 225 void UserEventTabDlg::slotCurrentChanged(QWidget* tab) 226 { 225 void UserEventTabDlg::slotCurrentChanged(int index) 226 { 227 QWidget* tab = tabw->widget(index); 227 228 tab->setFocus(); // prevents users from accidentally typing in the wrong widget 228 229 updateTitle(tab);
