Commit 3922463b authored by Alexandre Lision's avatar Alexandre Lision

LRC: adapt to API changes

Refs #70829

Change-Id: I7336d928ed781fe2c438a3b6180758ac6ef5a4c4
parent c65310c1
......@@ -51,7 +51,7 @@ public:
virtual QVariant icon () const override;
virtual bool isEnabled() const override;
virtual QByteArray id () const override;
virtual SupportedFeatures supportedFeatures() const override;
virtual FlagPack<SupportedFeatures> supportedFeatures() const override;
private:
CollectionMediator<Person>* m_pMediator;
......
......@@ -229,9 +229,9 @@ bool AddressBookBackend::reload()
return false;
}
CollectionInterface::SupportedFeatures AddressBookBackend::supportedFeatures() const
FlagPack<AddressBookBackend::SupportedFeatures> AddressBookBackend::supportedFeatures() const
{
return (CollectionInterface::SupportedFeatures) (
return (FlagPack<SupportedFeatures>) (
CollectionInterface::SupportedFeatures::NONE |
CollectionInterface::SupportedFeatures::LOAD |
CollectionInterface::SupportedFeatures::CLEAR |
......
......@@ -39,7 +39,7 @@ public:
virtual QVariant icon () const override;
virtual bool isEnabled() const override;
virtual QByteArray id () const override;
virtual SupportedFeatures supportedFeatures() const override;
virtual FlagPack<SupportedFeatures> supportedFeatures() const override;
int daysSince(time_t timestamp);
......
......@@ -266,9 +266,9 @@ bool MinimalHistoryBackend::reload()
return false;
}
CollectionInterface::SupportedFeatures MinimalHistoryBackend::supportedFeatures() const
FlagPack<CollectionInterface::SupportedFeatures> MinimalHistoryBackend::supportedFeatures() const
{
return (CollectionInterface::SupportedFeatures) (
return (FlagPack<SupportedFeatures>) (
CollectionInterface::SupportedFeatures::NONE |
CollectionInterface::SupportedFeatures::LOAD |
CollectionInterface::SupportedFeatures::CLEAR |
......
Markdown is supported
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