Hello community,
here is the log from the commit of package yast2-qt for openSUSE:Factory
checked in at Thu Feb 3 22:10:48 CET 2011.
--------
--- yast2-qt/yast2-qt.changes 2011-01-17 11:52:30.000000000 +0100
+++ yast2-qt/yast2-qt.changes 2011-02-03 17:09:44.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 3 17:09:08 CET 2011 - tgoettlicher@suse.de
+
+- Added ValueChanged event to TreeWidget
+- V 2.20.0
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-qt-2.19.8.tar.bz2
New:
----
yast2-qt-2.20.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-qt.spec ++++++
--- /var/tmp/diff_new_pack.7Vg8YK/_old 2011-02-03 22:09:44.000000000 +0100
+++ /var/tmp/diff_new_pack.7Vg8YK/_new 2011-02-03 22:09:44.000000000 +0100
@@ -18,11 +18,11 @@
Name: yast2-qt
-Version: 2.19.8
+Version: 2.20.0
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-qt-2.19.8.tar.bz2
+Source0: yast2-qt-2.20.0.tar.bz2
Group: System/YaST
License: GPLv2+
BuildRequires: docbook-xsl-stylesheets
@@ -41,8 +41,8 @@
Summary: YaST2 - Graphical User Interface
BuildRequires: yast2-devtools >= 2.16.3
#YIconLoader
-BuildRequires: yast2-libyui-devel >= 2.19.2
-Requires: yast2-libyui >= 2.19.2
+BuildRequires: yast2-libyui-devel >= 2.20.0
+Requires: yast2-libyui >= 2.20.0
Requires: yast2_theme >= 2.16.1
Provides: yast2_ui
Provides: y2base:/usr/lib/YaST2/servers/qt
++++++ yast2-qt-2.19.8.tar.bz2 -> yast2-qt-2.20.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.19.8/VERSION.cmake new/yast2-qt-2.20.0/VERSION.cmake
--- old/yast2-qt-2.19.8/VERSION.cmake 2011-01-17 11:51:37.000000000 +0100
+++ new/yast2-qt-2.20.0/VERSION.cmake 2011-02-03 17:10:51.000000000 +0100
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
-SET(VERSION_MINOR "19")
-SET(VERSION_PATCH "8")
+SET(VERSION_MINOR "20")
+SET(VERSION_PATCH "0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.19.8/package/yast2-qt.changes new/yast2-qt-2.20.0/package/yast2-qt.changes
--- old/yast2-qt-2.19.8/package/yast2-qt.changes 2011-01-17 11:51:37.000000000 +0100
+++ new/yast2-qt-2.20.0/package/yast2-qt.changes 2011-02-03 17:10:51.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Feb 3 17:09:08 CET 2011 - tgoettlicher@suse.de
+
+- Added ValueChanged event to TreeWidget
+- V 2.20.0
+
+-------------------------------------------------------------------
Mon Jan 17 11:50:38 CET 2011 - tgoettlicher@suse.de
- Fixed LogView's scroller
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.19.8/src/YQTree.cc new/yast2-qt-2.20.0/src/YQTree.cc
--- old/yast2-qt-2.19.8/src/YQTree.cc 2011-01-17 11:51:37.000000000 +0100
+++ new/yast2-qt-2.20.0/src/YQTree.cc 2011-02-03 17:10:51.000000000 +0100
@@ -98,8 +98,8 @@
connect( _qt_treeWidget, SIGNAL( itemSelectionChanged () ),
this, SLOT ( slotSelectionChanged () ) );
- connect( _qt_treeWidget, SIGNAL( itemClicked ( QTreeWidgetItem *, int ) ),
- this, SLOT ( slotSelectionChanged () ) );
+ connect( _qt_treeWidget, SIGNAL( itemChanged ( QTreeWidgetItem *, int ) ),
+ this, SLOT ( slotItemChanged () ) );
connect( _qt_treeWidget, SIGNAL( itemDoubleClicked( QTreeWidgetItem *, int ) ),
this, SLOT ( slotActivated ( QTreeWidgetItem * ) ) );
@@ -255,6 +255,14 @@
}
+void YQTree::slotItemChanged( )
+{
+ if ( notify() && ! YQUI::ui()->eventPendingFor( this ) )
+ YQUI::ui()->sendEvent( new YWidgetEvent( this, YEvent::ValueChanged ) );
+}
+
+
+
void YQTree::slotSelectionChanged( )
{
if ( hasMultiSelection() )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.19.8/src/YQTree.h new/yast2-qt-2.20.0/src/YQTree.h
--- old/yast2-qt-2.19.8/src/YQTree.h 2011-01-17 11:51:37.000000000 +0100
+++ new/yast2-qt-2.20.0/src/YQTree.h 2011-02-03 17:10:51.000000000 +0100
@@ -151,6 +151,13 @@
void slotSelectionChanged();
/**
+ * Propagate a tree item change.
+ *
+ * This will trigger a 'ValueChanged' event if 'notify' is set.
+ **/
+ void slotItemChanged();
+
+ /**
* Propagate a double click or pressing the space key on a tree item.
*
* This will trigger an 'Activated' event if 'notify' is set.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.19.8/src/YQWizard.cc new/yast2-qt-2.20.0/src/YQWizard.cc
--- old/yast2-qt-2.19.8/src/YQWizard.cc 2011-01-17 11:51:37.000000000 +0100
+++ new/yast2-qt-2.20.0/src/YQWizard.cc 2011-02-03 17:10:51.000000000 +0100
@@ -61,6 +61,7 @@
#include