[Kde-imaging] kdeextragear-libs-1/kipi-plugins/commentseditor

Gilles Caulier caulier.gilles at free.fr
Thu Jun 10 14:37:50 CEST 2004


CVS commit by cgilles: 

Fix icon name for ImageEditor plugin
CCMAIL: kde-imaging at kde.org


  M +12 -6     plugin_commentseditor.cpp   1.13


--- kdeextragear-libs-1/kipi-plugins/commentseditor/plugin_commentseditor.cpp  #1.12:1.13
@@ -20,4 +20,6 @@
  * ============================================================ */
 
+// KDE includes.
+
 #include <klocale.h>
 #include <kaction.h>
@@ -28,7 +30,11 @@
 #include <kmessagebox.h>
 
+// KIPI includes.
+
 #include <libkipi/interface.h>
 #include <libkipi/imagecollection.h>
 
+// Local includes.
+
 #include "plugin_commentseditor.h"
 #include "commentseditor.h"
@@ -38,11 +45,9 @@ K_EXPORT_COMPONENT_FACTORY( kipiplugin_c
                             Factory("kipiplugin_commentseditor"));
 
-Plugin_CommentsEditor::Plugin_CommentsEditor(QObject *parent,
-                                             const char*,
+Plugin_CommentsEditor::Plugin_CommentsEditor(QObject *parent, const char*,
                                              const QStringList &)
     : KIPI::Plugin( Factory::instance(), parent, "CommentsEditor")
 {
-    kdDebug( 51001 ) << "Plugin_CommentsEditor plugin loaded"
-                     << endl;
+    kdDebug( 51001 ) << "Plugin_CommentsEditor plugin loaded" << endl;
 }
 
@@ -51,6 +56,7 @@ void Plugin_CommentsEditor::setup( QWidg
 {
     KIPI::Plugin::setup( widget );
+
     action = new KAction (i18n("Comments Editor..."),
-                          "imagecomment", // PENDING(blackie) where is this image comming from?!
+                          "editclear",
                           0,
                           this,




More information about the Kde-imaging mailing list