~ubuntu-branches/ubuntu/trusty/ubuntu-system-settings-online-accounts/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/client/tst_client.pro

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Alberto Mardegan, Ubuntu daily release
  • Date: 2013-11-08 11:39:33 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20131108113933-xrv3xr4gparbjdq7
Tags: 0.2~+14.04.20131108-0ubuntu1
[ Alberto Mardegan ]
* Move OnlineAccounts into its own process Create the
  com.canonical.OnlineAccountsUI D-Bus service, whose task is to show
  the Online Accounts UI when clients request it. The SystemSettings
  plugin for Online Accounts becomes just one of these clients. The
  rationale for the change is that it has been decided by design that
  multiple instances of Online Accounts can be running at the same
  time (because the Online Accounts UI will be modal to the
  application which invoked it), yet they need to coordinate in order
  to avoid the creation of the same account in two different places.
  Using a single process with multiple windows and exposing a D-Bus
  API seems to be the best approach and is also flexible enough to
  accomodate for most of the design changes that might pop up. It's
  also a proved approach, used already by signon-ui (in fact, most of
  the code is taken from there). .
* Implement window transiency Let the service know what QWindow is
  active in the client process, and use that one as parent window for
  the transiency.

[ Ubuntu daily release ]
* Automatic snapshot from revision 77

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include(../../common-project-config.pri)
 
2
 
 
3
TARGET = tst_client
 
4
 
 
5
CONFIG += \
 
6
    debug
 
7
 
 
8
QT += \
 
9
    core \
 
10
    dbus \
 
11
    testlib
 
12
 
 
13
SOURCES += \
 
14
    tst_client.cpp
 
15
 
 
16
INCLUDEPATH += \
 
17
    $${TOP_SRC_DIR}/client \
 
18
    $${TOP_SRC_DIR}
 
19
 
 
20
QMAKE_LIBDIR = $${TOP_BUILD_DIR}/client/OnlineAccountsClient
 
21
QMAKE_RPATHDIR = $${QMAKE_LIBDIR}
 
22
LIBS += -lonline-accounts-client
 
23
 
 
24
check.commands = "xvfb-run -a dbus-test-runner -t ./$${TARGET}"
 
25
check.depends = $${TARGET}
 
26
QMAKE_EXTRA_TARGETS += check