Changeset 6046
- Timestamp:
- 01/15/08 05:09:09 (8 months ago)
- Location:
- branches/qt-gui_qt4/src/userevents
- Files:
-
- 2 modified
-
usereventtabdlg.cpp (modified) (2 diffs)
-
usereventtabdlg.h (modified) (1 diff)
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); -
branches/qt-gui_qt4/src/userevents/usereventtabdlg.h
r5881 r6046 58 58 59 59 public slots: 60 void slotCurrentChanged( QWidget* tab);60 void slotCurrentChanged(int index); 61 61 void slotMoveLeft(); 62 62 void slotMoveRight();
