Index: ipodexport/IpodExportDialog.cpp =================================================================== --- ipodexport/IpodExportDialog.cpp (revision 1138808) +++ ipodexport/IpodExportDialog.cpp (working copy) @@ -694,7 +694,7 @@ { QList selected = m_ipodAlbumList->selectedItems(); - foreach( QTreeWidgetItem *item, selected ) + Q_FOREACH( QTreeWidgetItem *item, selected ) { IpodAlbumItem *album = dynamic_cast( item ); if( album ) @@ -721,7 +721,7 @@ { if( filesPath.isEmpty() ) return; - foreach( const QString &dropFile, filesPath ) + Q_FOREACH( const QString &dropFile, filesPath ) { // TODO: Check if the new item already exist in the list. addUrlToList( dropFile ); Index: ipodexport/ImageList.cpp =================================================================== --- ipodexport/ImageList.cpp (revision 1138808) +++ ipodexport/ImageList.cpp (working copy) @@ -65,14 +65,14 @@ { QStringList filesPath; - foreach( const QUrl &u, urls ) + Q_FOREACH( const QUrl &u, urls ) { filesPath << u.path(); } if( !filesPath.isEmpty() ) { - emit signalAddedDropItems( filesPath ); + Q_EMIT signalAddedDropItems( filesPath ); } } Index: ipodexport/CMakeLists.txt =================================================================== --- ipodexport/CMakeLists.txt (revision 1138808) +++ ipodexport/CMakeLists.txt (working copy) @@ -10,6 +10,7 @@ ) KDE4_ADD_PLUGIN(kipiplugin_ipodexport ${kipiplugin_ipodexport_PART_SRCS}) +ADD_DEFINITIONS(-DQT_NO_KEYWORDS) TARGET_LINK_LIBRARIES(kipiplugin_ipodexport ${GOBJECT_LIBRARIES}