~ubuntu-branches/ubuntu/trusty/content-hub/trusty-proposed

« back to all changes in this revision

Viewing changes to import/Ubuntu/Content/contenthub.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Ken VanDine, Robert Bruce Park, Guenter Schwann, Ubuntu daily release
  • Date: 2013-10-11 05:41:10 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20131011054110-6ncavqsr1vu5ad3u
Tags: 0.0+13.10.20131011-0ubuntu1
[ Ken VanDine ]
* Make libcontent-hub0 recommend content-hub .
* invoke the destination when the transfer is charged .
* Added a click hook, which iterates installed known peers, removing
  them when they are no longer installed and adding peers when needed.

[ Robert Bruce Park ]
* New component for the importer to indicate an ongoing transfer.

[ Guenter Schwann ]
* New component for the importer to indicate an ongoing transfer.
* Quit the source app on charged/abort when it was started by the
  content hub.

[ Ubuntu daily release ]
* Automatic snapshot from revision 60

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 * import Ubuntu.Content 0.1
43
43
 *
44
44
 * Rectangle {
 
45
 *     id: root
45
46
 *     Button {
46
47
 *         text: "Import from default"
47
48
 *          onClicked: {
57
58
 *              activeTransfer.start();
58
59
 *         }
59
60
 *     }
 
61
 *     ContentImportHint {
 
62
 *         id: importHint
 
63
 *         anchors.fill: parent
 
64
 *         activeTransfer: root.activeTransfer
 
65
 *     }
60
66
 *     property list<ContentItem> importItems
61
67
 *     property var activeTransfer
62
68
 *     Connections {
63
 
 *         target: activeTransfer
 
69
 *         target: root.activeTransfer
64
70
 *         onStateChanged: {
65
 
 *             if (activeTransfer.state === ContentTransfer.Charged)
66
 
 *                 importItmes = activeTransfer.items;
 
71
 *             if (root.activeTransfer.state === ContentTransfer.Charged)
 
72
 *                 importItmes = root.activeTransfer.items;
67
73
 *         }
68
74
 *     }
69
75
 * }