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 - mvidner@suse.com
+
+- 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 - anaselli@linux.it
+
+- 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 - mvidner@suse.com
+
+- 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 - anaselli@linux.it
+
+- 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 - mvidner@suse.com
- 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