Hello community,

here is the log from the commit of package kalzium for openSUSE:Factory checked 
in at 2014-01-27 11:15:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kalzium (Old)
 and      /work/SRC/openSUSE:Factory/.kalzium.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kalzium"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kalzium/kalzium.changes  2013-12-19 
13:16:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kalzium.new/kalzium.changes     2014-01-27 
11:15:34.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Jan 11 15:38:02 UTC 2014 - tittiatc...@gmail.com
+
+- Update to 4.12.1
+   * KDE 4.12.1  release
+   * See http://www.kde.org/announcements/announce-4.12.1.php
+
+-------------------------------------------------------------------

Old:
----
  kalzium-4.12.0.tar.xz

New:
----
  kalzium-4.12.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kalzium.spec ++++++
--- /var/tmp/diff_new_pack.9qVUGF/_old  2014-01-27 11:15:35.000000000 +0100
+++ /var/tmp/diff_new_pack.9qVUGF/_new  2014-01-27 11:15:35.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kalzium
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           kalzium
-Version:        4.12.0
+Version:        4.12.1
 Release:        0
 Summary:        Periodic Table of Elements
 License:        GPL-2.0+

++++++ kalzium-4.12.0.tar.xz -> kalzium-4.12.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalzium-4.12.0/src/spectrumviewimpl.cpp 
new/kalzium-4.12.1/src/spectrumviewimpl.cpp
--- old/kalzium-4.12.0/src/spectrumviewimpl.cpp 2013-11-27 23:03:24.000000000 
+0100
+++ new/kalzium-4.12.1/src/spectrumviewimpl.cpp 2013-12-28 18:22:54.000000000 
+0100
@@ -39,9 +39,9 @@
     m_spectrumType->setCurrentIndex( Prefs::spectrumType() );
 
     connect( minimumValue, SIGNAL(valueChanged(int)),
-             m_spectrumWidget, SLOT(setLeftBorder(int)) );
+             this, SLOT(updateMin(int)) );
     connect( maximumValue, SIGNAL(valueChanged(int)),
-             m_spectrumWidget, SLOT(setRightBorder(int)) );
+             this, SLOT(updateMax(int)) );
     connect( m_spectrumWidget, SIGNAL(bordersChanged(int,int)),
              this, SLOT(updateUI(int,int)) );
     connect( m_spectrumWidget, SIGNAL(peakSelected(Spectrum::peak*)),
@@ -113,5 +113,16 @@
     fillPeakList();
 }
 
+void SpectrumViewImpl::updateMin(int left)
+{
+    m_spectrumWidget->setRightBorder(maximumValue->value());
+    m_spectrumWidget->setLeftBorder(left);
+}
+
+void SpectrumViewImpl::updateMax(int right)
+{
+    m_spectrumWidget->setLeftBorder(minimumValue->value());
+    m_spectrumWidget->setRightBorder(right);
+}
 
 #include "spectrumviewimpl.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalzium-4.12.0/src/spectrumviewimpl.h 
new/kalzium-4.12.1/src/spectrumviewimpl.h
--- old/kalzium-4.12.0/src/spectrumviewimpl.h   2013-11-27 23:03:24.000000000 
+0100
+++ new/kalzium-4.12.1/src/spectrumviewimpl.h   2013-12-28 18:22:54.000000000 
+0100
@@ -58,6 +58,9 @@
 
     void setUnit();
 
+    void updateMin(int left);
+    void updateMax(int right);
+
 private:
     /**
      * filling the list of peaks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kalzium-4.12.0/src/spectrumwidget.h 
new/kalzium-4.12.1/src/spectrumwidget.h
--- old/kalzium-4.12.0/src/spectrumwidget.h     2013-11-27 23:03:24.000000000 
+0100
+++ new/kalzium-4.12.1/src/spectrumwidget.h     2013-12-28 18:22:54.000000000 
+0100
@@ -121,6 +121,32 @@
      */
     QColor wavelengthToRGB( double wavelength );
 
+    /**
+     * set the maximum value to @p value
+     */
+    void setRightBorder( int value ) {
+        if (value != m_endValue) {
+            m_endValue = value;
+            if ( m_endValue < m_startValue ) {
+                m_startValue = m_endValue-1;
+            }
+            update();
+        }
+    }
+
+    /**
+     * set the minimum value to @p value
+     */
+    void setLeftBorder( int value ) {
+        if (value != m_startValue) {
+            m_startValue = value;
+            if ( m_startValue > m_endValue ) {
+                m_endValue = m_startValue+1;
+            }
+            update();
+        }
+    }
+
 private:
     QList<double> m_spectra;
 
@@ -160,32 +186,6 @@
     void resetSpectrum();
 
     /**
-     * set the maximum value to @p value
-     */
-    void setRightBorder( int value ) {
-        if (value != m_endValue) {
-            m_endValue = value;
-            if ( m_endValue < m_startValue ) {
-                m_startValue = m_endValue-1;
-            }
-            update();
-        }
-    }
-
-    /**
-     * set the minimum value to @p value
-     */
-    void setLeftBorder( int value ) {
-        if (value != m_startValue) {
-            m_startValue = value;
-            if ( m_startValue > m_endValue ) {
-                m_endValue = m_startValue+1;
-            }
-            update();
-        }
-    }
-
-    /**
      * activates the spectrum of the type @p spectrumtype
      */
     void slotActivateSpectrum( int spectrumtype ) {

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to