Tom Schindl wrote:
>> Or did you mean to store arbitrary data? In which case, you could do
>> this using a custom property, e.g.
>>
>> q.setProperty("MyData", new Integer(0));
>>
>> Integer i = (Integer) q.property("MyData");
>>
>
> This is what I need thanks. Just an idea make it more Java 5 like
> QObject#property(String) could be defined like this:
> public <V> V property(String key)
> then the cast is inserted by the compiler and you can simply write:
> Integer i = q.property("MyData");
>
> Just an idea.
>
> Another one I outlined in one of my last posts is to provide QT-Jambi as
> OSGi-Bundles for automatic use in OSGi-based applications. Is there
> something like a Feature-Tracker where enhancements like this can get
> requested?
Hi Tom,
You can track this suggestion here:
http://trolltech.com/developer/task-tracker/index_html?id=232380&method=entry
It will be visible as soon as the task-tracker syncs its database.
best regards,
Gunnar
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest