Skip to content

Commit

Permalink
[homescreen] Add support for folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjones committed May 6, 2014
1 parent aadbf35 commit 76cfeb4
Show file tree
Hide file tree
Showing 11 changed files with 709 additions and 9 deletions.
4 changes: 4 additions & 0 deletions plugin/lipstickplugin.cpp
Expand Up @@ -20,6 +20,7 @@
#include <components/launcheritem.h> #include <components/launcheritem.h>
#include <components/launchermodel.h> #include <components/launchermodel.h>
#include <components/launcherwatchermodel.h> #include <components/launcherwatchermodel.h>
#include <components/launcherfoldermodel.h>
#include <notifications/notificationpreviewpresenter.h> #include <notifications/notificationpreviewpresenter.h>
#include <notifications/notificationfeedbackplayer.h> #include <notifications/notificationfeedbackplayer.h>
#include <notifications/notificationlistmodel.h> #include <notifications/notificationlistmodel.h>
Expand Down Expand Up @@ -52,6 +53,9 @@ void LipstickPlugin::registerTypes(const char *uri)
qmlRegisterType<NotificationListModel>("org.nemomobile.lipstick", 0, 1, "NotificationListModel"); qmlRegisterType<NotificationListModel>("org.nemomobile.lipstick", 0, 1, "NotificationListModel");
qmlRegisterType<LipstickNotification>("org.nemomobile.lipstick", 0, 1, "Notification"); qmlRegisterType<LipstickNotification>("org.nemomobile.lipstick", 0, 1, "Notification");
qmlRegisterType<LauncherItem>("org.nemomobile.lipstick", 0, 1, "LauncherItem"); qmlRegisterType<LauncherItem>("org.nemomobile.lipstick", 0, 1, "LauncherItem");
qmlRegisterType<LauncherFolderModel>("org.nemomobile.lipstick", 0, 1, "LauncherFolderModel");
qmlRegisterType<LauncherFolderItem>("org.nemomobile.lipstick", 0, 1, "LauncherFolderItem");

qmlRegisterUncreatableType<NotificationPreviewPresenter>("org.nemomobile.lipstick", 0, 1, "NotificationPreviewPresenter", "This type is initialized by HomeApplication"); qmlRegisterUncreatableType<NotificationPreviewPresenter>("org.nemomobile.lipstick", 0, 1, "NotificationPreviewPresenter", "This type is initialized by HomeApplication");
qmlRegisterUncreatableType<NotificationFeedbackPlayer>("org.nemomobile.lipstick", 0, 1, "NotificationFeedbackPlayer", "This type is initialized by HomeApplication"); qmlRegisterUncreatableType<NotificationFeedbackPlayer>("org.nemomobile.lipstick", 0, 1, "NotificationFeedbackPlayer", "This type is initialized by HomeApplication");
qmlRegisterUncreatableType<VolumeControl>("org.nemomobile.lipstick", 0, 1, "VolumeControl", "This type is initialized by HomeApplication"); qmlRegisterUncreatableType<VolumeControl>("org.nemomobile.lipstick", 0, 1, "VolumeControl", "This type is initialized by HomeApplication");
Expand Down

0 comments on commit 76cfeb4

Please sign in to comment.