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

Gilles Caulier caulier.gilles at free.fr
Fri Jun 18 08:02:03 CEST 2004


CVS commit by cgilles: 

Fixed currentSelection to currentScope in according with Jesper.
Nota : No Change in WallPaper plugin because there is no scence : only one 
image can be push on the desktop background at the same time.

CCMAIL: kde-imaging at kde.org


  M +2 -2      jpeglossless/plugin_jpeglossless.cpp   1.12
  M +2 -2      timeadjust/plugin_timeadjust.cpp   1.10
  M +1 -0      wallpaper/plugin_wallpaper.cpp   1.11


--- kdeextragear-libs-1/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp  #1.11:1.12
@@ -148,5 +148,5 @@ void Plugin_JPEGLossless::setup( QWidget
 
     KIPI::Interface* interface = static_cast<KIPI::Interface*>( parent() );
-    KIPI::ImageCollection selection = interface->currentSelection();
+    KIPI::ImageCollection selection = interface->currentScope();
     m_action_Transform->setEnabled( selection.isValid() );
     
@@ -154,5 +154,5 @@ void Plugin_JPEGLossless::setup( QWidget
     m_progressDlg = 0;
     
-    connect( interface, SIGNAL( selectionChanged( bool ) ), 
+    connect( interface, SIGNAL( currentScopeChanged( bool ) ), 
              m_action_Transform, SLOT( setEnabled( bool ) ) );
 }

--- kdeextragear-libs-1/kipi-plugins/timeadjust/plugin_timeadjust.cpp  #1.9:1.10
@@ -69,8 +69,8 @@ void Plugin_TimeAdjust::setup( QWidget* 
     m_interface = dynamic_cast< KIPI::Interface* >( parent() );
     
-    KIPI::ImageCollection selection = m_interface->currentSelection();
+    KIPI::ImageCollection selection = m_interface->currentScope();
     m_actionTimeAjust->setEnabled( selection.isValid() );
 
-    connect( m_interface, SIGNAL(selectionChanged(bool)), 
+    connect( m_interface, SIGNAL(currentScopeChanged(bool)), 
              m_actionTimeAjust, SLOT(setEnabled(bool)));
 }




More information about the Kde-imaging mailing list