summaryrefslogtreecommitdiffstats
path: root/kde/kipi-plugins/ipodexport_no_keywords.patch
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-07-30 15:22:34 +0200
committersibel <lesibel at free dot fr>2010-07-30 15:22:34 +0200
commit79a5e969e7a1e8758ef6aa2daef673ccff32a7ba (patch)
tree90be5b7b516283ebaba4801415ca210864fa6422 /kde/kipi-plugins/ipodexport_no_keywords.patch
parent7e04694f502fd3dd73277c99a91963ff96c193b8 (diff)
downloadnutyx-pakxe-79a5e969e7a1e8758ef6aa2daef673ccff32a7ba.tar.gz
nutyx-pakxe-79a5e969e7a1e8758ef6aa2daef673ccff32a7ba.tar.bz2
nutyx-pakxe-79a5e969e7a1e8758ef6aa2daef673ccff32a7ba.tar.xz
nutyx-pakxe-79a5e969e7a1e8758ef6aa2daef673ccff32a7ba.zip
maj de kipi-plugins#1.3.0-2 (avec support iPod)
Diffstat (limited to 'kde/kipi-plugins/ipodexport_no_keywords.patch')
-rw-r--r--kde/kipi-plugins/ipodexport_no_keywords.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/kde/kipi-plugins/ipodexport_no_keywords.patch b/kde/kipi-plugins/ipodexport_no_keywords.patch
new file mode 100644
index 000000000..1ae92747d
--- /dev/null
+++ b/kde/kipi-plugins/ipodexport_no_keywords.patch
@@ -0,0 +1,55 @@
+Index: ipodexport/IpodExportDialog.cpp
+===================================================================
+--- ipodexport/IpodExportDialog.cpp (revision 1138808)
++++ ipodexport/IpodExportDialog.cpp (working copy)
+@@ -694,7 +694,7 @@
+ {
+ QList<QTreeWidgetItem*> selected = m_ipodAlbumList->selectedItems();
+
+- foreach( QTreeWidgetItem *item, selected )
++ Q_FOREACH( QTreeWidgetItem *item, selected )
+ {
+ IpodAlbumItem *album = dynamic_cast<IpodAlbumItem*>( 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}