Common component: GPodderPodcastListModel

This commit is contained in:
Thomas Perl 2014-02-02 16:05:57 +01:00
parent 9d5fa93643
commit fa9586bbdb
2 changed files with 66 additions and 0 deletions

View file

@ -33,6 +33,9 @@ Python {
signal deleted(int episode_id)
signal isNewChanged(int episode_id, bool is_new)
signal stateChanged(int episode_id, int state)
signal podcastListChanged()
signal updatingPodcast(int podcast_id)
signal updatedPodcast(var podcast)
Component.onCompleted: {
setHandler('hello', function (version, copyright) {
@ -47,6 +50,9 @@ Python {
setHandler('deleted', py.deleted);
setHandler('is-new-changed', py.isNewChanged);
setHandler('state-changed', py.stateChanged);
setHandler('podcast-list-changed', py.podcastListChanged);
setHandler('updating-podcast', py.updatingPodcast);
setHandler('updated-podcast', py.updatedPodcast);
var path = Qt.resolvedUrl('../..').substr('file://'.length);
addImportPath(path);