~kubuntu-members/perlqt/4.11

Viewing all changes in revision 495.

  • Committer: Chris Burel
  • Date: 2012-02-12 21:49:56 UTC
  • Revision ID: git-v1:01e35fa0865bb39aa50e2b13ee0fd7ff55885308
Add QMultiMap handler for the phonon qmusicplayer example.

It's a bit odd, because in C++ they save the result of MediaObject::metaData in
a QMap, even though the method returns a QMultiMap.  This works in C++ because
QMultiMap is a subclass, but there's no convenient way to do that in Perl.  So
it is left to the user of the method to get the first element of the array of
each hash key.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: