Commit 88fb9bf3 authored by Krzysztof Nowicki's avatar Krzysztof Nowicki Committed by Laurent Montel
Browse files

Allow retrieving the resource interfaces



This will enable manipulating debug methods of the interface
directly.
Signed-off-by: Krzysztof Nowicki's avatarKrzysztof Nowicki <krissn@op.pl>
parent ad96da08
......@@ -178,6 +178,21 @@ bool TestAgentInstance::setOnline(bool online, bool wait)
}
}
OrgKdeAkonadiEwsSettingsInterface &TestAgentInstance::settingsInterface() const
{
return *mEwsSettingsInterface;
}
OrgKdeAkonadiEwsWalletInterface &TestAgentInstance::walletInterface() const
{
return *mEwsWalletInterface;
}
Akonadi::AgentInstance &TestAgentInstance::instance() const
{
return *mEwsInstance;
}
MsgRootInboxDialogEntry::MsgRootInboxDialogEntry(const QString &rootId, const QString &inboxId, const QString &descr, const ReplyCallback &callback)
: DialogEntryBase(descr, callback)
{
......
......@@ -75,6 +75,10 @@ public:
bool setOnline(bool online, bool wait);
bool isValid() const;
OrgKdeAkonadiEwsSettingsInterface &settingsInterface() const;
OrgKdeAkonadiEwsWalletInterface &walletInterface() const;
Akonadi::AgentInstance &instance() const;
private:
QScopedPointer<Akonadi::AgentInstance> mEwsInstance;
QScopedPointer<OrgKdeAkonadiEwsSettingsInterface> mEwsSettingsInterface;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment