Update stats as proper signal, only return values from backend
This commit is contained in:
parent
0ff355737c
commit
ccd4a4dc17
4 changed files with 26 additions and 13 deletions
|
@ -35,6 +35,7 @@ Python {
|
|||
signal updatedPodcast(var podcast)
|
||||
signal episodeListChanged(int podcast_id)
|
||||
signal updatedEpisode(var episode)
|
||||
signal updateStats()
|
||||
|
||||
Component.onCompleted: {
|
||||
setHandler('hello', function (coreversion, uiversion) {
|
||||
|
@ -52,6 +53,7 @@ Python {
|
|||
setHandler('refreshing', function(v) { py.refreshing = v; });
|
||||
setHandler('episode-list-changed', py.episodeListChanged);
|
||||
setHandler('updated-episode', py.updatedEpisode);
|
||||
setHandler('update-stats', py.updateStats);
|
||||
|
||||
addImportPath(Qt.resolvedUrl('../..'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue