Hi!
I have trouble porting code from qt3 to qt4.
int i = m_pWorkspace->windowList().find( m_pWorkspace->activeWindow()).indexof;
//error C2440: 'initializing' : cannot convert from 'QList<T>::iterator' to 'int'
QWidget* w
= m_pWorkspace
->windowList
().
at( ++i
);
if ( w ) w->setFocus();
int i = m_pWorkspace->windowList().find( m_pWorkspace->activeWindow()).indexof;
//error C2440: 'initializing' : cannot convert from 'QList<T>::iterator' to 'int'
QWidget* w = m_pWorkspace->windowList().at( ++i );
if ( w ) w->setFocus();
To copy to clipboard, switch view to plain text mode
I don't know how to get an int index.
Please help.
Thank you.
Bookmarks