[mythtv-commits] mythtv commit: r17857 by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Jul 18 11:04:28 UTC 2008


      Author: stuartm
        Date: 2008-07-18 11:04:28 +0000 (Fri, 18 Jul 2008)
New Revision: 17857
   Changeset: http://cvs.mythtv.org/trac/changeset/17857

Modified:

   trunk/mythtv/libs/libmythui/mythlistbutton.cpp
   trunk/mythtv/libs/libmythui/mythlistbutton.h
   trunk/mythtv/libs/libmythui/mythuibuttonlist.cpp
   trunk/mythtv/libs/libmythui/mythuibuttonlist.h

Log:

Replace the void pointer and QString storage in mythuibuttonlistitem with QVariant which allows us to store a much wider range of types and pointers.

"void* getData()" and "setData(void*)" are deprecated but remain for now, they are replaced with "QVariant GetData()" and "SetData(QVariant)". See the QT docs for more information.

Thanks to Isaac for pointing out QVariant.






More information about the mythtv-commits mailing list