SVN commit 1202447 by mart: a proxy model to transform continuous items into paged media M +1 -0 CMakeLists.txt M +3 -0 mobilelauncher.cpp A models/pagedproxymodel.cpp [License: LGPL (v2+)] A models/pagedproxymodel.h [License: LGPL (v2+)] --- trunk/playground/base/plasma/shells/mobile/containments/mobilelauncher/CMakeLists.txt #1202446:1202447 @@ -5,6 +5,7 @@ mobilelauncher.cpp models/krunnermodel.cpp models/standarditemfactory.cpp + models/pagedproxymodel.cpp ) kde4_add_plugin(plasma_containment_mobilelauncher ${mobile_launcher_SRCS}) --- trunk/playground/base/plasma/shells/mobile/containments/mobilelauncher/mobilelauncher.cpp #1202446:1202447 @@ -21,6 +21,7 @@ //own #include "mobilelauncher.h" #include "models/krunnermodel.h" +#include "models/pagedproxymodel.h" //Qt @@ -42,6 +43,7 @@ #include +QML_DECLARE_TYPE(PagedProxyModel) MobileLauncher::MobileLauncher(QObject *parent, const QVariantList &args) : Containment(parent, args), @@ -52,6 +54,7 @@ // At some point it has to be a custom constainment setContainmentType(Containment::CustomContainment); + qmlRegisterType("MobileLauncher", 1, 0, "PagedProxyModel"); } MobileLauncher::~MobileLauncher()