Changeset 6046

Show
Ignore:
Timestamp:
01/15/08 05:09:09 (8 months ago)
Author:
erijo
Message:

Fixed "No such signal LicqQtGui::TabWidget::currentChanged(QWidget*)" error.

Location:
branches/qt-gui_qt4/src/userevents
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/qt-gui_qt4/src/userevents/usereventtabdlg.cpp

    r6007 r6046  
    5454  lay->addWidget(tabw); 
    5555 
    56   connect(tabw, SIGNAL(currentChanged(QWidget*)), 
    57           SLOT(slotCurrentChanged(QWidget*))); 
     56  connect(tabw, SIGNAL(currentChanged(int)), 
     57          SLOT(slotCurrentChanged(int))); 
    5858  connect(tabw, SIGNAL(middleClick(QWidget*)), 
    5959          SLOT(slotRemoveTab(QWidget*))); 
     
    223223 *  changed. 
    224224 */ 
    225 void UserEventTabDlg::slotCurrentChanged(QWidget* tab) 
    226 { 
     225void UserEventTabDlg::slotCurrentChanged(int index) 
     226{ 
     227  QWidget* tab = tabw->widget(index); 
    227228  tab->setFocus();  // prevents users from accidentally typing in the wrong widget 
    228229  updateTitle(tab); 
  • branches/qt-gui_qt4/src/userevents/usereventtabdlg.h

    r5881 r6046  
    5858 
    5959public slots: 
    60   void slotCurrentChanged(QWidget* tab); 
     60  void slotCurrentChanged(int index); 
    6161  void slotMoveLeft(); 
    6262  void slotMoveRight();