Merge lp:~ken-vandine/content-hub/out_of_process_picker into lp:content-hub
- out_of_process_picker
- Merge into trunk
Status: | Needs review |
---|---|
Proposed branch: | lp:~ken-vandine/content-hub/out_of_process_picker |
Merge into: | lp:content-hub |
Diff against target: |
2302 lines (+1104/-15) (has conflicts) 92 files modified
debian/content-hub.install (+2/-0) examples/importer/exampleimporter.cpp (+8/-0) examples/importer/exampleimporter.h (+1/-0) examples/picker-qml/picker.qml (+4/-14) import/Ubuntu/Content/contenthub.cpp (+43/-0) import/Ubuntu/Content/contenthub.h (+6/-0) include/com/ubuntu/content/hub.h (+4/-0) po/aa.po (+5/-0) po/am.po (+5/-0) po/ar.po (+5/-0) po/ast.po (+5/-0) po/az.po (+5/-0) po/be.po (+5/-0) po/bg.po (+5/-0) po/br.po (+5/-0) po/bs.po (+5/-0) po/ca.po (+5/-0) po/ca@valencia.po (+5/-0) po/cs.po (+5/-0) po/cy.po (+5/-0) po/da.po (+5/-0) po/de.po (+5/-0) po/el.po (+5/-0) po/en_AU.po (+5/-0) po/en_GB.po (+5/-0) po/eo.po (+5/-0) po/es.po (+5/-0) po/et.po (+5/-0) po/eu.po (+5/-0) po/fa.po (+5/-0) po/fi.po (+5/-0) po/fo.po (+5/-0) po/fr.po (+5/-0) po/fr_CA.po (+5/-0) po/ga.po (+5/-0) po/gd.po (+5/-0) po/gl.po (+5/-0) po/he.po (+5/-0) po/hr.po (+5/-0) po/hu.po (+5/-0) po/ia.po (+5/-0) po/id.po (+5/-0) po/is.po (+5/-0) po/it.po (+5/-0) po/ja.po (+5/-0) po/kk.po (+5/-0) po/km.po (+5/-0) po/kn.po (+5/-0) po/ko.po (+5/-0) po/lv.po (+5/-0) po/ms.po (+5/-0) po/my.po (+5/-0) po/nb.po (+5/-0) po/ne.po (+5/-0) po/nl.po (+5/-0) po/oc.po (+5/-0) po/om.po (+5/-0) po/pa.po (+5/-0) po/pl.po (+5/-0) po/pt.po (+5/-0) po/pt_BR.po (+5/-0) po/ro.po (+5/-0) po/ru.po (+5/-0) po/si.po (+5/-0) po/sk.po (+5/-0) po/sl.po (+5/-0) po/sq.po (+5/-0) po/sr.po (+5/-0) po/sv.po (+5/-0) po/ta.po (+5/-0) po/th.po (+5/-0) po/tr.po (+5/-0) po/ug.po (+5/-0) po/uk.po (+5/-0) po/vi.po (+5/-0) po/zh_CN.po (+5/-0) po/zh_HK.po (+5/-0) po/zh_TW.po (+5/-0) src/com/ubuntu/content/common.h (+2/-0) src/com/ubuntu/content/detail/com.ubuntu.content.Service.xml (+13/-0) src/com/ubuntu/content/detail/service.cpp (+23/-0) src/com/ubuntu/content/detail/service.h (+3/-0) src/com/ubuntu/content/hub.cpp (+22/-0) tools/CMakeLists.txt (+2/-1) tools/peer-picker/CMakeLists.txt (+45/-0) tools/peer-picker/ContentPageHeader.qml (+97/-0) tools/peer-picker/PeerPicker.qml (+243/-0) tools/peer-picker/ResponsiveGridView.qml (+92/-0) tools/peer-picker/content-hub-peer-picker.desktop (+12/-0) tools/peer-picker/main.cpp (+62/-0) tools/peer-picker/main.qml (+56/-0) tools/peer-picker/qml.qrc (+9/-0) Text conflict in po/aa.po Text conflict in po/am.po Text conflict in po/ar.po Text conflict in po/ast.po Text conflict in po/az.po Text conflict in po/be.po Text conflict in po/bg.po Text conflict in po/br.po Text conflict in po/bs.po Text conflict in po/ca.po Text conflict in po/ca@valencia.po Text conflict in po/cs.po Text conflict in po/cy.po Text conflict in po/da.po Text conflict in po/de.po Text conflict in po/el.po Text conflict in po/en_AU.po Text conflict in po/en_GB.po Text conflict in po/eo.po Text conflict in po/es.po Text conflict in po/et.po Text conflict in po/eu.po Text conflict in po/fa.po Text conflict in po/fi.po Text conflict in po/fo.po Text conflict in po/fr.po Text conflict in po/fr_CA.po Text conflict in po/ga.po Text conflict in po/gd.po Text conflict in po/gl.po Text conflict in po/he.po Text conflict in po/hr.po Text conflict in po/hu.po Text conflict in po/ia.po Text conflict in po/id.po Text conflict in po/is.po Text conflict in po/it.po Text conflict in po/ja.po Text conflict in po/kk.po Text conflict in po/km.po Text conflict in po/kn.po Text conflict in po/ko.po Text conflict in po/lv.po Text conflict in po/ms.po Text conflict in po/my.po Text conflict in po/nb.po Text conflict in po/ne.po Text conflict in po/nl.po Text conflict in po/oc.po Text conflict in po/om.po Text conflict in po/pa.po Text conflict in po/pl.po Text conflict in po/pt.po Text conflict in po/pt_BR.po Text conflict in po/ro.po Text conflict in po/ru.po Text conflict in po/si.po Text conflict in po/sk.po Text conflict in po/sl.po Text conflict in po/sq.po Text conflict in po/sr.po Text conflict in po/sv.po Text conflict in po/ta.po Text conflict in po/th.po Text conflict in po/tr.po Text conflict in po/ug.po Text conflict in po/uk.po Text conflict in po/vi.po Text conflict in po/zh_CN.po Text conflict in po/zh_HK.po Text conflict in po/zh_TW.po |
To merge this branch: | bzr merge lp:~ken-vandine/content-hub/out_of_process_picker |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
system-apps-ci-bot | continuous-integration | Needs Fixing | |
Ubuntu Phablet Team | Pending | ||
Review via email: mp+309761@code.launchpad.net |
Commit message
Out of process peer picker
Description of the change
Out of process peer picker
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
- 315. By Ken VanDine
-
peer picker improvements
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:315
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
- 316. By Ken VanDine
-
Use button to request transfer
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:316
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
Unmerged revisions
- 316. By Ken VanDine
-
Use button to request transfer
Preview Diff
1 | === modified file 'debian/content-hub.install' |
2 | --- debian/content-hub.install 2015-10-16 17:34:01 +0000 |
3 | +++ debian/content-hub.install 2016-11-04 14:22:30 +0000 |
4 | @@ -1,3 +1,4 @@ |
5 | +usr/bin/content-hub-peer-picker |
6 | usr/bin/content-hub-send |
7 | usr/bin/content-hub-service |
8 | usr/lib/*/content-hub |
9 | @@ -6,5 +7,6 @@ |
10 | usr/share/glib-2.0/schemas |
11 | usr/share/locale/*/LC_MESSAGES/content-hub.mo |
12 | usr/share/applications/content-hub-send.desktop |
13 | +usr/share/applications/content-hub-peer-picker.desktop |
14 | usr/share/url-dispatcher/urls/content-hub-send.url-dispatcher |
15 | usr/share/content-hub/icons |
16 | |
17 | === modified file 'examples/importer/exampleimporter.cpp' |
18 | --- examples/importer/exampleimporter.cpp 2016-05-31 19:50:24 +0000 |
19 | +++ examples/importer/exampleimporter.cpp 2016-11-04 14:22:30 +0000 |
20 | @@ -23,6 +23,14 @@ |
21 | { |
22 | auto hub = cuc::Hub::Client::instance(); |
23 | hub->register_import_export_handler(this); |
24 | + QObject::connect(hub, SIGNAL(peerSelected(QString)), |
25 | + this, |
26 | + SLOT(onPeerSelected(QString))); |
27 | +} |
28 | + |
29 | +void ExampleImporter::onPeerSelected(QString peer_id) |
30 | +{ |
31 | + qDebug() << Q_FUNC_INFO << peer_id; |
32 | } |
33 | |
34 | void ExampleImporter::handle_import(cuc::Transfer *transfer) |
35 | |
36 | === modified file 'examples/importer/exampleimporter.h' |
37 | --- examples/importer/exampleimporter.h 2016-05-31 19:50:24 +0000 |
38 | +++ examples/importer/exampleimporter.h 2016-11-04 14:22:30 +0000 |
39 | @@ -35,6 +35,7 @@ |
40 | Q_INVOKABLE void handle_import(cuc::Transfer*); |
41 | Q_INVOKABLE void handle_export(cuc::Transfer*); |
42 | Q_INVOKABLE void handle_share(cuc::Transfer*); |
43 | + Q_INVOKABLE void onPeerSelected(QString); |
44 | }; |
45 | |
46 | #endif // EXAMPLEIMPORTER_H |
47 | |
48 | === modified file 'examples/picker-qml/picker.qml' |
49 | --- examples/picker-qml/picker.qml 2014-03-16 11:12:16 +0000 |
50 | +++ examples/picker-qml/picker.qml 2016-11-04 14:22:30 +0000 |
51 | @@ -38,7 +38,7 @@ |
52 | control: Button { |
53 | text: i18n.tr("Select source") |
54 | onClicked: { |
55 | - pageStack.push(picker); |
56 | + ContentHub.requestPeerForType(ContentType.Pictures, ContentHandler.Source); |
57 | } |
58 | } |
59 | } |
60 | @@ -105,21 +105,11 @@ |
61 | id: picker |
62 | visible: false |
63 | |
64 | - ContentPeerPicker { |
65 | - visible: parent.visible |
66 | - |
67 | - // Type of handler: Source, Destination, or Share |
68 | - handler: ContentHandler.Source |
69 | - // well know content type |
70 | - contentType: ContentType.Pictures |
71 | - |
72 | + Connections { |
73 | + target: ContentHub |
74 | onPeerSelected: { |
75 | + console.debug("onPeerSelected: " + peer); |
76 | root.activeTransfer = peer.request(); |
77 | - pageStack.pop(); |
78 | - } |
79 | - |
80 | - onCancelPressed: { |
81 | - pageStack.pop(); |
82 | } |
83 | } |
84 | } |
85 | |
86 | === modified file 'import/Ubuntu/Content/contenthub.cpp' |
87 | --- import/Ubuntu/Content/contenthub.cpp 2015-08-21 14:49:38 +0000 |
88 | +++ import/Ubuntu/Content/contenthub.cpp 2016-11-04 14:22:30 +0000 |
89 | @@ -133,6 +133,23 @@ |
90 | this, SLOT(handleExport(com::ubuntu::content::Transfer*))); |
91 | connect(m_handler, SIGNAL(shareRequested(com::ubuntu::content::Transfer*)), |
92 | this, SLOT(handleShare(com::ubuntu::content::Transfer*))); |
93 | + connect(m_hub, SIGNAL(peerSelected(QString)), |
94 | + this, |
95 | + SLOT(onPeerSelected(QString))); |
96 | +} |
97 | + |
98 | +void ContentHub::selectPeerForAppId(QString app_id, QString peer_id) |
99 | +{ |
100 | + TRACE() << Q_FUNC_INFO << app_id << peer_id; |
101 | + m_hub->selectPeerForAppId(app_id, peer_id); |
102 | +} |
103 | + |
104 | +void ContentHub::onPeerSelected(QString peer_id) |
105 | +{ |
106 | + TRACE() << Q_FUNC_INFO << peer_id; |
107 | + ContentPeer peer; |
108 | + peer.setAppId(peer_id); |
109 | + Q_EMIT(peerSelected(&peer)); |
110 | } |
111 | |
112 | ContentHub *ContentHub::instance() |
113 | @@ -316,6 +333,26 @@ |
114 | } |
115 | |
116 | /*! |
117 | + * \brief ContentHub::requestPeerForType raises the peer picker |
118 | + * peerSelected is emitted when a peer is selected in the peer picker |
119 | + * \a type |
120 | + */ |
121 | +//void ContentHub::requestPeerForType(ContentType::Type contentType, ContentHandler::Handler handler) |
122 | +void ContentHub::requestPeerForType(int contentType, int handler) |
123 | +{ |
124 | + TRACE() << Q_FUNC_INFO; |
125 | + const cuc::Type &hubType = ContentType::contentType2HubType(contentType); |
126 | + QString handler_id; |
127 | + if (handler == ContentHandler::Source) |
128 | + handler_id = "source"; |
129 | + else if (handler == ContentHandler::Share) |
130 | + handler_id = "share"; |
131 | + else |
132 | + handler_id = "destination"; |
133 | + m_hub->requestPeerForType(hubType, handler_id); |
134 | +} |
135 | + |
136 | +/*! |
137 | * \qmlsignal ContentHub::importRequested(ContentTransfer transfer) |
138 | * |
139 | * The signal is triggered when an import is requested. |
140 | @@ -333,3 +370,9 @@ |
141 | * The signal is triggered when a share is requested. |
142 | */ |
143 | |
144 | +/*! |
145 | + * \qmlsignal ContentHub::peerSelected(QString peer_id) |
146 | + * |
147 | + * The signal is emitted when the user selects a peer. |
148 | + */ |
149 | + |
150 | |
151 | === modified file 'import/Ubuntu/Content/contenthub.h' |
152 | --- import/Ubuntu/Content/contenthub.h 2015-08-20 15:54:52 +0000 |
153 | +++ import/Ubuntu/Content/contenthub.h 2016-11-04 14:22:30 +0000 |
154 | @@ -21,6 +21,7 @@ |
155 | #include <QList> |
156 | #include <QObject> |
157 | #include <QQmlListProperty> |
158 | +#include "contenthandler.h" |
159 | #include "contentpeer.h" |
160 | #include "contenttransfer.h" |
161 | |
162 | @@ -59,18 +60,23 @@ |
163 | Q_INVOKABLE ContentTransfer* exportContent(com::ubuntu::content::Peer peer, ContentType::Type type); |
164 | Q_INVOKABLE ContentTransfer* shareContent(com::ubuntu::content::Peer peer, ContentType::Type type); |
165 | |
166 | + Q_INVOKABLE void requestPeerForType(int, int); |
167 | + Q_INVOKABLE void selectPeerForAppId(QString, QString); |
168 | + |
169 | Q_SIGNALS: |
170 | void importRequested(ContentTransfer *transfer); |
171 | void exportRequested(ContentTransfer *transfer); |
172 | void shareRequested(ContentTransfer *transfer); |
173 | |
174 | void finishedImportsChanged(); |
175 | + void peerSelected(ContentPeer* peer); |
176 | |
177 | private Q_SLOTS: |
178 | void handleImport(com::ubuntu::content::Transfer* transfer); |
179 | void handleExport(com::ubuntu::content::Transfer* transfer); |
180 | void handleShare(com::ubuntu::content::Transfer* transfer); |
181 | void updateState(); |
182 | + void onPeerSelected(QString); |
183 | |
184 | private: |
185 | QList<ContentTransfer *> m_finishedImports; |
186 | |
187 | === modified file 'include/com/ubuntu/content/hub.h' |
188 | --- include/com/ubuntu/content/hub.h 2016-08-24 20:23:44 +0000 |
189 | +++ include/com/ubuntu/content/hub.h 2016-11-04 14:22:30 +0000 |
190 | @@ -70,6 +70,8 @@ |
191 | Q_INVOKABLE virtual Transfer* create_share_to_peer_for_type(Peer peer, Type type); |
192 | Q_INVOKABLE virtual bool has_pending(QString peer_id); |
193 | Q_INVOKABLE virtual Peer peer_for_app_id(QString app_id); |
194 | + Q_INVOKABLE virtual void requestPeerForType(Type type, QString handler_id); |
195 | + Q_INVOKABLE virtual void selectPeerForAppId(QString app_id, QString peer_id); |
196 | |
197 | /// |
198 | // Copy & Paste |
199 | @@ -90,9 +92,11 @@ |
200 | Q_SIGNALS: |
201 | void pasteFormatsChanged(); |
202 | void pasteboardChanged(); |
203 | + void peerSelected(QString); |
204 | |
205 | private Q_SLOTS: |
206 | void onPasteFormatsChanged(const QStringList &); |
207 | + void onPeerSelected(const QString &, const QString &); |
208 | protected: |
209 | Hub(QObject* = nullptr); |
210 | |
211 | |
212 | === modified file 'po/aa.po' |
213 | --- po/aa.po 2016-11-03 06:11:46 +0000 |
214 | +++ po/aa.po 2016-11-04 14:22:30 +0000 |
215 | @@ -14,8 +14,13 @@ |
216 | "MIME-Version: 1.0\n" |
217 | "Content-Type: text/plain; charset=UTF-8\n" |
218 | "Content-Transfer-Encoding: 8bit\n" |
219 | +<<<<<<< TREE |
220 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
221 | "X-Generator: Launchpad (build 18246)\n" |
222 | +======= |
223 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
224 | +"X-Generator: Launchpad (build 18204)\n" |
225 | +>>>>>>> MERGE-SOURCE |
226 | |
227 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
228 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
229 | |
230 | === modified file 'po/am.po' |
231 | --- po/am.po 2016-11-03 06:11:46 +0000 |
232 | +++ po/am.po 2016-11-04 14:22:30 +0000 |
233 | @@ -14,8 +14,13 @@ |
234 | "MIME-Version: 1.0\n" |
235 | "Content-Type: text/plain; charset=UTF-8\n" |
236 | "Content-Transfer-Encoding: 8bit\n" |
237 | +<<<<<<< TREE |
238 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
239 | "X-Generator: Launchpad (build 18246)\n" |
240 | +======= |
241 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
242 | +"X-Generator: Launchpad (build 18204)\n" |
243 | +>>>>>>> MERGE-SOURCE |
244 | |
245 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
246 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
247 | |
248 | === modified file 'po/ar.po' |
249 | --- po/ar.po 2016-11-03 06:11:46 +0000 |
250 | +++ po/ar.po 2016-11-04 14:22:30 +0000 |
251 | @@ -14,8 +14,13 @@ |
252 | "MIME-Version: 1.0\n" |
253 | "Content-Type: text/plain; charset=UTF-8\n" |
254 | "Content-Transfer-Encoding: 8bit\n" |
255 | +<<<<<<< TREE |
256 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
257 | "X-Generator: Launchpad (build 18246)\n" |
258 | +======= |
259 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
260 | +"X-Generator: Launchpad (build 18204)\n" |
261 | +>>>>>>> MERGE-SOURCE |
262 | |
263 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
264 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
265 | |
266 | === modified file 'po/ast.po' |
267 | --- po/ast.po 2016-11-03 06:11:46 +0000 |
268 | +++ po/ast.po 2016-11-04 14:22:30 +0000 |
269 | @@ -14,8 +14,13 @@ |
270 | "MIME-Version: 1.0\n" |
271 | "Content-Type: text/plain; charset=UTF-8\n" |
272 | "Content-Transfer-Encoding: 8bit\n" |
273 | +<<<<<<< TREE |
274 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
275 | "X-Generator: Launchpad (build 18246)\n" |
276 | +======= |
277 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
278 | +"X-Generator: Launchpad (build 18204)\n" |
279 | +>>>>>>> MERGE-SOURCE |
280 | |
281 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
282 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
283 | |
284 | === modified file 'po/az.po' |
285 | --- po/az.po 2016-11-03 06:11:46 +0000 |
286 | +++ po/az.po 2016-11-04 14:22:30 +0000 |
287 | @@ -14,8 +14,13 @@ |
288 | "MIME-Version: 1.0\n" |
289 | "Content-Type: text/plain; charset=UTF-8\n" |
290 | "Content-Transfer-Encoding: 8bit\n" |
291 | +<<<<<<< TREE |
292 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
293 | "X-Generator: Launchpad (build 18246)\n" |
294 | +======= |
295 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
296 | +"X-Generator: Launchpad (build 18204)\n" |
297 | +>>>>>>> MERGE-SOURCE |
298 | |
299 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
300 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
301 | |
302 | === modified file 'po/be.po' |
303 | --- po/be.po 2016-11-03 06:11:46 +0000 |
304 | +++ po/be.po 2016-11-04 14:22:30 +0000 |
305 | @@ -14,8 +14,13 @@ |
306 | "MIME-Version: 1.0\n" |
307 | "Content-Type: text/plain; charset=UTF-8\n" |
308 | "Content-Transfer-Encoding: 8bit\n" |
309 | +<<<<<<< TREE |
310 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
311 | "X-Generator: Launchpad (build 18246)\n" |
312 | +======= |
313 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
314 | +"X-Generator: Launchpad (build 18204)\n" |
315 | +>>>>>>> MERGE-SOURCE |
316 | |
317 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
318 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
319 | |
320 | === modified file 'po/bg.po' |
321 | --- po/bg.po 2016-11-03 06:11:46 +0000 |
322 | +++ po/bg.po 2016-11-04 14:22:30 +0000 |
323 | @@ -14,8 +14,13 @@ |
324 | "MIME-Version: 1.0\n" |
325 | "Content-Type: text/plain; charset=UTF-8\n" |
326 | "Content-Transfer-Encoding: 8bit\n" |
327 | +<<<<<<< TREE |
328 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
329 | "X-Generator: Launchpad (build 18246)\n" |
330 | +======= |
331 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
332 | +"X-Generator: Launchpad (build 18204)\n" |
333 | +>>>>>>> MERGE-SOURCE |
334 | |
335 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
336 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
337 | |
338 | === modified file 'po/br.po' |
339 | --- po/br.po 2016-11-03 06:11:46 +0000 |
340 | +++ po/br.po 2016-11-04 14:22:30 +0000 |
341 | @@ -14,8 +14,13 @@ |
342 | "MIME-Version: 1.0\n" |
343 | "Content-Type: text/plain; charset=UTF-8\n" |
344 | "Content-Transfer-Encoding: 8bit\n" |
345 | +<<<<<<< TREE |
346 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
347 | "X-Generator: Launchpad (build 18246)\n" |
348 | +======= |
349 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
350 | +"X-Generator: Launchpad (build 18204)\n" |
351 | +>>>>>>> MERGE-SOURCE |
352 | |
353 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
354 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
355 | |
356 | === modified file 'po/bs.po' |
357 | --- po/bs.po 2016-11-03 06:11:46 +0000 |
358 | +++ po/bs.po 2016-11-04 14:22:30 +0000 |
359 | @@ -14,8 +14,13 @@ |
360 | "MIME-Version: 1.0\n" |
361 | "Content-Type: text/plain; charset=UTF-8\n" |
362 | "Content-Transfer-Encoding: 8bit\n" |
363 | +<<<<<<< TREE |
364 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
365 | "X-Generator: Launchpad (build 18246)\n" |
366 | +======= |
367 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
368 | +"X-Generator: Launchpad (build 18204)\n" |
369 | +>>>>>>> MERGE-SOURCE |
370 | |
371 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
372 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
373 | |
374 | === modified file 'po/ca.po' |
375 | --- po/ca.po 2016-11-03 06:11:46 +0000 |
376 | +++ po/ca.po 2016-11-04 14:22:30 +0000 |
377 | @@ -14,8 +14,13 @@ |
378 | "MIME-Version: 1.0\n" |
379 | "Content-Type: text/plain; charset=UTF-8\n" |
380 | "Content-Transfer-Encoding: 8bit\n" |
381 | +<<<<<<< TREE |
382 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
383 | "X-Generator: Launchpad (build 18246)\n" |
384 | +======= |
385 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
386 | +"X-Generator: Launchpad (build 18204)\n" |
387 | +>>>>>>> MERGE-SOURCE |
388 | |
389 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
390 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
391 | |
392 | === modified file 'po/ca@valencia.po' |
393 | --- po/ca@valencia.po 2016-11-03 06:11:46 +0000 |
394 | +++ po/ca@valencia.po 2016-11-04 14:22:30 +0000 |
395 | @@ -14,8 +14,13 @@ |
396 | "MIME-Version: 1.0\n" |
397 | "Content-Type: text/plain; charset=UTF-8\n" |
398 | "Content-Transfer-Encoding: 8bit\n" |
399 | +<<<<<<< TREE |
400 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
401 | "X-Generator: Launchpad (build 18246)\n" |
402 | +======= |
403 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
404 | +"X-Generator: Launchpad (build 18204)\n" |
405 | +>>>>>>> MERGE-SOURCE |
406 | |
407 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
408 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
409 | |
410 | === modified file 'po/cs.po' |
411 | --- po/cs.po 2016-11-03 06:11:46 +0000 |
412 | +++ po/cs.po 2016-11-04 14:22:30 +0000 |
413 | @@ -14,8 +14,13 @@ |
414 | "MIME-Version: 1.0\n" |
415 | "Content-Type: text/plain; charset=UTF-8\n" |
416 | "Content-Transfer-Encoding: 8bit\n" |
417 | +<<<<<<< TREE |
418 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
419 | "X-Generator: Launchpad (build 18246)\n" |
420 | +======= |
421 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
422 | +"X-Generator: Launchpad (build 18204)\n" |
423 | +>>>>>>> MERGE-SOURCE |
424 | |
425 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
426 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
427 | |
428 | === modified file 'po/cy.po' |
429 | --- po/cy.po 2016-11-03 06:11:46 +0000 |
430 | +++ po/cy.po 2016-11-04 14:22:30 +0000 |
431 | @@ -14,8 +14,13 @@ |
432 | "MIME-Version: 1.0\n" |
433 | "Content-Type: text/plain; charset=UTF-8\n" |
434 | "Content-Transfer-Encoding: 8bit\n" |
435 | +<<<<<<< TREE |
436 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
437 | "X-Generator: Launchpad (build 18246)\n" |
438 | +======= |
439 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
440 | +"X-Generator: Launchpad (build 18204)\n" |
441 | +>>>>>>> MERGE-SOURCE |
442 | |
443 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
444 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
445 | |
446 | === modified file 'po/da.po' |
447 | --- po/da.po 2016-11-03 06:11:46 +0000 |
448 | +++ po/da.po 2016-11-04 14:22:30 +0000 |
449 | @@ -14,8 +14,13 @@ |
450 | "MIME-Version: 1.0\n" |
451 | "Content-Type: text/plain; charset=UTF-8\n" |
452 | "Content-Transfer-Encoding: 8bit\n" |
453 | +<<<<<<< TREE |
454 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
455 | "X-Generator: Launchpad (build 18246)\n" |
456 | +======= |
457 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
458 | +"X-Generator: Launchpad (build 18204)\n" |
459 | +>>>>>>> MERGE-SOURCE |
460 | |
461 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
462 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
463 | |
464 | === modified file 'po/de.po' |
465 | --- po/de.po 2016-11-03 06:11:46 +0000 |
466 | +++ po/de.po 2016-11-04 14:22:30 +0000 |
467 | @@ -14,8 +14,13 @@ |
468 | "MIME-Version: 1.0\n" |
469 | "Content-Type: text/plain; charset=UTF-8\n" |
470 | "Content-Transfer-Encoding: 8bit\n" |
471 | +<<<<<<< TREE |
472 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
473 | "X-Generator: Launchpad (build 18246)\n" |
474 | +======= |
475 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
476 | +"X-Generator: Launchpad (build 18204)\n" |
477 | +>>>>>>> MERGE-SOURCE |
478 | |
479 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
480 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
481 | |
482 | === modified file 'po/el.po' |
483 | --- po/el.po 2016-11-03 06:11:46 +0000 |
484 | +++ po/el.po 2016-11-04 14:22:30 +0000 |
485 | @@ -14,8 +14,13 @@ |
486 | "MIME-Version: 1.0\n" |
487 | "Content-Type: text/plain; charset=UTF-8\n" |
488 | "Content-Transfer-Encoding: 8bit\n" |
489 | +<<<<<<< TREE |
490 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
491 | "X-Generator: Launchpad (build 18246)\n" |
492 | +======= |
493 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
494 | +"X-Generator: Launchpad (build 18204)\n" |
495 | +>>>>>>> MERGE-SOURCE |
496 | |
497 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
498 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
499 | |
500 | === modified file 'po/en_AU.po' |
501 | --- po/en_AU.po 2016-11-03 06:11:46 +0000 |
502 | +++ po/en_AU.po 2016-11-04 14:22:30 +0000 |
503 | @@ -14,8 +14,13 @@ |
504 | "MIME-Version: 1.0\n" |
505 | "Content-Type: text/plain; charset=UTF-8\n" |
506 | "Content-Transfer-Encoding: 8bit\n" |
507 | +<<<<<<< TREE |
508 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
509 | "X-Generator: Launchpad (build 18246)\n" |
510 | +======= |
511 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
512 | +"X-Generator: Launchpad (build 18204)\n" |
513 | +>>>>>>> MERGE-SOURCE |
514 | |
515 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
516 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
517 | |
518 | === modified file 'po/en_GB.po' |
519 | --- po/en_GB.po 2016-11-03 06:11:46 +0000 |
520 | +++ po/en_GB.po 2016-11-04 14:22:30 +0000 |
521 | @@ -14,8 +14,13 @@ |
522 | "MIME-Version: 1.0\n" |
523 | "Content-Type: text/plain; charset=UTF-8\n" |
524 | "Content-Transfer-Encoding: 8bit\n" |
525 | +<<<<<<< TREE |
526 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
527 | "X-Generator: Launchpad (build 18246)\n" |
528 | +======= |
529 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
530 | +"X-Generator: Launchpad (build 18204)\n" |
531 | +>>>>>>> MERGE-SOURCE |
532 | |
533 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
534 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
535 | |
536 | === modified file 'po/eo.po' |
537 | --- po/eo.po 2016-11-03 06:11:46 +0000 |
538 | +++ po/eo.po 2016-11-04 14:22:30 +0000 |
539 | @@ -14,8 +14,13 @@ |
540 | "MIME-Version: 1.0\n" |
541 | "Content-Type: text/plain; charset=UTF-8\n" |
542 | "Content-Transfer-Encoding: 8bit\n" |
543 | +<<<<<<< TREE |
544 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
545 | "X-Generator: Launchpad (build 18246)\n" |
546 | +======= |
547 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
548 | +"X-Generator: Launchpad (build 18204)\n" |
549 | +>>>>>>> MERGE-SOURCE |
550 | |
551 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
552 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
553 | |
554 | === modified file 'po/es.po' |
555 | --- po/es.po 2016-11-03 06:11:46 +0000 |
556 | +++ po/es.po 2016-11-04 14:22:30 +0000 |
557 | @@ -14,8 +14,13 @@ |
558 | "MIME-Version: 1.0\n" |
559 | "Content-Type: text/plain; charset=UTF-8\n" |
560 | "Content-Transfer-Encoding: 8bit\n" |
561 | +<<<<<<< TREE |
562 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
563 | "X-Generator: Launchpad (build 18246)\n" |
564 | +======= |
565 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
566 | +"X-Generator: Launchpad (build 18204)\n" |
567 | +>>>>>>> MERGE-SOURCE |
568 | |
569 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
570 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
571 | |
572 | === modified file 'po/et.po' |
573 | --- po/et.po 2016-11-03 06:11:46 +0000 |
574 | +++ po/et.po 2016-11-04 14:22:30 +0000 |
575 | @@ -14,8 +14,13 @@ |
576 | "MIME-Version: 1.0\n" |
577 | "Content-Type: text/plain; charset=UTF-8\n" |
578 | "Content-Transfer-Encoding: 8bit\n" |
579 | +<<<<<<< TREE |
580 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
581 | "X-Generator: Launchpad (build 18246)\n" |
582 | +======= |
583 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
584 | +"X-Generator: Launchpad (build 18204)\n" |
585 | +>>>>>>> MERGE-SOURCE |
586 | |
587 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
588 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
589 | |
590 | === modified file 'po/eu.po' |
591 | --- po/eu.po 2016-11-03 06:11:46 +0000 |
592 | +++ po/eu.po 2016-11-04 14:22:30 +0000 |
593 | @@ -14,8 +14,13 @@ |
594 | "MIME-Version: 1.0\n" |
595 | "Content-Type: text/plain; charset=UTF-8\n" |
596 | "Content-Transfer-Encoding: 8bit\n" |
597 | +<<<<<<< TREE |
598 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
599 | "X-Generator: Launchpad (build 18246)\n" |
600 | +======= |
601 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
602 | +"X-Generator: Launchpad (build 18204)\n" |
603 | +>>>>>>> MERGE-SOURCE |
604 | |
605 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
606 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
607 | |
608 | === modified file 'po/fa.po' |
609 | --- po/fa.po 2016-11-03 06:11:46 +0000 |
610 | +++ po/fa.po 2016-11-04 14:22:30 +0000 |
611 | @@ -14,8 +14,13 @@ |
612 | "MIME-Version: 1.0\n" |
613 | "Content-Type: text/plain; charset=UTF-8\n" |
614 | "Content-Transfer-Encoding: 8bit\n" |
615 | +<<<<<<< TREE |
616 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
617 | "X-Generator: Launchpad (build 18246)\n" |
618 | +======= |
619 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
620 | +"X-Generator: Launchpad (build 18204)\n" |
621 | +>>>>>>> MERGE-SOURCE |
622 | |
623 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
624 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
625 | |
626 | === modified file 'po/fi.po' |
627 | --- po/fi.po 2016-11-03 06:11:46 +0000 |
628 | +++ po/fi.po 2016-11-04 14:22:30 +0000 |
629 | @@ -14,8 +14,13 @@ |
630 | "MIME-Version: 1.0\n" |
631 | "Content-Type: text/plain; charset=UTF-8\n" |
632 | "Content-Transfer-Encoding: 8bit\n" |
633 | +<<<<<<< TREE |
634 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
635 | "X-Generator: Launchpad (build 18246)\n" |
636 | +======= |
637 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
638 | +"X-Generator: Launchpad (build 18204)\n" |
639 | +>>>>>>> MERGE-SOURCE |
640 | |
641 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
642 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
643 | |
644 | === modified file 'po/fo.po' |
645 | --- po/fo.po 2016-11-03 06:11:46 +0000 |
646 | +++ po/fo.po 2016-11-04 14:22:30 +0000 |
647 | @@ -14,8 +14,13 @@ |
648 | "MIME-Version: 1.0\n" |
649 | "Content-Type: text/plain; charset=UTF-8\n" |
650 | "Content-Transfer-Encoding: 8bit\n" |
651 | +<<<<<<< TREE |
652 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
653 | "X-Generator: Launchpad (build 18246)\n" |
654 | +======= |
655 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
656 | +"X-Generator: Launchpad (build 18204)\n" |
657 | +>>>>>>> MERGE-SOURCE |
658 | |
659 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
660 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
661 | |
662 | === modified file 'po/fr.po' |
663 | --- po/fr.po 2016-11-03 06:11:46 +0000 |
664 | +++ po/fr.po 2016-11-04 14:22:30 +0000 |
665 | @@ -14,8 +14,13 @@ |
666 | "MIME-Version: 1.0\n" |
667 | "Content-Type: text/plain; charset=UTF-8\n" |
668 | "Content-Transfer-Encoding: 8bit\n" |
669 | +<<<<<<< TREE |
670 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
671 | "X-Generator: Launchpad (build 18246)\n" |
672 | +======= |
673 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
674 | +"X-Generator: Launchpad (build 18204)\n" |
675 | +>>>>>>> MERGE-SOURCE |
676 | |
677 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
678 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
679 | |
680 | === modified file 'po/fr_CA.po' |
681 | --- po/fr_CA.po 2016-11-03 06:11:46 +0000 |
682 | +++ po/fr_CA.po 2016-11-04 14:22:30 +0000 |
683 | @@ -14,8 +14,13 @@ |
684 | "MIME-Version: 1.0\n" |
685 | "Content-Type: text/plain; charset=UTF-8\n" |
686 | "Content-Transfer-Encoding: 8bit\n" |
687 | +<<<<<<< TREE |
688 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
689 | "X-Generator: Launchpad (build 18246)\n" |
690 | +======= |
691 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
692 | +"X-Generator: Launchpad (build 18204)\n" |
693 | +>>>>>>> MERGE-SOURCE |
694 | |
695 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
696 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
697 | |
698 | === modified file 'po/ga.po' |
699 | --- po/ga.po 2016-11-03 06:11:46 +0000 |
700 | +++ po/ga.po 2016-11-04 14:22:30 +0000 |
701 | @@ -14,8 +14,13 @@ |
702 | "MIME-Version: 1.0\n" |
703 | "Content-Type: text/plain; charset=UTF-8\n" |
704 | "Content-Transfer-Encoding: 8bit\n" |
705 | +<<<<<<< TREE |
706 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
707 | "X-Generator: Launchpad (build 18246)\n" |
708 | +======= |
709 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
710 | +"X-Generator: Launchpad (build 18204)\n" |
711 | +>>>>>>> MERGE-SOURCE |
712 | |
713 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
714 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
715 | |
716 | === modified file 'po/gd.po' |
717 | --- po/gd.po 2016-11-03 06:11:46 +0000 |
718 | +++ po/gd.po 2016-11-04 14:22:30 +0000 |
719 | @@ -14,8 +14,13 @@ |
720 | "MIME-Version: 1.0\n" |
721 | "Content-Type: text/plain; charset=UTF-8\n" |
722 | "Content-Transfer-Encoding: 8bit\n" |
723 | +<<<<<<< TREE |
724 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
725 | "X-Generator: Launchpad (build 18246)\n" |
726 | +======= |
727 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
728 | +"X-Generator: Launchpad (build 18204)\n" |
729 | +>>>>>>> MERGE-SOURCE |
730 | "Language: gd\n" |
731 | |
732 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
733 | |
734 | === modified file 'po/gl.po' |
735 | --- po/gl.po 2016-11-03 06:11:46 +0000 |
736 | +++ po/gl.po 2016-11-04 14:22:30 +0000 |
737 | @@ -14,8 +14,13 @@ |
738 | "MIME-Version: 1.0\n" |
739 | "Content-Type: text/plain; charset=UTF-8\n" |
740 | "Content-Transfer-Encoding: 8bit\n" |
741 | +<<<<<<< TREE |
742 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
743 | "X-Generator: Launchpad (build 18246)\n" |
744 | +======= |
745 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
746 | +"X-Generator: Launchpad (build 18204)\n" |
747 | +>>>>>>> MERGE-SOURCE |
748 | |
749 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
750 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
751 | |
752 | === modified file 'po/he.po' |
753 | --- po/he.po 2016-11-03 06:11:46 +0000 |
754 | +++ po/he.po 2016-11-04 14:22:30 +0000 |
755 | @@ -14,8 +14,13 @@ |
756 | "MIME-Version: 1.0\n" |
757 | "Content-Type: text/plain; charset=UTF-8\n" |
758 | "Content-Transfer-Encoding: 8bit\n" |
759 | +<<<<<<< TREE |
760 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
761 | "X-Generator: Launchpad (build 18246)\n" |
762 | +======= |
763 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
764 | +"X-Generator: Launchpad (build 18204)\n" |
765 | +>>>>>>> MERGE-SOURCE |
766 | |
767 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
768 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
769 | |
770 | === modified file 'po/hr.po' |
771 | --- po/hr.po 2016-11-03 06:11:46 +0000 |
772 | +++ po/hr.po 2016-11-04 14:22:30 +0000 |
773 | @@ -14,8 +14,13 @@ |
774 | "MIME-Version: 1.0\n" |
775 | "Content-Type: text/plain; charset=UTF-8\n" |
776 | "Content-Transfer-Encoding: 8bit\n" |
777 | +<<<<<<< TREE |
778 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
779 | "X-Generator: Launchpad (build 18246)\n" |
780 | +======= |
781 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
782 | +"X-Generator: Launchpad (build 18204)\n" |
783 | +>>>>>>> MERGE-SOURCE |
784 | |
785 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
786 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
787 | |
788 | === modified file 'po/hu.po' |
789 | --- po/hu.po 2016-11-03 06:11:46 +0000 |
790 | +++ po/hu.po 2016-11-04 14:22:30 +0000 |
791 | @@ -14,8 +14,13 @@ |
792 | "MIME-Version: 1.0\n" |
793 | "Content-Type: text/plain; charset=UTF-8\n" |
794 | "Content-Transfer-Encoding: 8bit\n" |
795 | +<<<<<<< TREE |
796 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
797 | "X-Generator: Launchpad (build 18246)\n" |
798 | +======= |
799 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
800 | +"X-Generator: Launchpad (build 18204)\n" |
801 | +>>>>>>> MERGE-SOURCE |
802 | |
803 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
804 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
805 | |
806 | === modified file 'po/ia.po' |
807 | --- po/ia.po 2016-11-03 06:11:46 +0000 |
808 | +++ po/ia.po 2016-11-04 14:22:30 +0000 |
809 | @@ -14,8 +14,13 @@ |
810 | "MIME-Version: 1.0\n" |
811 | "Content-Type: text/plain; charset=UTF-8\n" |
812 | "Content-Transfer-Encoding: 8bit\n" |
813 | +<<<<<<< TREE |
814 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
815 | "X-Generator: Launchpad (build 18246)\n" |
816 | +======= |
817 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
818 | +"X-Generator: Launchpad (build 18204)\n" |
819 | +>>>>>>> MERGE-SOURCE |
820 | |
821 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
822 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
823 | |
824 | === modified file 'po/id.po' |
825 | --- po/id.po 2016-11-03 06:11:46 +0000 |
826 | +++ po/id.po 2016-11-04 14:22:30 +0000 |
827 | @@ -14,8 +14,13 @@ |
828 | "MIME-Version: 1.0\n" |
829 | "Content-Type: text/plain; charset=UTF-8\n" |
830 | "Content-Transfer-Encoding: 8bit\n" |
831 | +<<<<<<< TREE |
832 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
833 | "X-Generator: Launchpad (build 18246)\n" |
834 | +======= |
835 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
836 | +"X-Generator: Launchpad (build 18204)\n" |
837 | +>>>>>>> MERGE-SOURCE |
838 | |
839 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
840 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
841 | |
842 | === modified file 'po/is.po' |
843 | --- po/is.po 2016-11-03 06:11:46 +0000 |
844 | +++ po/is.po 2016-11-04 14:22:30 +0000 |
845 | @@ -14,8 +14,13 @@ |
846 | "MIME-Version: 1.0\n" |
847 | "Content-Type: text/plain; charset=UTF-8\n" |
848 | "Content-Transfer-Encoding: 8bit\n" |
849 | +<<<<<<< TREE |
850 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
851 | "X-Generator: Launchpad (build 18246)\n" |
852 | +======= |
853 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
854 | +"X-Generator: Launchpad (build 18204)\n" |
855 | +>>>>>>> MERGE-SOURCE |
856 | |
857 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
858 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
859 | |
860 | === modified file 'po/it.po' |
861 | --- po/it.po 2016-11-03 06:11:46 +0000 |
862 | +++ po/it.po 2016-11-04 14:22:30 +0000 |
863 | @@ -14,8 +14,13 @@ |
864 | "MIME-Version: 1.0\n" |
865 | "Content-Type: text/plain; charset=UTF-8\n" |
866 | "Content-Transfer-Encoding: 8bit\n" |
867 | +<<<<<<< TREE |
868 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
869 | "X-Generator: Launchpad (build 18246)\n" |
870 | +======= |
871 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
872 | +"X-Generator: Launchpad (build 18204)\n" |
873 | +>>>>>>> MERGE-SOURCE |
874 | |
875 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
876 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
877 | |
878 | === modified file 'po/ja.po' |
879 | --- po/ja.po 2016-11-03 06:11:46 +0000 |
880 | +++ po/ja.po 2016-11-04 14:22:30 +0000 |
881 | @@ -14,8 +14,13 @@ |
882 | "MIME-Version: 1.0\n" |
883 | "Content-Type: text/plain; charset=UTF-8\n" |
884 | "Content-Transfer-Encoding: 8bit\n" |
885 | +<<<<<<< TREE |
886 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
887 | "X-Generator: Launchpad (build 18246)\n" |
888 | +======= |
889 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
890 | +"X-Generator: Launchpad (build 18204)\n" |
891 | +>>>>>>> MERGE-SOURCE |
892 | |
893 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
894 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
895 | |
896 | === modified file 'po/kk.po' |
897 | --- po/kk.po 2016-11-03 06:11:46 +0000 |
898 | +++ po/kk.po 2016-11-04 14:22:30 +0000 |
899 | @@ -14,8 +14,13 @@ |
900 | "MIME-Version: 1.0\n" |
901 | "Content-Type: text/plain; charset=UTF-8\n" |
902 | "Content-Transfer-Encoding: 8bit\n" |
903 | +<<<<<<< TREE |
904 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
905 | "X-Generator: Launchpad (build 18246)\n" |
906 | +======= |
907 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
908 | +"X-Generator: Launchpad (build 18204)\n" |
909 | +>>>>>>> MERGE-SOURCE |
910 | |
911 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
912 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
913 | |
914 | === modified file 'po/km.po' |
915 | --- po/km.po 2016-11-03 06:11:46 +0000 |
916 | +++ po/km.po 2016-11-04 14:22:30 +0000 |
917 | @@ -14,8 +14,13 @@ |
918 | "MIME-Version: 1.0\n" |
919 | "Content-Type: text/plain; charset=UTF-8\n" |
920 | "Content-Transfer-Encoding: 8bit\n" |
921 | +<<<<<<< TREE |
922 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
923 | "X-Generator: Launchpad (build 18246)\n" |
924 | +======= |
925 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
926 | +"X-Generator: Launchpad (build 18204)\n" |
927 | +>>>>>>> MERGE-SOURCE |
928 | |
929 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
930 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
931 | |
932 | === modified file 'po/kn.po' |
933 | --- po/kn.po 2016-11-03 06:11:46 +0000 |
934 | +++ po/kn.po 2016-11-04 14:22:30 +0000 |
935 | @@ -14,8 +14,13 @@ |
936 | "MIME-Version: 1.0\n" |
937 | "Content-Type: text/plain; charset=UTF-8\n" |
938 | "Content-Transfer-Encoding: 8bit\n" |
939 | +<<<<<<< TREE |
940 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
941 | "X-Generator: Launchpad (build 18246)\n" |
942 | +======= |
943 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
944 | +"X-Generator: Launchpad (build 18204)\n" |
945 | +>>>>>>> MERGE-SOURCE |
946 | |
947 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
948 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
949 | |
950 | === modified file 'po/ko.po' |
951 | --- po/ko.po 2016-11-03 06:11:46 +0000 |
952 | +++ po/ko.po 2016-11-04 14:22:30 +0000 |
953 | @@ -14,8 +14,13 @@ |
954 | "MIME-Version: 1.0\n" |
955 | "Content-Type: text/plain; charset=UTF-8\n" |
956 | "Content-Transfer-Encoding: 8bit\n" |
957 | +<<<<<<< TREE |
958 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
959 | "X-Generator: Launchpad (build 18246)\n" |
960 | +======= |
961 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
962 | +"X-Generator: Launchpad (build 18204)\n" |
963 | +>>>>>>> MERGE-SOURCE |
964 | |
965 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
966 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
967 | |
968 | === modified file 'po/lv.po' |
969 | --- po/lv.po 2016-11-03 06:11:46 +0000 |
970 | +++ po/lv.po 2016-11-04 14:22:30 +0000 |
971 | @@ -14,8 +14,13 @@ |
972 | "MIME-Version: 1.0\n" |
973 | "Content-Type: text/plain; charset=UTF-8\n" |
974 | "Content-Transfer-Encoding: 8bit\n" |
975 | +<<<<<<< TREE |
976 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
977 | "X-Generator: Launchpad (build 18246)\n" |
978 | +======= |
979 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
980 | +"X-Generator: Launchpad (build 18204)\n" |
981 | +>>>>>>> MERGE-SOURCE |
982 | |
983 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
984 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
985 | |
986 | === modified file 'po/ms.po' |
987 | --- po/ms.po 2016-11-03 06:11:46 +0000 |
988 | +++ po/ms.po 2016-11-04 14:22:30 +0000 |
989 | @@ -14,8 +14,13 @@ |
990 | "MIME-Version: 1.0\n" |
991 | "Content-Type: text/plain; charset=UTF-8\n" |
992 | "Content-Transfer-Encoding: 8bit\n" |
993 | +<<<<<<< TREE |
994 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
995 | "X-Generator: Launchpad (build 18246)\n" |
996 | +======= |
997 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
998 | +"X-Generator: Launchpad (build 18204)\n" |
999 | +>>>>>>> MERGE-SOURCE |
1000 | |
1001 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1002 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1003 | |
1004 | === modified file 'po/my.po' |
1005 | --- po/my.po 2016-11-03 06:11:46 +0000 |
1006 | +++ po/my.po 2016-11-04 14:22:30 +0000 |
1007 | @@ -14,8 +14,13 @@ |
1008 | "MIME-Version: 1.0\n" |
1009 | "Content-Type: text/plain; charset=UTF-8\n" |
1010 | "Content-Transfer-Encoding: 8bit\n" |
1011 | +<<<<<<< TREE |
1012 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1013 | "X-Generator: Launchpad (build 18246)\n" |
1014 | +======= |
1015 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1016 | +"X-Generator: Launchpad (build 18204)\n" |
1017 | +>>>>>>> MERGE-SOURCE |
1018 | |
1019 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1020 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1021 | |
1022 | === modified file 'po/nb.po' |
1023 | --- po/nb.po 2016-11-03 06:11:46 +0000 |
1024 | +++ po/nb.po 2016-11-04 14:22:30 +0000 |
1025 | @@ -14,8 +14,13 @@ |
1026 | "MIME-Version: 1.0\n" |
1027 | "Content-Type: text/plain; charset=UTF-8\n" |
1028 | "Content-Transfer-Encoding: 8bit\n" |
1029 | +<<<<<<< TREE |
1030 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1031 | "X-Generator: Launchpad (build 18246)\n" |
1032 | +======= |
1033 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1034 | +"X-Generator: Launchpad (build 18204)\n" |
1035 | +>>>>>>> MERGE-SOURCE |
1036 | |
1037 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1038 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1039 | |
1040 | === modified file 'po/ne.po' |
1041 | --- po/ne.po 2016-11-03 06:11:46 +0000 |
1042 | +++ po/ne.po 2016-11-04 14:22:30 +0000 |
1043 | @@ -14,8 +14,13 @@ |
1044 | "MIME-Version: 1.0\n" |
1045 | "Content-Type: text/plain; charset=UTF-8\n" |
1046 | "Content-Transfer-Encoding: 8bit\n" |
1047 | +<<<<<<< TREE |
1048 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1049 | "X-Generator: Launchpad (build 18246)\n" |
1050 | +======= |
1051 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1052 | +"X-Generator: Launchpad (build 18204)\n" |
1053 | +>>>>>>> MERGE-SOURCE |
1054 | |
1055 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1056 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1057 | |
1058 | === modified file 'po/nl.po' |
1059 | --- po/nl.po 2016-11-03 06:11:46 +0000 |
1060 | +++ po/nl.po 2016-11-04 14:22:30 +0000 |
1061 | @@ -14,8 +14,13 @@ |
1062 | "MIME-Version: 1.0\n" |
1063 | "Content-Type: text/plain; charset=UTF-8\n" |
1064 | "Content-Transfer-Encoding: 8bit\n" |
1065 | +<<<<<<< TREE |
1066 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1067 | "X-Generator: Launchpad (build 18246)\n" |
1068 | +======= |
1069 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1070 | +"X-Generator: Launchpad (build 18204)\n" |
1071 | +>>>>>>> MERGE-SOURCE |
1072 | |
1073 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1074 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1075 | |
1076 | === modified file 'po/oc.po' |
1077 | --- po/oc.po 2016-11-03 06:11:46 +0000 |
1078 | +++ po/oc.po 2016-11-04 14:22:30 +0000 |
1079 | @@ -14,8 +14,13 @@ |
1080 | "MIME-Version: 1.0\n" |
1081 | "Content-Type: text/plain; charset=UTF-8\n" |
1082 | "Content-Transfer-Encoding: 8bit\n" |
1083 | +<<<<<<< TREE |
1084 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1085 | "X-Generator: Launchpad (build 18246)\n" |
1086 | +======= |
1087 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1088 | +"X-Generator: Launchpad (build 18204)\n" |
1089 | +>>>>>>> MERGE-SOURCE |
1090 | |
1091 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1092 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1093 | |
1094 | === modified file 'po/om.po' |
1095 | --- po/om.po 2016-11-03 06:11:46 +0000 |
1096 | +++ po/om.po 2016-11-04 14:22:30 +0000 |
1097 | @@ -14,8 +14,13 @@ |
1098 | "MIME-Version: 1.0\n" |
1099 | "Content-Type: text/plain; charset=UTF-8\n" |
1100 | "Content-Transfer-Encoding: 8bit\n" |
1101 | +<<<<<<< TREE |
1102 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1103 | "X-Generator: Launchpad (build 18246)\n" |
1104 | +======= |
1105 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1106 | +"X-Generator: Launchpad (build 18204)\n" |
1107 | +>>>>>>> MERGE-SOURCE |
1108 | |
1109 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1110 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1111 | |
1112 | === modified file 'po/pa.po' |
1113 | --- po/pa.po 2016-11-03 06:11:46 +0000 |
1114 | +++ po/pa.po 2016-11-04 14:22:30 +0000 |
1115 | @@ -14,8 +14,13 @@ |
1116 | "MIME-Version: 1.0\n" |
1117 | "Content-Type: text/plain; charset=UTF-8\n" |
1118 | "Content-Transfer-Encoding: 8bit\n" |
1119 | +<<<<<<< TREE |
1120 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1121 | "X-Generator: Launchpad (build 18246)\n" |
1122 | +======= |
1123 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1124 | +"X-Generator: Launchpad (build 18204)\n" |
1125 | +>>>>>>> MERGE-SOURCE |
1126 | |
1127 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1128 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1129 | |
1130 | === modified file 'po/pl.po' |
1131 | --- po/pl.po 2016-11-03 06:11:46 +0000 |
1132 | +++ po/pl.po 2016-11-04 14:22:30 +0000 |
1133 | @@ -14,8 +14,13 @@ |
1134 | "MIME-Version: 1.0\n" |
1135 | "Content-Type: text/plain; charset=UTF-8\n" |
1136 | "Content-Transfer-Encoding: 8bit\n" |
1137 | +<<<<<<< TREE |
1138 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1139 | "X-Generator: Launchpad (build 18246)\n" |
1140 | +======= |
1141 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1142 | +"X-Generator: Launchpad (build 18204)\n" |
1143 | +>>>>>>> MERGE-SOURCE |
1144 | |
1145 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1146 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1147 | |
1148 | === modified file 'po/pt.po' |
1149 | --- po/pt.po 2016-11-03 06:11:46 +0000 |
1150 | +++ po/pt.po 2016-11-04 14:22:30 +0000 |
1151 | @@ -14,8 +14,13 @@ |
1152 | "MIME-Version: 1.0\n" |
1153 | "Content-Type: text/plain; charset=UTF-8\n" |
1154 | "Content-Transfer-Encoding: 8bit\n" |
1155 | +<<<<<<< TREE |
1156 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1157 | "X-Generator: Launchpad (build 18246)\n" |
1158 | +======= |
1159 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1160 | +"X-Generator: Launchpad (build 18204)\n" |
1161 | +>>>>>>> MERGE-SOURCE |
1162 | |
1163 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1164 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1165 | |
1166 | === modified file 'po/pt_BR.po' |
1167 | --- po/pt_BR.po 2016-11-03 06:11:46 +0000 |
1168 | +++ po/pt_BR.po 2016-11-04 14:22:30 +0000 |
1169 | @@ -14,8 +14,13 @@ |
1170 | "MIME-Version: 1.0\n" |
1171 | "Content-Type: text/plain; charset=UTF-8\n" |
1172 | "Content-Transfer-Encoding: 8bit\n" |
1173 | +<<<<<<< TREE |
1174 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1175 | "X-Generator: Launchpad (build 18246)\n" |
1176 | +======= |
1177 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1178 | +"X-Generator: Launchpad (build 18204)\n" |
1179 | +>>>>>>> MERGE-SOURCE |
1180 | |
1181 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1182 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1183 | |
1184 | === modified file 'po/ro.po' |
1185 | --- po/ro.po 2016-11-03 06:11:46 +0000 |
1186 | +++ po/ro.po 2016-11-04 14:22:30 +0000 |
1187 | @@ -14,8 +14,13 @@ |
1188 | "MIME-Version: 1.0\n" |
1189 | "Content-Type: text/plain; charset=UTF-8\n" |
1190 | "Content-Transfer-Encoding: 8bit\n" |
1191 | +<<<<<<< TREE |
1192 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1193 | "X-Generator: Launchpad (build 18246)\n" |
1194 | +======= |
1195 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1196 | +"X-Generator: Launchpad (build 18204)\n" |
1197 | +>>>>>>> MERGE-SOURCE |
1198 | |
1199 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1200 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1201 | |
1202 | === modified file 'po/ru.po' |
1203 | --- po/ru.po 2016-11-03 06:11:46 +0000 |
1204 | +++ po/ru.po 2016-11-04 14:22:30 +0000 |
1205 | @@ -14,8 +14,13 @@ |
1206 | "MIME-Version: 1.0\n" |
1207 | "Content-Type: text/plain; charset=UTF-8\n" |
1208 | "Content-Transfer-Encoding: 8bit\n" |
1209 | +<<<<<<< TREE |
1210 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1211 | "X-Generator: Launchpad (build 18246)\n" |
1212 | +======= |
1213 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1214 | +"X-Generator: Launchpad (build 18204)\n" |
1215 | +>>>>>>> MERGE-SOURCE |
1216 | |
1217 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1218 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1219 | |
1220 | === modified file 'po/si.po' |
1221 | --- po/si.po 2016-11-03 06:11:46 +0000 |
1222 | +++ po/si.po 2016-11-04 14:22:30 +0000 |
1223 | @@ -14,8 +14,13 @@ |
1224 | "MIME-Version: 1.0\n" |
1225 | "Content-Type: text/plain; charset=UTF-8\n" |
1226 | "Content-Transfer-Encoding: 8bit\n" |
1227 | +<<<<<<< TREE |
1228 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1229 | "X-Generator: Launchpad (build 18246)\n" |
1230 | +======= |
1231 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1232 | +"X-Generator: Launchpad (build 18204)\n" |
1233 | +>>>>>>> MERGE-SOURCE |
1234 | |
1235 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1236 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1237 | |
1238 | === modified file 'po/sk.po' |
1239 | --- po/sk.po 2016-11-03 06:11:46 +0000 |
1240 | +++ po/sk.po 2016-11-04 14:22:30 +0000 |
1241 | @@ -14,8 +14,13 @@ |
1242 | "MIME-Version: 1.0\n" |
1243 | "Content-Type: text/plain; charset=UTF-8\n" |
1244 | "Content-Transfer-Encoding: 8bit\n" |
1245 | +<<<<<<< TREE |
1246 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1247 | "X-Generator: Launchpad (build 18246)\n" |
1248 | +======= |
1249 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1250 | +"X-Generator: Launchpad (build 18204)\n" |
1251 | +>>>>>>> MERGE-SOURCE |
1252 | |
1253 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1254 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1255 | |
1256 | === modified file 'po/sl.po' |
1257 | --- po/sl.po 2016-11-03 06:11:46 +0000 |
1258 | +++ po/sl.po 2016-11-04 14:22:30 +0000 |
1259 | @@ -14,8 +14,13 @@ |
1260 | "MIME-Version: 1.0\n" |
1261 | "Content-Type: text/plain; charset=UTF-8\n" |
1262 | "Content-Transfer-Encoding: 8bit\n" |
1263 | +<<<<<<< TREE |
1264 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1265 | "X-Generator: Launchpad (build 18246)\n" |
1266 | +======= |
1267 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1268 | +"X-Generator: Launchpad (build 18204)\n" |
1269 | +>>>>>>> MERGE-SOURCE |
1270 | |
1271 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1272 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1273 | |
1274 | === modified file 'po/sq.po' |
1275 | --- po/sq.po 2016-11-03 06:11:46 +0000 |
1276 | +++ po/sq.po 2016-11-04 14:22:30 +0000 |
1277 | @@ -14,8 +14,13 @@ |
1278 | "MIME-Version: 1.0\n" |
1279 | "Content-Type: text/plain; charset=UTF-8\n" |
1280 | "Content-Transfer-Encoding: 8bit\n" |
1281 | +<<<<<<< TREE |
1282 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1283 | "X-Generator: Launchpad (build 18246)\n" |
1284 | +======= |
1285 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1286 | +"X-Generator: Launchpad (build 18204)\n" |
1287 | +>>>>>>> MERGE-SOURCE |
1288 | |
1289 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1290 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1291 | |
1292 | === modified file 'po/sr.po' |
1293 | --- po/sr.po 2016-11-03 06:11:46 +0000 |
1294 | +++ po/sr.po 2016-11-04 14:22:30 +0000 |
1295 | @@ -14,8 +14,13 @@ |
1296 | "MIME-Version: 1.0\n" |
1297 | "Content-Type: text/plain; charset=UTF-8\n" |
1298 | "Content-Transfer-Encoding: 8bit\n" |
1299 | +<<<<<<< TREE |
1300 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1301 | "X-Generator: Launchpad (build 18246)\n" |
1302 | +======= |
1303 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1304 | +"X-Generator: Launchpad (build 18204)\n" |
1305 | +>>>>>>> MERGE-SOURCE |
1306 | |
1307 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1308 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1309 | |
1310 | === modified file 'po/sv.po' |
1311 | --- po/sv.po 2016-11-03 06:11:46 +0000 |
1312 | +++ po/sv.po 2016-11-04 14:22:30 +0000 |
1313 | @@ -14,8 +14,13 @@ |
1314 | "MIME-Version: 1.0\n" |
1315 | "Content-Type: text/plain; charset=UTF-8\n" |
1316 | "Content-Transfer-Encoding: 8bit\n" |
1317 | +<<<<<<< TREE |
1318 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1319 | "X-Generator: Launchpad (build 18246)\n" |
1320 | +======= |
1321 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1322 | +"X-Generator: Launchpad (build 18204)\n" |
1323 | +>>>>>>> MERGE-SOURCE |
1324 | |
1325 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1326 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1327 | |
1328 | === modified file 'po/ta.po' |
1329 | --- po/ta.po 2016-11-03 06:11:46 +0000 |
1330 | +++ po/ta.po 2016-11-04 14:22:30 +0000 |
1331 | @@ -14,8 +14,13 @@ |
1332 | "MIME-Version: 1.0\n" |
1333 | "Content-Type: text/plain; charset=UTF-8\n" |
1334 | "Content-Transfer-Encoding: 8bit\n" |
1335 | +<<<<<<< TREE |
1336 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1337 | "X-Generator: Launchpad (build 18246)\n" |
1338 | +======= |
1339 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1340 | +"X-Generator: Launchpad (build 18204)\n" |
1341 | +>>>>>>> MERGE-SOURCE |
1342 | |
1343 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1344 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1345 | |
1346 | === modified file 'po/th.po' |
1347 | --- po/th.po 2016-11-03 06:11:46 +0000 |
1348 | +++ po/th.po 2016-11-04 14:22:30 +0000 |
1349 | @@ -14,8 +14,13 @@ |
1350 | "MIME-Version: 1.0\n" |
1351 | "Content-Type: text/plain; charset=UTF-8\n" |
1352 | "Content-Transfer-Encoding: 8bit\n" |
1353 | +<<<<<<< TREE |
1354 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1355 | "X-Generator: Launchpad (build 18246)\n" |
1356 | +======= |
1357 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1358 | +"X-Generator: Launchpad (build 18204)\n" |
1359 | +>>>>>>> MERGE-SOURCE |
1360 | |
1361 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1362 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1363 | |
1364 | === modified file 'po/tr.po' |
1365 | --- po/tr.po 2016-11-03 06:11:46 +0000 |
1366 | +++ po/tr.po 2016-11-04 14:22:30 +0000 |
1367 | @@ -14,8 +14,13 @@ |
1368 | "MIME-Version: 1.0\n" |
1369 | "Content-Type: text/plain; charset=UTF-8\n" |
1370 | "Content-Transfer-Encoding: 8bit\n" |
1371 | +<<<<<<< TREE |
1372 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1373 | "X-Generator: Launchpad (build 18246)\n" |
1374 | +======= |
1375 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1376 | +"X-Generator: Launchpad (build 18204)\n" |
1377 | +>>>>>>> MERGE-SOURCE |
1378 | |
1379 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1380 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1381 | |
1382 | === modified file 'po/ug.po' |
1383 | --- po/ug.po 2016-11-03 06:11:46 +0000 |
1384 | +++ po/ug.po 2016-11-04 14:22:30 +0000 |
1385 | @@ -14,8 +14,13 @@ |
1386 | "MIME-Version: 1.0\n" |
1387 | "Content-Type: text/plain; charset=UTF-8\n" |
1388 | "Content-Transfer-Encoding: 8bit\n" |
1389 | +<<<<<<< TREE |
1390 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1391 | "X-Generator: Launchpad (build 18246)\n" |
1392 | +======= |
1393 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1394 | +"X-Generator: Launchpad (build 18204)\n" |
1395 | +>>>>>>> MERGE-SOURCE |
1396 | |
1397 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1398 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1399 | |
1400 | === modified file 'po/uk.po' |
1401 | --- po/uk.po 2016-11-03 06:11:46 +0000 |
1402 | +++ po/uk.po 2016-11-04 14:22:30 +0000 |
1403 | @@ -14,8 +14,13 @@ |
1404 | "MIME-Version: 1.0\n" |
1405 | "Content-Type: text/plain; charset=UTF-8\n" |
1406 | "Content-Transfer-Encoding: 8bit\n" |
1407 | +<<<<<<< TREE |
1408 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1409 | "X-Generator: Launchpad (build 18246)\n" |
1410 | +======= |
1411 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1412 | +"X-Generator: Launchpad (build 18204)\n" |
1413 | +>>>>>>> MERGE-SOURCE |
1414 | |
1415 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1416 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1417 | |
1418 | === modified file 'po/vi.po' |
1419 | --- po/vi.po 2016-11-03 06:11:46 +0000 |
1420 | +++ po/vi.po 2016-11-04 14:22:30 +0000 |
1421 | @@ -14,8 +14,13 @@ |
1422 | "MIME-Version: 1.0\n" |
1423 | "Content-Type: text/plain; charset=UTF-8\n" |
1424 | "Content-Transfer-Encoding: 8bit\n" |
1425 | +<<<<<<< TREE |
1426 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1427 | "X-Generator: Launchpad (build 18246)\n" |
1428 | +======= |
1429 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1430 | +"X-Generator: Launchpad (build 18204)\n" |
1431 | +>>>>>>> MERGE-SOURCE |
1432 | |
1433 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1434 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1435 | |
1436 | === modified file 'po/zh_CN.po' |
1437 | --- po/zh_CN.po 2016-11-03 06:11:46 +0000 |
1438 | +++ po/zh_CN.po 2016-11-04 14:22:30 +0000 |
1439 | @@ -14,8 +14,13 @@ |
1440 | "MIME-Version: 1.0\n" |
1441 | "Content-Type: text/plain; charset=UTF-8\n" |
1442 | "Content-Transfer-Encoding: 8bit\n" |
1443 | +<<<<<<< TREE |
1444 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1445 | "X-Generator: Launchpad (build 18246)\n" |
1446 | +======= |
1447 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1448 | +"X-Generator: Launchpad (build 18204)\n" |
1449 | +>>>>>>> MERGE-SOURCE |
1450 | |
1451 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1452 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1453 | |
1454 | === modified file 'po/zh_HK.po' |
1455 | --- po/zh_HK.po 2016-11-03 06:11:46 +0000 |
1456 | +++ po/zh_HK.po 2016-11-04 14:22:30 +0000 |
1457 | @@ -14,8 +14,13 @@ |
1458 | "MIME-Version: 1.0\n" |
1459 | "Content-Type: text/plain; charset=UTF-8\n" |
1460 | "Content-Transfer-Encoding: 8bit\n" |
1461 | +<<<<<<< TREE |
1462 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1463 | "X-Generator: Launchpad (build 18246)\n" |
1464 | +======= |
1465 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1466 | +"X-Generator: Launchpad (build 18204)\n" |
1467 | +>>>>>>> MERGE-SOURCE |
1468 | |
1469 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1470 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1471 | |
1472 | === modified file 'po/zh_TW.po' |
1473 | --- po/zh_TW.po 2016-11-03 06:11:46 +0000 |
1474 | +++ po/zh_TW.po 2016-11-04 14:22:30 +0000 |
1475 | @@ -14,8 +14,13 @@ |
1476 | "MIME-Version: 1.0\n" |
1477 | "Content-Type: text/plain; charset=UTF-8\n" |
1478 | "Content-Transfer-Encoding: 8bit\n" |
1479 | +<<<<<<< TREE |
1480 | "X-Launchpad-Export-Date: 2016-11-03 06:11+0000\n" |
1481 | "X-Generator: Launchpad (build 18246)\n" |
1482 | +======= |
1483 | +"X-Launchpad-Export-Date: 2016-09-22 08:54+0000\n" |
1484 | +"X-Generator: Launchpad (build 18204)\n" |
1485 | +>>>>>>> MERGE-SOURCE |
1486 | |
1487 | #: import/Ubuntu/Content/ContentPeerPicker10.qml:48 |
1488 | #: import/Ubuntu/Content/ContentPeerPicker11.qml:49 |
1489 | |
1490 | === modified file 'src/com/ubuntu/content/common.h' |
1491 | --- src/com/ubuntu/content/common.h 2014-03-07 19:28:54 +0000 |
1492 | +++ src/com/ubuntu/content/common.h 2016-11-04 14:22:30 +0000 |
1493 | @@ -20,10 +20,12 @@ |
1494 | #define COMMON_H |
1495 | |
1496 | #include <QLatin1String> |
1497 | +#include <QString> |
1498 | |
1499 | const QLatin1String HUB_SERVICE_NAME = QLatin1String("com.ubuntu.content.dbus.Service"); |
1500 | const QLatin1String HUB_SERVICE_PATH = QLatin1String("/"); |
1501 | const QLatin1String HANDLER_NAME_TEMPLATE = QLatin1String("com.ubuntu.content.handler.%1"); |
1502 | const QLatin1String HANDLER_BASE_PATH = QLatin1String("/com/ubuntu/content/handler"); |
1503 | +const QString PEER_PICKER_APP_ID = QLatin1String("content-hub-peer-picker"); |
1504 | |
1505 | #endif // COMMON_H |
1506 | |
1507 | === modified file 'src/com/ubuntu/content/detail/com.ubuntu.content.Service.xml' |
1508 | --- src/com/ubuntu/content/detail/com.ubuntu.content.Service.xml 2016-08-24 20:23:44 +0000 |
1509 | +++ src/com/ubuntu/content/detail/com.ubuntu.content.Service.xml 2016-11-04 14:22:30 +0000 |
1510 | @@ -75,5 +75,18 @@ |
1511 | </signal> |
1512 | <signal name="PasteboardChanged"> |
1513 | </signal> |
1514 | + <method name="RequestPeerForTypeByAppId"> |
1515 | + <arg name="type_id" type="s" direction="in" /> |
1516 | + <arg name="handler_id" type="s" direction="in" /> |
1517 | + <arg name="app_id" type="s" direction="in" /> |
1518 | + </method> |
1519 | + <method name="SelectPeerForAppId"> |
1520 | + <arg name="app_id" type="s" direction="in" /> |
1521 | + <arg name="peer_id" type="s" direction="in" /> |
1522 | + </method> |
1523 | + <signal name="PeerSelected"> |
1524 | + <arg name="app_id" type="s" /> |
1525 | + <arg name="peer_id" type="s" /> |
1526 | + </signal> |
1527 | </interface> |
1528 | </node> |
1529 | |
1530 | === modified file 'src/com/ubuntu/content/detail/service.cpp' |
1531 | --- src/com/ubuntu/content/detail/service.cpp 2016-08-24 20:23:44 +0000 |
1532 | +++ src/com/ubuntu/content/detail/service.cpp 2016-11-04 14:22:30 +0000 |
1533 | @@ -185,6 +185,29 @@ |
1534 | return QDBusVariant(QVariant::fromValue(peer)); |
1535 | } |
1536 | |
1537 | +void cucd::Service::RequestPeerForTypeByAppId(const QString& type_id, const QString& handler_id, const QString& app_id) |
1538 | +{ |
1539 | + TRACE() << Q_FUNC_INFO << app_id; |
1540 | + // FIXME: add logic to launch peer picker |
1541 | + if (d->app_manager->is_application_started(PEER_PICKER_APP_ID.toStdString())) |
1542 | + d->app_manager->stop_application(PEER_PICKER_APP_ID.toStdString()); |
1543 | + gchar * uris[] = { |
1544 | + g_strdup(app_id.toStdString().c_str()), |
1545 | + g_strdup(type_id.toStdString().c_str()), |
1546 | + g_strdup(handler_id.toStdString().c_str()), |
1547 | + NULL |
1548 | + }; |
1549 | + |
1550 | + d->app_manager->invoke_application(PEER_PICKER_APP_ID.toStdString(), uris); |
1551 | +} |
1552 | + |
1553 | +void cucd::Service::SelectPeerForAppId(const QString& app_id, const QString& peer_id) |
1554 | +{ |
1555 | + TRACE() << Q_FUNC_INFO << app_id << peer_id; |
1556 | + // FIXME: lock this down to only all the peer picker APP_ID to call this |
1557 | + Q_EMIT(PeerSelected(app_id, peer_id)); |
1558 | +} |
1559 | + |
1560 | QDBusObjectPath cucd::Service::CreateImportFromPeer(const QString& peer_id, const QString& app_id, const QString& type_id) |
1561 | { |
1562 | TRACE() << Q_FUNC_INFO; |
1563 | |
1564 | === modified file 'src/com/ubuntu/content/detail/service.h' |
1565 | --- src/com/ubuntu/content/detail/service.h 2016-08-24 20:23:44 +0000 |
1566 | +++ src/com/ubuntu/content/detail/service.h 2016-11-04 14:22:30 +0000 |
1567 | @@ -72,6 +72,8 @@ |
1568 | void DownloadManagerError(QString); |
1569 | bool HasPending(const QString&); |
1570 | QDBusVariant PeerForId(const QString&); |
1571 | + void RequestPeerForTypeByAppId(const QString&, const QString&, const QString&); |
1572 | + void SelectPeerForAppId(const QString&, const QString&); |
1573 | |
1574 | private: |
1575 | QByteArray getPasteData(const QString &surfaceId, int pasteId); |
1576 | @@ -85,6 +87,7 @@ |
1577 | Q_SIGNALS: |
1578 | void PasteFormatsChanged(const QStringList &formats); |
1579 | void PasteboardChanged(); |
1580 | + void PeerSelected(const QString &app_id, const QString &peer_id); |
1581 | |
1582 | private Q_SLOTS: |
1583 | void handle_imports(int); |
1584 | |
1585 | === modified file 'src/com/ubuntu/content/hub.cpp' |
1586 | --- src/com/ubuntu/content/hub.cpp 2016-08-24 20:23:44 +0000 |
1587 | +++ src/com/ubuntu/content/hub.cpp 2016-11-04 14:22:30 +0000 |
1588 | @@ -89,6 +89,9 @@ |
1589 | QObject::connect(d->service, SIGNAL(PasteboardChanged()), |
1590 | this, |
1591 | SIGNAL(pasteboardChanged())); |
1592 | + QObject::connect(d->service, SIGNAL(PeerSelected(const QString&, const QString&)), |
1593 | + this, |
1594 | + SLOT(onPeerSelected(const QString&, const QString&))); |
1595 | } |
1596 | |
1597 | cuc::Hub::~Hub() |
1598 | @@ -101,6 +104,18 @@ |
1599 | return hub; |
1600 | } |
1601 | |
1602 | +void cuc::Hub::requestPeerForType(cuc::Type type, QString handler_id) |
1603 | +{ |
1604 | + TRACE() << Q_FUNC_INFO << type.id(); |
1605 | + d->service->RequestPeerForTypeByAppId(type.id(), handler_id, app_id()); |
1606 | +} |
1607 | + |
1608 | +void cuc::Hub::selectPeerForAppId(QString app_id, QString peer_id) |
1609 | +{ |
1610 | + TRACE() << Q_FUNC_INFO << app_id << peer_id; |
1611 | + d->service->SelectPeerForAppId(app_id, peer_id); |
1612 | +} |
1613 | + |
1614 | void cuc::Hub::requestPasteFormats() |
1615 | { |
1616 | auto reply = d->service->PasteFormats(); |
1617 | @@ -126,6 +141,13 @@ |
1618 | Q_EMIT(pasteFormatsChanged()); |
1619 | } |
1620 | |
1621 | +void cuc::Hub::onPeerSelected(const QString &id, const QString &peer_id) |
1622 | +{ |
1623 | + TRACE() << Q_FUNC_INFO << id << peer_id; |
1624 | + if (id == app_id()) |
1625 | + Q_EMIT(peerSelected(peer_id)); |
1626 | +} |
1627 | + |
1628 | bool cuc::Hub::eventFilter(QObject *obj, QEvent *event) |
1629 | { |
1630 | if (event->type() == QEvent::ApplicationActivate) |
1631 | |
1632 | === modified file 'tools/CMakeLists.txt' |
1633 | --- tools/CMakeLists.txt 2015-05-27 20:58:31 +0000 |
1634 | +++ tools/CMakeLists.txt 2016-11-04 14:22:30 +0000 |
1635 | @@ -1,4 +1,4 @@ |
1636 | -# Copyright © 2015 Canonical Ltd. |
1637 | +# Copyright © 2015-2016 Canonical Ltd. |
1638 | # |
1639 | # This program is free software: you can redistribute it and/or modify |
1640 | # it under the terms of the GNU General Public License version 3 as |
1641 | @@ -15,3 +15,4 @@ |
1642 | # Authored by: Ken VanDine <ken.vandine@canonical.com> |
1643 | |
1644 | add_subdirectory(send) |
1645 | +add_subdirectory(peer-picker) |
1646 | |
1647 | === added directory 'tools/peer-picker' |
1648 | === added file 'tools/peer-picker/CMakeLists.txt' |
1649 | --- tools/peer-picker/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
1650 | +++ tools/peer-picker/CMakeLists.txt 2016-11-04 14:22:30 +0000 |
1651 | @@ -0,0 +1,45 @@ |
1652 | +# Copyright © 2015 Canonical Ltd. |
1653 | +# |
1654 | +# This program is free software: you can redistribute it and/or modify |
1655 | +# it under the terms of the GNU General Public License version 3 as |
1656 | +# published by the Free Software Foundation. |
1657 | +# |
1658 | +# This program is distributed in the hope that it will be useful, |
1659 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1660 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1661 | +# GNU General Public License for more details. |
1662 | +# |
1663 | +# You should have received a copy of the GNU General Public License |
1664 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
1665 | +# |
1666 | +# Authored by: Ken VanDine <ken.vandine@canonical.com> |
1667 | + |
1668 | +include_directories( |
1669 | + ${CMAKE_CURRENT_BINARY_DIR} |
1670 | +) |
1671 | + |
1672 | +qt5_add_resources(RESOURCES qml.qrc) |
1673 | +add_executable( |
1674 | + content-hub-peer-picker |
1675 | + |
1676 | + main.cpp |
1677 | + ${RESOURCES} |
1678 | +) |
1679 | + |
1680 | +qt5_use_modules(content-hub-peer-picker Core Gui Quick Qml) |
1681 | + |
1682 | +set_target_properties( |
1683 | + content-hub-peer-picker |
1684 | + PROPERTIES |
1685 | + AUTOMOC TRUE |
1686 | +) |
1687 | + |
1688 | +install( |
1689 | + TARGETS content-hub-peer-picker |
1690 | + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
1691 | +) |
1692 | + |
1693 | +install( |
1694 | + FILES content-hub-peer-picker.desktop |
1695 | + DESTINATION ${CMAKE_INSTALL_DATADIR}/applications |
1696 | +) |
1697 | |
1698 | === added file 'tools/peer-picker/ContentPageHeader.qml' |
1699 | --- tools/peer-picker/ContentPageHeader.qml 1970-01-01 00:00:00 +0000 |
1700 | +++ tools/peer-picker/ContentPageHeader.qml 2016-11-04 14:22:30 +0000 |
1701 | @@ -0,0 +1,97 @@ |
1702 | + /* |
1703 | + * Copyright 2015 Canonical Ltd. |
1704 | + * |
1705 | + * This file is part of content-hub. |
1706 | + * |
1707 | + * webbrowser-app is free software; you can redistribute it and/or modify |
1708 | + * it under the terms of the GNU General Public License as published by |
1709 | + * the Free Software Foundation; version 3. |
1710 | + * |
1711 | + * webbrowser-app is distributed in the hope that it will be useful, |
1712 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1713 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1714 | + * GNU General Public License for more details. |
1715 | + * |
1716 | + * You should have received a copy of the GNU General Public License |
1717 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1718 | + */ |
1719 | + |
1720 | +import QtQuick 2.4 |
1721 | +import Ubuntu.Components 1.3 |
1722 | +import Ubuntu.Components.ListItems 1.3 as ListItem |
1723 | + |
1724 | +/* |
1725 | + * Component to use as page header in the ContentPeerPicker |
1726 | + * |
1727 | + * It has a cancel() signal fired when cancel button is pressed and a title |
1728 | + * property to set the page title |
1729 | + */ |
1730 | + |
1731 | +Column { |
1732 | + id: root |
1733 | + signal cancel() |
1734 | + property string title |
1735 | + |
1736 | + height: childrenRect.height |
1737 | + |
1738 | + anchors { |
1739 | + left: parent.left |
1740 | + right: parent.right |
1741 | + } |
1742 | + |
1743 | + Rectangle { |
1744 | + id: title |
1745 | + |
1746 | + height: units.gu(7) - divider.height |
1747 | + anchors { left: parent.left; right: parent.right } |
1748 | + |
1749 | + Rectangle { |
1750 | + anchors.fill: parent |
1751 | + color: Theme.palette.normal.background |
1752 | + } |
1753 | + |
1754 | + AbstractButton { |
1755 | + id: cancelButton |
1756 | + objectName: "cancelButton" |
1757 | + |
1758 | + width: height |
1759 | + |
1760 | + onTriggered: root.cancel() |
1761 | + anchors { |
1762 | + top: parent.top |
1763 | + bottom: parent.bottom |
1764 | + left: parent.left |
1765 | + } |
1766 | + |
1767 | + Rectangle { |
1768 | + anchors.fill: parent |
1769 | + anchors.leftMargin: units.gu(1) |
1770 | + anchors.rightMargin: units.gu(1) |
1771 | + color: "#E6E6E6" |
1772 | + visible: parent.pressed |
1773 | + } |
1774 | + |
1775 | + Icon { |
1776 | + name: "close" |
1777 | + anchors { |
1778 | + fill: parent |
1779 | + topMargin: units.gu(2) |
1780 | + bottomMargin: units.gu(2) |
1781 | + } |
1782 | + } |
1783 | + } |
1784 | + |
1785 | + Label { |
1786 | + anchors { |
1787 | + left: cancelButton.right |
1788 | + verticalCenter: parent.verticalCenter |
1789 | + } |
1790 | + text: root.title |
1791 | + fontSize: 'x-large' |
1792 | + } |
1793 | + } |
1794 | + |
1795 | + ListItem.Divider { |
1796 | + id: divider |
1797 | + } |
1798 | +} |
1799 | |
1800 | === added file 'tools/peer-picker/PeerPicker.qml' |
1801 | --- tools/peer-picker/PeerPicker.qml 1970-01-01 00:00:00 +0000 |
1802 | +++ tools/peer-picker/PeerPicker.qml 2016-11-04 14:22:30 +0000 |
1803 | @@ -0,0 +1,243 @@ |
1804 | +/* |
1805 | + * Copyright 2013-2015 Canonical Ltd. |
1806 | + * |
1807 | + * This program is free software; you can redistribute it and/or modify |
1808 | + * it under the terms of the GNU Lesser General Public License as published by |
1809 | + * the Free Software Foundation; version 3. |
1810 | + * |
1811 | + * This program is distributed in the hope that it will be useful, |
1812 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1813 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1814 | + * GNU Lesser General Public License for more details. |
1815 | + * |
1816 | + * You should have received a copy of the GNU Lesser General Public License |
1817 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1818 | + */ |
1819 | + |
1820 | +import QtQuick 2.4 |
1821 | +import Ubuntu.Components 1.3 |
1822 | +import Ubuntu.Components.Popups 1.3 |
1823 | +import Ubuntu.Components.ListItems 1.3 as ListItem |
1824 | +import Ubuntu.Content 1.3 |
1825 | + |
1826 | +Page { |
1827 | + id: root |
1828 | + anchors.fill: parent |
1829 | + |
1830 | + property var handler |
1831 | + property var contentType |
1832 | + property alias showTitle: pageHeader.visible |
1833 | + property var peer |
1834 | + property var customPeerModelLoader |
1835 | + property var completed: false |
1836 | + signal peerSelected |
1837 | + signal cancelPressed |
1838 | + |
1839 | + Rectangle { |
1840 | + id: background |
1841 | + anchors.fill: parent |
1842 | + color: Theme.palette.normal.background |
1843 | + } |
1844 | + |
1845 | + header: ContentPageHeader { |
1846 | + id: pageHeader |
1847 | + title: (handler === ContentHandler.Source) ? i18n.dtr("content-hub", "Choose from") : (handler === ContentHandler.Destination ? i18n.dtr("content-hub", "Open with") : i18n.dtr("content-hub", "Share to")) |
1848 | + onCancel: cancelPressed() |
1849 | + } |
1850 | + |
1851 | + Loader { |
1852 | + id: peerModelLoader |
1853 | + active: false |
1854 | + asynchronous: true |
1855 | + sourceComponent: ContentPeerModel { } |
1856 | + onLoaded: { |
1857 | + item.handler = root.handler; |
1858 | + item.contentType = root.contentType; |
1859 | + } |
1860 | + } |
1861 | + |
1862 | + Component.onCompleted: { |
1863 | + if (root.visible) { |
1864 | + if (customPeerModelLoader) { |
1865 | + customPeerModelLoader.active = true; |
1866 | + } else { |
1867 | + peerModelLoader.active = true; |
1868 | + } |
1869 | + } |
1870 | + completed = true; |
1871 | + } |
1872 | + |
1873 | + onVisibleChanged: { |
1874 | + if (completed) { |
1875 | + if (customPeerModelLoader) { |
1876 | + customPeerModelLoader.active = true; |
1877 | + } else { |
1878 | + peerModelLoader.active = true; |
1879 | + } |
1880 | + } |
1881 | + } |
1882 | + |
1883 | + onHandlerChanged: { |
1884 | + if (!customPeerModelLoader && peerModelLoader.item) { |
1885 | + appPeers.model = undefined; // Clear grid view |
1886 | + peerModelLoader.item.handler = root.handler; |
1887 | + appPeers.model = peerModelLoader.item.peers; |
1888 | + } |
1889 | + } |
1890 | + |
1891 | + onContentTypeChanged: { |
1892 | + if (!customPeerModelLoader && peerModelLoader.item) { |
1893 | + appPeers.model = undefined; // Clear grid view |
1894 | + peerModelLoader.item.contentType = root.contentType; |
1895 | + appPeers.model = peerModelLoader.item.peers; |
1896 | + } |
1897 | + } |
1898 | + |
1899 | + Component { |
1900 | + id: peerDelegate |
1901 | + Item { |
1902 | + width: units.gu(13.5) |
1903 | + height: units.gu(16) |
1904 | + AbstractButton { |
1905 | + width: parent.width |
1906 | + height: icon.height + label.height |
1907 | + UbuntuShape { |
1908 | + id: icon |
1909 | + anchors { |
1910 | + top: parent.top |
1911 | + horizontalCenter: parent.horizontalCenter |
1912 | + } |
1913 | + radius: "medium" |
1914 | + width: units.gu(8) |
1915 | + height: units.gu(7.5) |
1916 | + sourceHorizontalAlignment: Image.AlignHCenter |
1917 | + sourceVerticalAlignment: Image.AlignVCenter |
1918 | + source: Image { |
1919 | + id: image |
1920 | + objectName: "image" |
1921 | + sourceSize { width: icon.width; height: icon.height } |
1922 | + asynchronous: true |
1923 | + cache: false |
1924 | + source: "image://content-hub/" + modelData.appId |
1925 | + } |
1926 | + } |
1927 | + |
1928 | + Label { |
1929 | + id: label |
1930 | + objectName: "label" |
1931 | + anchors { |
1932 | + baseline: icon.bottom |
1933 | + baselineOffset: units.gu(2) |
1934 | + left: parent.left |
1935 | + right: parent.right |
1936 | + leftMargin: units.gu(1) |
1937 | + rightMargin: units.gu(1) |
1938 | + } |
1939 | + |
1940 | + opacity: 0.9 |
1941 | + fontSize: "small" |
1942 | + horizontalAlignment: Text.AlignHCenter |
1943 | + text: modelData.name || modelData.appId |
1944 | + wrapMode: Text.Wrap |
1945 | + maximumLineCount: 2 |
1946 | + } |
1947 | + |
1948 | + onClicked: { |
1949 | + peer = modelData |
1950 | + peerSelected() |
1951 | + } |
1952 | + } |
1953 | + |
1954 | + } |
1955 | + } |
1956 | + |
1957 | + ListItem.Header { |
1958 | + id: appTitle |
1959 | + anchors.top: header.visible ? header.bottom : parent.top |
1960 | + text: i18n.dtr("content-hub", "Apps") |
1961 | + } |
1962 | + |
1963 | + Rectangle { |
1964 | + id: apps |
1965 | + color: ColorUtils.luminance(background.color) >= 0.85 ? "#FFFFFF" : Qt.darker(background.color) |
1966 | + clip: true |
1967 | + anchors { |
1968 | + left: parent.left |
1969 | + right: parent.right |
1970 | + top: appTitle.bottom |
1971 | + bottom: devTitle.visible ? devTitle.top : parent.bottom |
1972 | + bottomMargin: units.gu(1) |
1973 | + } |
1974 | + |
1975 | + Flickable { |
1976 | + anchors.fill: parent |
1977 | + |
1978 | + ResponsiveGridView { |
1979 | + id: appPeers |
1980 | + anchors.fill: parent |
1981 | + minimumHorizontalSpacing: units.gu(0.5) |
1982 | + maximumNumberOfColumns: 6 |
1983 | + delegateWidth: units.gu(11) |
1984 | + delegateHeight: units.gu(11) |
1985 | + verticalSpacing: units.gu(2) |
1986 | + model: customPeerModelLoader ? customPeerModelLoader.item.peers : peerModelLoader.item.peers |
1987 | + delegate: peerDelegate |
1988 | + |
1989 | + Label { |
1990 | + anchors.top: parent.top |
1991 | + anchors.topMargin: units.gu(2.5) |
1992 | + anchors.horizontalCenter: parent.horizontalCenter |
1993 | + width: parent.width - units.gu(5) |
1994 | + wrapMode: Text.WordWrap |
1995 | + horizontalAlignment: Text.AlignHCenter |
1996 | + text: root.handler === ContentHandler.Source ? i18n.dtr("content-hub", "Sorry, there aren't currently any apps installed that can provide this type of content.") : i18n.dtr("content-hub", "Sorry, there aren't currently any apps installed that can handle this type of content.") |
1997 | + visible: appPeers.model ? appPeers.model.length == 0 : false |
1998 | + } |
1999 | + } |
2000 | + } |
2001 | + } |
2002 | + |
2003 | + ListItem.Header { |
2004 | + id: devTitle |
2005 | + // TODO: make this visible when we have a way to populate devices |
2006 | + visible: false |
2007 | + anchors { |
2008 | + left: parent.left |
2009 | + right: parent.right |
2010 | + top: apps.bottom |
2011 | + } |
2012 | + text: i18n.dtr("content-hub", "Devices") |
2013 | + } |
2014 | + |
2015 | + Rectangle { |
2016 | + id: devices |
2017 | + // TODO: make this visible when we have a way to populate devices |
2018 | + visible: false |
2019 | + color: ColorUtils.luminance(background.color) >= 0.85 ? "#FFFFFF" : Qt.darker(background.color) |
2020 | + width: parent.width |
2021 | + radius: 0 |
2022 | + anchors { |
2023 | + left: parent.left |
2024 | + right: parent.right |
2025 | + top: devTitle.bottom |
2026 | + bottom: parent.bottom |
2027 | + bottomMargin: units.gu(1) |
2028 | + } |
2029 | + |
2030 | + Flickable { |
2031 | + anchors.fill: parent |
2032 | + |
2033 | + ResponsiveGridView { |
2034 | + id: devPeers |
2035 | + anchors.fill: parent |
2036 | + minimumHorizontalSpacing: units.gu(0.5) |
2037 | + maximumNumberOfColumns: 6 |
2038 | + delegateWidth: units.gu(11) |
2039 | + delegateHeight: units.gu(9.5) |
2040 | + verticalSpacing: units.gu(2) |
2041 | + delegate: peerDelegate |
2042 | + } |
2043 | + } |
2044 | + } |
2045 | + |
2046 | +} |
2047 | |
2048 | === added file 'tools/peer-picker/ResponsiveGridView.qml' |
2049 | --- tools/peer-picker/ResponsiveGridView.qml 1970-01-01 00:00:00 +0000 |
2050 | +++ tools/peer-picker/ResponsiveGridView.qml 2016-11-04 14:22:30 +0000 |
2051 | @@ -0,0 +1,92 @@ |
2052 | +/* |
2053 | + * Copyright (C) 2013 Canonical, Ltd. |
2054 | + * |
2055 | + * This program is free software; you can redistribute it and/or modify |
2056 | + * it under the terms of the GNU General Public License as published by |
2057 | + * the Free Software Foundation; version 3. |
2058 | + * |
2059 | + * This program is distributed in the hope that it will be useful, |
2060 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
2061 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2062 | + * GNU General Public License for more details. |
2063 | + * |
2064 | + * You should have received a copy of the GNU General Public License |
2065 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
2066 | + */ |
2067 | + |
2068 | +import QtQuick 2.0 |
2069 | +import Ubuntu.Components 1.3 |
2070 | + |
2071 | +/* |
2072 | + Essentially a GridView where you can specify the maximum number of columns it can have. |
2073 | + */ |
2074 | +Item { |
2075 | + property int minimumHorizontalSpacing: units.gu(0.5) |
2076 | + // property int minimumNumberOfColumns: 2 // FIXME: not implemented |
2077 | + property int maximumNumberOfColumns: 6 |
2078 | + readonly property int columns: gridView.columns |
2079 | + property alias verticalSpacing: gridView.verticalSpacing |
2080 | + readonly property alias margins: gridView.margin |
2081 | + property int delegateWidth |
2082 | + property int delegateHeight |
2083 | + property alias model: gridView.model |
2084 | + property alias delegate: gridView.delegate |
2085 | + readonly property int cellWidth: gridView.cellWidth |
2086 | + readonly property int cellHeight: gridView.cellHeight |
2087 | + property alias interactive: gridView.interactive |
2088 | + readonly property alias flicking: gridView.flicking |
2089 | + readonly property alias moving: gridView.moving |
2090 | + readonly property alias pressDelay: gridView.pressDelay |
2091 | + property alias highlightIndex: gridView.highlightIndex |
2092 | + readonly property alias currentItem: gridView.currentItem |
2093 | + |
2094 | + function contentHeightForRows(rows) { |
2095 | + return rows * cellHeight + verticalSpacing |
2096 | + } |
2097 | + |
2098 | + GridView { |
2099 | + id: gridView |
2100 | + objectName: "responsiveGridViewGrid" |
2101 | + anchors { |
2102 | + fill: parent |
2103 | + leftMargin: margin/2 |
2104 | + rightMargin: margin/2 |
2105 | + topMargin: verticalSpacing |
2106 | + } |
2107 | + |
2108 | + onModelChanged: { |
2109 | + clip = parent.height != contentHeightForRows(Math.ceil(model.count / columns)) |
2110 | + } |
2111 | + |
2112 | + function pixelToGU(value) { |
2113 | + return Math.floor(value / units.gu(1)); |
2114 | + } |
2115 | + |
2116 | + function spacingForColumns(columns) { |
2117 | + // spacing between columns as an integer number of GU, the remainder goes in the margins |
2118 | + var spacingGU = pixelToGU(allocatableHorizontalSpace / columns); |
2119 | + return units.gu(spacingGU); |
2120 | + } |
2121 | + |
2122 | + function columnsForSpacing(spacing) { |
2123 | + // minimum margin is half of the spacing |
2124 | + return Math.max(1, Math.floor(parent.width / (delegateWidth + spacing))); |
2125 | + } |
2126 | + |
2127 | + property real allocatableHorizontalSpace: parent.width - columns * delegateWidth |
2128 | + property int columns: Math.min(columnsForSpacing(minimumHorizontalSpacing), maximumNumberOfColumns) |
2129 | + property real horizontalSpacing: spacingForColumns(columns) |
2130 | + property real verticalSpacing: horizontalSpacing |
2131 | + property int margin: allocatableHorizontalSpace - columns * horizontalSpacing |
2132 | + property int highlightIndex: -1 |
2133 | + |
2134 | + cellWidth: delegateWidth + horizontalSpacing |
2135 | + cellHeight: delegateHeight + verticalSpacing |
2136 | + |
2137 | + onHighlightIndexChanged: { |
2138 | + if (highlightIndex != -1) { |
2139 | + currentIndex = highlightIndex |
2140 | + } |
2141 | + } |
2142 | + } |
2143 | +} |
2144 | |
2145 | === added file 'tools/peer-picker/content-hub-peer-picker.desktop' |
2146 | --- tools/peer-picker/content-hub-peer-picker.desktop 1970-01-01 00:00:00 +0000 |
2147 | +++ tools/peer-picker/content-hub-peer-picker.desktop 2016-11-04 14:22:30 +0000 |
2148 | @@ -0,0 +1,12 @@ |
2149 | +[Desktop Entry] |
2150 | +Name=Content Hub Peer Picker |
2151 | +Comment=Content Hub Peer Picker |
2152 | +Exec=content-hub-peer-picker %U |
2153 | +Icon= |
2154 | +Terminal=false |
2155 | +Type=Application |
2156 | +OnlyShowIn=Old |
2157 | +X-Ubuntu-Touch=true |
2158 | +X-Ubuntu-Single-Instance=false |
2159 | +X-Ubuntu-Splash-Show-Header=true |
2160 | +X-Ubuntu-Splash-Title=Choose from |
2161 | |
2162 | === added file 'tools/peer-picker/main.cpp' |
2163 | --- tools/peer-picker/main.cpp 1970-01-01 00:00:00 +0000 |
2164 | +++ tools/peer-picker/main.cpp 2016-11-04 14:22:30 +0000 |
2165 | @@ -0,0 +1,62 @@ |
2166 | +/* |
2167 | + * Copyright (C) 2016 Canonical, Ltd. |
2168 | + * |
2169 | + * This program is free software; you can redistribute it and/or modify |
2170 | + * it under the terms of the GNU General Public License as published by |
2171 | + * the Free Software Foundation; version 3. |
2172 | + * |
2173 | + * This program is distributed in the hope that it will be useful, |
2174 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
2175 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2176 | + * GNU General Public License for more details. |
2177 | + * |
2178 | + * You should have received a copy of the GNU General Public License |
2179 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
2180 | + */ |
2181 | + |
2182 | +#include <iostream> |
2183 | +#include <QGuiApplication> |
2184 | +#include <QObject> |
2185 | +#include <QQmlContext> |
2186 | +#include <QQuickView> |
2187 | + |
2188 | +int main(int argc, char *argv[]) |
2189 | +{ |
2190 | + QGuiApplication app(argc, argv); |
2191 | + |
2192 | + bool fullScreen = false; |
2193 | + QQuickView *view = new QQuickView; |
2194 | + QString requesterId; |
2195 | + QString contentType; |
2196 | + QString handlerType; |
2197 | + |
2198 | + QStringList args = app.arguments(); |
2199 | + |
2200 | + if (args.contains("--fullscreen")) { |
2201 | + args.removeAll("--fullscreen"); |
2202 | + fullScreen = true; |
2203 | + } |
2204 | + |
2205 | + if (args.count() < 4) { |
2206 | + std::cout << "Usage: content-hub-peer-picker app_id content_type handler_type\n"; |
2207 | + return 1; |
2208 | + } else { |
2209 | + requesterId = args.at(1); |
2210 | + contentType = args.at(2); |
2211 | + handlerType = args.at(3); |
2212 | + } |
2213 | + // Set context properties needed by the picker |
2214 | + view->rootContext()->setContextProperty("requesterId", requesterId); |
2215 | + view->rootContext()->setContextProperty("wellKnownType", contentType); |
2216 | + view->rootContext()->setContextProperty("handlerType", handlerType); |
2217 | + // Hook up quit |
2218 | + QObject::connect((QObject*)view->engine(), SIGNAL(quit()), (QObject*)&app, SLOT(quit())); |
2219 | + view->setSource(QUrl(QStringLiteral("qrc:/main.qml"))); |
2220 | + if (fullScreen) { |
2221 | + view->showFullScreen(); |
2222 | + } else { |
2223 | + view->show(); |
2224 | + } |
2225 | + return app.exec(); |
2226 | +} |
2227 | + |
2228 | |
2229 | === added file 'tools/peer-picker/main.qml' |
2230 | --- tools/peer-picker/main.qml 1970-01-01 00:00:00 +0000 |
2231 | +++ tools/peer-picker/main.qml 2016-11-04 14:22:30 +0000 |
2232 | @@ -0,0 +1,56 @@ |
2233 | +import QtQuick 2.4 |
2234 | +import Ubuntu.Components 1.3 |
2235 | +import Ubuntu.Content 1.3 |
2236 | + |
2237 | +MainView { |
2238 | + id: mainView |
2239 | + width: units.gu(50) |
2240 | + height: units.gu(75) |
2241 | + applicationName: "content-hub-peer-picker" |
2242 | + |
2243 | + PeerPicker { |
2244 | + showTitle: true |
2245 | + // Type of handler: Source, Destination, or Share |
2246 | + //handler: ContentHandler.Source |
2247 | + handler: { |
2248 | + if (handlerType === "source") |
2249 | + return ContentHandler.Source |
2250 | + if (handlerType === "share") |
2251 | + return ContentHandler.Share |
2252 | + else |
2253 | + return ContentHandler.Destination |
2254 | + } |
2255 | + // well know content type |
2256 | + contentType: { |
2257 | + if (wellKnownType === "documents") |
2258 | + return ContentType.Documents |
2259 | + else if (wellKnownType === "pictures") |
2260 | + return ContentType.Pictures |
2261 | + else if (wellKnownType === "music") |
2262 | + return ContentType.Music |
2263 | + else if (wellKnownType === "contacts") |
2264 | + return ContentType.Contacts |
2265 | + else if (wellKnownType === "videos") |
2266 | + return ContentType.Videos |
2267 | + else if (wellKnownType === "links") |
2268 | + return ContentType.Links |
2269 | + else if (wellKnownType === "ebooks") |
2270 | + return ContentType.EBooks |
2271 | + else if (wellKnownType === "text") |
2272 | + return ContentType.Text |
2273 | + else if (wellKnownType === "events") |
2274 | + return ContentType.Events |
2275 | + else |
2276 | + return ContentType.All |
2277 | + } |
2278 | + |
2279 | + onPeerSelected: { |
2280 | + ContentHub.selectPeerForAppId(requesterId, peer.appId) |
2281 | + Qt.quit() |
2282 | + } |
2283 | + |
2284 | + onCancelPressed: { |
2285 | + Qt.quit() |
2286 | + } |
2287 | + } |
2288 | +} |
2289 | |
2290 | === added file 'tools/peer-picker/qml.qrc' |
2291 | --- tools/peer-picker/qml.qrc 1970-01-01 00:00:00 +0000 |
2292 | +++ tools/peer-picker/qml.qrc 2016-11-04 14:22:30 +0000 |
2293 | @@ -0,0 +1,9 @@ |
2294 | +<RCC> |
2295 | + <qresource prefix="/"> |
2296 | + <file>main.qml</file> |
2297 | + <file>ContentPageHeader.qml</file> |
2298 | + <file>PeerPicker.qml</file> |
2299 | + <file>ResponsiveGridView.qml</file> |
2300 | + </qresource> |
2301 | +</RCC> |
2302 | + |
FAILED: Continuous integration, rev:314 /jenkins. canonical. com/system- apps/job/ lp-content- hub-ci/ 74/ /jenkins. canonical. com/system- apps/job/ build/1919/ console /jenkins. canonical. com/system- apps/job/ build-0- fetch/1920 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1759 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1759/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1759/console /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 1759 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 1759/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1759 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1759/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1759 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1759/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 1759 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 1759/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1759 /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1759/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1759/console /jenkins. canonical. com/system- apps/job/ build-2- binpkg/ arch=i386, release= yakkety/ 1759/console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/system- apps/job/ lp-content- hub-ci/ 74/rebuild
https:/