Index: languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp
===================================================================
RCS file: /home/kde/kdevelop/languages/cpp/pcsimporter/kdelibsimporter/settingsdialog.cpp,v
retrieving revision 1.5
diff -r1.5 settingsdialog.cpp
19a20,40
> #if QT_VERSION < 0x030100
> /* original source from qt-3.2.1/src/widgets/qlistbox.cpp
> QListBoxItem* QListBox::selectedItem() const
> {
>     if ( d->selectionMode != Single )
> 	return 0;
>     if ( isSelected( currentItem() ) )
> 	return  d->current;
>     return 0;
> }
> */
> QListBoxItem* QListBox_selectedItem(QListBox* cpQListBox)
> {
>     if ( cpQListBox->selectionMode() != QListBox::Single )
>     return 0;
>     if ( cpQListBox->isSelected( cpQListBox->currentItem() ) )
>     return  cpQListBox->item(cpQListBox->currentItem());
>     return 0;
> }
> #endif
> 
49a71,73
> #if QT_VERSION < 0x030100
>     if( !QListBox_selectedItem(kdeListBox) ){
> #else
50a75
> #endif
Index: languages/cpp/pcsimporter/qtimporter/settingsdialog.cpp
===================================================================
RCS file: /home/kde/kdevelop/languages/cpp/pcsimporter/qtimporter/settingsdialog.cpp,v
retrieving revision 1.4
diff -r1.4 settingsdialog.cpp
19a20,40
> #if QT_VERSION < 0x030100
> /* original source from qt-3.2.1/src/widgets/qlistbox.cpp
> QListBoxItem* QListBox::selectedItem() const
> {
>     if ( d->selectionMode != Single )
> 	return 0;
>     if ( isSelected( currentItem() ) )
> 	return  d->current;
>     return 0;
> }
> */
> QListBoxItem* QListBox_selectedItem(QListBox* cpQListBox)
> {
>     if ( cpQListBox->selectionMode() != QListBox::Single )
>     return 0;
>     if ( cpQListBox->isSelected( cpQListBox->currentItem() ) )
>     return  cpQListBox->item(cpQListBox->currentItem());
>     return 0;
> }
> #endif
> 
44a66,68
> #if QT_VERSION < 0x030100
>     if( !QListBox_selectedItem(qtListBox) ){
> #else
45a70
> #endif
Index: lib/qextmdi/ktabbar.cpp
===================================================================
RCS file: /home/kde/kdevelop/lib/qextmdi/ktabbar.cpp,v
retrieving revision 1.1
diff -r1.1 ktabbar.cpp
34a35,51
> #if QT_VERSION < 0x030100
> void QRect_moveLeft (QRect* pcQRect, int pos) {
>   int x1,x2,y1,y2;
>   pcQRect->coords(&x1, &y1, &x2, &y2);
>   x2 += (pos - x1);
>   x1 = pos;
>   pcQRect->setCoords(x1, y1, x2, y2);
> }
> void QRect_moveTop (QRect* pcQRect, int pos) {
>   int x1,x2,y1,y2;
>   pcQRect->coords(&x1, &y1, &x2, &y2);
>   y2 += (pos - y1);
>   y1 = pos;
>   pcQRect->setCoords(x1, y1, x2, y2);
> }
> #endif
> 
192a210
> #if QT_VERSION >= 0x030100
194a213,216
> #else
>             QRect_moveLeft ( &rect, t->rect().left() + 2 + xoff );
>             QRect_moveTop ( &rect, t->rect().center().y()-pixmap.height()/2 + yoff );
> #endif
