Go to file
Giuseppe D'Angelo cada1fb4ef Add QComboBox::currentData
Convenience function that returns user data for the current item,
analogous to currentText().

This avoids to having to write the cumbersome

  QVariant variant = comboBox->itemData(comboBox->currentIndex());

(It's quite common to put strings as text and the corresponding
enum values as user data.)

Change-Id: I8c7632c647c5583d18e4e22703aeb4447d73162d
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2013-05-27 15:19:41 +02:00
bin get rid of syncqt wrapper scripts 2013-05-13 21:54:48 +02:00
config.tests Add xcb-xkb to 3rd party libs 2013-05-07 22:43:14 +02:00
dist Merge remote-tracking branch 'origin/stable' into dev 2013-05-23 21:27:07 +02:00
doc Update Urls to CMake docs. 2013-05-20 12:06:48 +02:00
examples Merge remote-tracking branch 'origin/stable' into dev 2013-05-23 21:27:07 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Merge remote-tracking branch 'origin/stable' into dev 2013-05-23 21:27:07 +02:00
qmake Merge remote-tracking branch 'origin/stable' into dev 2013-05-23 21:27:07 +02:00
src Add QComboBox::currentData 2013-05-27 15:19:41 +02:00
tests Add QComboBox::currentData 2013-05-27 15:19:41 +02:00
tools Merge remote-tracking branch 'origin/stable' into dev 2013-05-23 21:27:07 +02:00
util Don't show a separate inspector for child windows. 2013-04-23 07:45:22 +02:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore tst_qdbusabstractinterface: generate interface at compile time 2013-05-09 12:35:39 +02:00
.qmake.conf require modules to define their version 2013-03-06 18:01:13 +01:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure Merge remote-tracking branch 'origin/stable' into dev 2013-05-23 21:27:07 +02:00
configure.bat get rid of syncqt wrapper scripts 2013-05-13 21:54:48 +02:00
header.BSD Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.FDL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL-ONLY Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
INSTALL INSTALL: Fix URL of Installing Qt documentation 2013-04-11 16:09:07 +02:00
LGPL_EXCEPTION.txt Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
LICENSE.PREVIEW.COMMERCIAL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtbase.pro always create qt_tool_syncqt.pri when shadow-building 2013-05-15 05:06:15 +02:00
sync.profile Hide Harfbuzz from the outer world 2013-03-13 14:46:26 +01:00