Revision 1189953
Go back to digest for 31st October 2010Optimization in KDE Base
Marco Martin committed changes in /trunk/KDE/kdebase/runtime/plasma/declarativeimports/core:
the previous way to have models didn't work for most engines:
some have many keys one for each item.
bind a new DataModel into QML that will be associated to a specific DataSource and a key pattern
an exact one like "items" of rss
or a partial regexp one like "KnowledgeBase-[\d]*" like the ocs engine
in this way is not necessary to change how those dataengine works and is possible to use them in QML without headaches
File Changes
Modified 5 files
- /trunk/KDE/kdebase/runtime/plasma/declarativeimports/core
- /corebindingsplugin.cpp
- /datamodel.cpp
- /datamodel.h
- /datasource.cpp
- /datasource_p.h
5 files changed in total