Hello community,

here is the log from the commit of package libyui-qt for openSUSE:Factory 
checked in at 2014-03-23 22:30:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-qt (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-qt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-qt/libyui-qt.changes      2014-03-21 
12:13:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libyui-qt.new/libyui-qt.changes 2014-03-23 
22:30:18.000000000 +0100
@@ -1,0 +2,17 @@
+Fri Mar 21 11:41:10 UTC 2014 - [email protected]
+
+- Fixed "QObject::connect: signal not found in YQCheckBox",
+  aka CheckBox not sending notifications (bnc#868374)
+- 2.46.3
+
+-------------------------------------------------------------------
+Thu Mar 15 18:33:41 CET 2014 - [email protected]
+
+- Fixed YQDateField and YQTimeField notification event
+- Fixed YTree item selection during items population,
+  old implementation ignored selected items.
+- Fixed YQTable item selected slot, if no items were selected
+  at creation, first slection was ignored
+- 2.46.2
+
+-------------------------------------------------------------------

Old:
----
  libyui-qt-2.46.1.tar.bz2

New:
----
  libyui-qt-2.46.3.tar.bz2

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

Other differences:
------------------
++++++ libyui-qt-doc.spec ++++++
--- /var/tmp/diff_new_pack.JUJxyI/_old  2014-03-23 22:30:18.000000000 +0100
+++ /var/tmp/diff_new_pack.JUJxyI/_new  2014-03-23 22:30:18.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt-doc
-Version:        2.46.1
+Version:        2.46.3
 Release:        0
 Source:         libyui-qt-%{version}.tar.bz2
 

++++++ libyui-qt.spec ++++++
--- /var/tmp/diff_new_pack.JUJxyI/_old  2014-03-23 22:30:18.000000000 +0100
+++ /var/tmp/diff_new_pack.JUJxyI/_new  2014-03-23 22:30:18.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt
-Version:        2.46.1
+Version:        2.46.3
 Release:        0
 Source:         libyui-qt-%{version}.tar.bz2
 

++++++ libyui-qt-2.46.1.tar.bz2 -> libyui-qt-2.46.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/ChangeLog 
new/libyui-qt-2.46.3/ChangeLog
--- old/libyui-qt-2.46.1/ChangeLog      2014-03-12 16:11:26.000000000 +0100
+++ new/libyui-qt-2.46.3/ChangeLog      2014-03-21 17:30:02.000000000 +0100
@@ -1,4 +1,21 @@
 -------------------------------------------------------------------
+Fri Mar 21 11:41:10 UTC 2014 - [email protected]
+
+- Fixed "QObject::connect: signal not found in YQCheckBox",
+  aka CheckBox not sending notifications (bnc#868374)
+- 2.46.3
+
+-------------------------------------------------------------------
+Thu Mar 15 18:33:41 CET 2014 - [email protected]
+
+- Fixed YQDateField and YQTimeField notification event
+- Fixed YTree item selection during items population,
+  old implementation ignored selected items.
+- Fixed YQTable item selected slot, if no items were selected
+  at creation, first slection was ignored
+- 2.46.2
+
+-------------------------------------------------------------------
 Wed Mar 12 14:52:56 UTC 2014 - [email protected]
 
 - Fixed "QFSFileEngine::open: No file name specified" (A Naselli)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/VERSION.cmake 
new/libyui-qt-2.46.3/VERSION.cmake
--- old/libyui-qt-2.46.1/VERSION.cmake  2014-03-12 16:11:26.000000000 +0100
+++ new/libyui-qt-2.46.3/VERSION.cmake  2014-03-21 17:30:02.000000000 +0100
@@ -1,6 +1,6 @@
 SET(VERSION_MAJOR "2")
 SET(VERSION_MINOR "46")
-SET(VERSION_PATCH "1")
+SET(VERSION_PATCH "3")
 SET( VERSION 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )
 
 ##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/src/YQCheckBox.cc 
new/libyui-qt-2.46.3/src/YQCheckBox.cc
--- old/libyui-qt-2.46.1/src/YQCheckBox.cc      2014-03-11 11:22:35.000000000 
+0100
+++ new/libyui-qt-2.46.3/src/YQCheckBox.cc      2014-03-21 17:30:02.000000000 
+0100
@@ -48,8 +48,8 @@
 
     QCheckBox::setChecked( checked );
 
-    connect( this,     &pclass(this)::stateChanged,
-            this,              &pclass(this)::stateChanged );
+    connect( this, &QCheckBox::stateChanged,
+             this, &YQCheckBox::stateChanged );
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/src/YQDateField.cc 
new/libyui-qt-2.46.3/src/YQDateField.cc
--- old/libyui-qt-2.46.1/src/YQDateField.cc     2014-02-21 15:05:58.000000000 
+0100
+++ new/libyui-qt-2.46.3/src/YQDateField.cc     2014-03-21 14:50:02.000000000 
+0100
@@ -32,6 +32,7 @@
 #include "utf8.h"
 #include "YQUI.h"
 #include "YQDateField.h"
+#include "YEvent.h"
 #include "YQWidgetCaption.h"
 
 
@@ -58,6 +59,9 @@
     _qt_dateEdit->setDisplayFormat( "yyyy-MM-dd" );
     _qt_dateEdit->setCalendarPopup(true);
     _caption->setBuddy( _qt_dateEdit );
+
+    connect( _qt_dateEdit, &QDateEdit::dateChanged,
+             this,         &YQDateField::changed);
 }
 
 
@@ -75,8 +79,9 @@
 
 void YQDateField::setValue( const std::string & newValue )
 {
-    _qt_dateEdit->setDate( QDate::fromString( fromUTF8( newValue ), 
Qt::ISODate ) );
-
+  _qt_dateEdit->blockSignals(true);
+  _qt_dateEdit->setDate( QDate::fromString( fromUTF8( newValue ), Qt::ISODate 
) );
+  _qt_dateEdit->blockSignals(false);
 }
 
 
@@ -119,6 +124,10 @@
     return true;
 }
 
-
+void YQDateField::changed ( const QDate& )
+{
+  if ( notify() )
+    YQUI::ui()->sendEvent( new YWidgetEvent( this, YEvent::ValueChanged ) );
+}
 
 #include "YQDateField.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/src/YQDateField.h 
new/libyui-qt-2.46.3/src/YQDateField.h
--- old/libyui-qt-2.46.1/src/YQDateField.h      2014-02-21 15:05:58.000000000 
+0100
+++ new/libyui-qt-2.46.3/src/YQDateField.h      2014-03-21 14:50:02.000000000 
+0100
@@ -109,6 +109,12 @@
      **/
     virtual bool setKeyboardFocus();
 
+private slots:
+    /**
+     * Date changed from input.
+     *
+     **/
+    void changed ( const QDate & );
 
 protected:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/src/YQTable.cc 
new/libyui-qt-2.46.3/src/YQTable.cc
--- old/libyui-qt-2.46.1/src/YQTable.cc 2014-03-11 11:22:35.000000000 +0100
+++ new/libyui-qt-2.46.3/src/YQTable.cc 2014-03-21 14:50:02.000000000 +0100
@@ -266,7 +266,7 @@
 void
 YQTable::selectOrigItem( QTreeWidgetItem * listViewItem )
 {
-    if ( listViewItem )
+  if ( listViewItem )
     {
        YQTableListViewItem * tableListViewItem = 
dynamic_cast<YQTableListViewItem *> (listViewItem);
        YUI_CHECK_PTR( tableListViewItem );
@@ -279,7 +279,7 @@
 void
 YQTable::slotSelected( QTreeWidgetItem * listViewItem  )
 {
-    if ( listViewItem && _qt_listView->selectedItems().count() > 0 )
+    if ( listViewItem )
        selectOrigItem( listViewItem );
     else
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/src/YQTimeField.cc 
new/libyui-qt-2.46.3/src/YQTimeField.cc
--- old/libyui-qt-2.46.1/src/YQTimeField.cc     2014-02-21 15:05:58.000000000 
+0100
+++ new/libyui-qt-2.46.3/src/YQTimeField.cc     2014-03-21 14:50:02.000000000 
+0100
@@ -31,6 +31,7 @@
 #include "utf8.h"
 #include "YQUI.h"
 #include "YQTimeField.h"
+#include "YEvent.h"
 #include "YQWidgetCaption.h"
 #include <QVBoxLayout>
 
@@ -56,6 +57,9 @@
     layout->addWidget( _qt_timeEdit );
 
     _caption->setBuddy( _qt_timeEdit );
+
+    connect( _qt_timeEdit, &QTimeEdit::timeChanged,
+             this,         &YQTimeField::changed);
 }
 
 
@@ -73,7 +77,9 @@
 
 void YQTimeField::setValue( const std::string & newValue )
 {
-    _qt_timeEdit->setTime(  QTime::fromString( fromUTF8( newValue ), 
Qt::ISODate ) );
+  _qt_timeEdit->blockSignals(true);
+  _qt_timeEdit->setTime(  QTime::fromString( fromUTF8( newValue ), Qt::ISODate 
) );
+  _qt_timeEdit->blockSignals(false);
 }
 
 
@@ -116,5 +122,11 @@
     return true;
 }
 
+void YQTimeField::changed ( const QTime& )
+{
+  if ( notify() )
+    YQUI::ui()->sendEvent( new YWidgetEvent( this, YEvent::ValueChanged ) );
+}
+
 
 #include "YQTimeField.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/src/YQTimeField.h 
new/libyui-qt-2.46.3/src/YQTimeField.h
--- old/libyui-qt-2.46.1/src/YQTimeField.h      2014-02-21 15:05:58.000000000 
+0100
+++ new/libyui-qt-2.46.3/src/YQTimeField.h      2014-03-21 14:50:02.000000000 
+0100
@@ -107,7 +107,13 @@
      **/
     virtual bool setKeyboardFocus();
 
-
+private slots:
+    /**
+     * Time changed from input.
+     *
+     **/
+    void changed ( const QTime &);
+    
 protected:
 
     YQWidgetCaption *  _caption;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.1/src/YQTree.cc 
new/libyui-qt-2.46.3/src/YQTree.cc
--- old/libyui-qt-2.46.1/src/YQTree.cc  2014-03-11 11:22:35.000000000 +0100
+++ new/libyui-qt-2.46.3/src/YQTree.cc  2014-03-21 14:50:02.000000000 +0100
@@ -144,6 +144,11 @@
            clone = new YQTreeItem( this, _qt_treeWidget, orig, _nextSerialNo++ 
);
 
        YUI_CHECK_NEW( clone );
+       
+       if (orig->selected())
+       {
+               selectItem(clone);
+       }
 
        if ( orig->hasChildren() )
            buildDisplayTree( clone, orig->childrenBegin(), orig->childrenEnd() 
);

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to