~mardy/ubuntu-system-settings-online-accounts/lp1420847

« back to all changes in this revision

Viewing changes to tests/online-accounts-service/mock/request-mock.cpp

  • Committer: Alberto Mardegan
  • Date: 2014-11-18 11:56:01 UTC
  • mto: (214.1.1 click-plugins-qprocess)
  • mto: This revision was merged to the branch mainline in revision 220.
  • Revision ID: alberto.mardegan@canonical.com-20141118115601-0sclep3ly8pvlnjz
WIP

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    m_clientApparmorProfile = profile;
48
48
}
49
49
 
 
50
void RequestPrivate::setProviderId(const QString &provider)
 
51
{
 
52
    m_providerId = provider;
 
53
}
 
54
 
50
55
Request::Request(const QDBusConnection &connection,
51
56
                 const QDBusMessage &message,
52
57
                 const QVariantMap &parameters,
95
100
    return d->m_message.interface();
96
101
}
97
102
 
 
103
QString Request::providerId() const {
 
104
    Q_D(const Request);
 
105
    return d->m_providerId;
 
106
}
 
107
 
98
108
void Request::cancel()
99
109
{
100
110
    setCanceled();