[Kde-imaging] extragear/libs/kipi-plugins/metadataedit
Valerio Fuoglio
valerio.fuoglio at kdemail.net
Wed Nov 15 01:51:29 CET 2006
SVN commit 605020 by vfuoglio:
Used new KPAboutData
CCMAIL: kde-imaging at kde.org
M +1 -1 Makefile.am
M +6 -9 exifeditdialog.cpp
M +6 -9 iptceditdialog.cpp
--- trunk/extragear/libs/kipi-plugins/metadataedit/Makefile.am #605019:605020
@@ -23,7 +23,7 @@
$(LIBKIPI_LIBS) $(LIB_KDEUI) $(LIB_KHTML) $(LIB_KDECORE) $(LIB_QT)
# LD flags for the plugin
-kipiplugin_metadataedit_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
+kipiplugin_metadataedit_la_LDFLAGS = $(KIPI_PLUGINS_COMMON_LDFLAGS) -module $(KDE_PLUGIN) $(all_libraries) -lkipiplugins
# Install the desktop file needed to detect the plugin
kde_services_DATA = kipiplugin_metadataedit.desktop
--- trunk/extragear/libs/kipi-plugins/metadataedit/exifeditdialog.cpp #605019:605020
@@ -35,10 +35,10 @@
#include <kmessagebox.h>
#include <khelpmenu.h>
#include <kpopupmenu.h>
-#include <kaboutdata.h>
// Local includes.
+#include "kpaboutdata.h"
#include "pluginsversion.h"
#include "exiv2iface.h"
#include "exifcaption.h"
@@ -142,14 +142,11 @@
// ---------------------------------------------------------------
// About data and help button.
- KAboutData* about = new KAboutData("kipiplugins",
- I18N_NOOP("Edit Metadata"),
- kipiplugins_version,
- I18N_NOOP("A Plugin to edit pictures metadata"),
- KAboutData::License_GPL,
- "(c) 2006, Gilles Caulier",
- 0,
- "http://extragear.kde.org/apps/kipi");
+ KIPIPlugins::KPAboutData * about = new KIPIPlugins::KPAboutData(I18N_NOOP("Edit Metadata"),
+ NULL,
+ KAboutData::License_GPL,
+ I18N_NOOP("A Plugin to edit pictures metadata"),
+ "(c) 2006, Gilles Caulier");
about->addAuthor("Gilles Caulier", I18N_NOOP("Author and Maintainer"),
"caulier dot gilles at kdemail dot net");
--- trunk/extragear/libs/kipi-plugins/metadataedit/iptceditdialog.cpp #605019:605020
@@ -35,10 +35,10 @@
#include <kmessagebox.h>
#include <khelpmenu.h>
#include <kpopupmenu.h>
-#include <kaboutdata.h>
// Local includes.
+#include "kpaboutdata.h"
#include "pluginsversion.h"
#include "exiv2iface.h"
#include "iptccaption.h"
@@ -158,14 +158,11 @@
// ---------------------------------------------------------------
// About data and help button.
- KAboutData* about = new KAboutData("kipiplugins",
- I18N_NOOP("Edit Metadata"),
- kipiplugins_version,
- I18N_NOOP("A Plugin to edit pictures metadata"),
- KAboutData::License_GPL,
- "(c) 2006, Gilles Caulier",
- 0,
- "http://extragear.kde.org/apps/kipi");
+ KIPIPlugins::KPAboutData * about = new KIPIPlugins::KPAboutData(I18N_NOOP("Edit Metadata"),
+ NULL,
+ KAboutData::License_GPL,
+ I18N_NOOP("A Plugin to edit pictures metadata"),
+ "(c) 2006, Gilles Caulier");
about->addAuthor("Gilles Caulier", I18N_NOOP("Author and Maintainer"),
"caulier dot gilles at kdemail dot net");
More information about the Kde-imaging
mailing list