diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2016-02-16 23:40:04 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2016-02-16 23:40:04 +0100 |
| commit | 07fb609095291f8d8544441925dea3d60d636f87 (patch) | |
| tree | f17f17badc7c0ad8f0147b8968bae91016244a97 /rockwork/ContentPeerPickerPage.qml | |
| parent | e54ee938a3e637f654b393f41ce2ad123d448639 (diff) | |
Moved qml to subdir to unbundle
Diffstat (limited to 'rockwork/ContentPeerPickerPage.qml')
| -rw-r--r-- | rockwork/ContentPeerPickerPage.qml | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/rockwork/ContentPeerPickerPage.qml b/rockwork/ContentPeerPickerPage.qml deleted file mode 100644 index 7ee9702..0000000 --- a/rockwork/ContentPeerPickerPage.qml +++ /dev/null @@ -1,41 +0,0 @@ -import QtQuick 2.4 -import Ubuntu.Components 1.3 -import Ubuntu.Content 1.3 -import RockWork 1.0 - -Page { - id: pickerPage - head { - locked: true - visible: false - } - - property alias contentType: contentPeerPicker.contentType - property string itemName - property alias handler: contentPeerPicker.handler - property string filename - - Component { - id: exportItemComponent - ContentItem { - name: pickerPage.itemName - } - } - ContentPeerPicker { - id: contentPeerPicker - anchors.fill: parent - - onCancelPressed: pageStack.pop() - - onPeerSelected: { - var transfer = peer.request(); - var items = []; - var item = exportItemComponent.createObject(); - item.url = "file://" + pickerPage.filename; - items.push(item) - transfer.items = items; - transfer.state = ContentTransfer.Charged; - pageStack.pop(); - } - } -} |
