[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/kipi-plugins/smug
From:       Andi Clemens <andi.clemens () gmx ! net>
Date:       2009-08-06 16:14:42
Message-ID: 1249575282.663486.1969.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1007977 by aclemens:

Add new ImagesList widget to Smug plugin

 M  +5 -5      smugwidget.cpp  


--- trunk/extragear/graphics/kipi-plugins/smug/smugwidget.cpp #1007976:1007977
@@ -4,7 +4,7 @@
  * http://www.kipi-plugins.org
  *
  * Date        : 2008-12-01
- * Description : a kipi plugin to import/export images to/from 
+ * Description : a kipi plugin to import/export images to/from
                  SmugMug web service
  *
  * Copyright (C) 2008-2009 by Luka Renko <lure at kubuntu dot org>
@@ -60,8 +60,8 @@
 
     // -------------------------------------------------------------------
 
-    m_imgList  = new KIPIPlugins::ImagesList(iface, this, 
-                                  KIPIPlugins::ImagesList::ControlButtonsBelow);
+    m_imgList  = new KIPIPlugins::ImagesList(iface, this);
+    m_imgList->setControlButtonsPlacement(KIPIPlugins::ImagesList::ControlButtonsBelow);
     m_imgList->setAllowRAW(true);
     m_imgList->loadImagesFromCurrentSelection();
     m_imgList->listView()->setWhatsThis(
@@ -135,7 +135,7 @@
             KGuiItem(i18n("New Album"), "list-add",
                      i18n("Create new SmugMug album")), accountBox);
     m_reloadAlbumsBtn   = new KPushButton(
-            KGuiItem(i18n("Reload"), "view-refresh", 
+            KGuiItem(i18n("Reload"), "view-refresh",
                      i18n("Reload album list")), accountBox);
 
     albumsBoxLayout->addWidget(m_albumsCoB,         0, 0, 1, 5);
@@ -226,7 +226,7 @@
 
     // ------------------------------------------------------------------------
 
-    if (import) 
+    if (import)
     {
         m_imgList->hide();
         m_newAlbumBtn->hide();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic