1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-23 17:05:28 +02:00

misc: remove Qt version macros wrapping metatype declarations

We've committed to Qt 5.15 as a minumum requirement for this client
for now.

Gitlab: #581
Change-Id: If3fd6a7bcb4a02dec31ad4e26b41f7650230cc28
This commit is contained in:
Andreas Traczyk 2020-08-13 12:02:38 -04:00 committed by Sébastien Blin
parent 2eb16d7442
commit f5eb41e2a1
6 changed files with 0 additions and 12 deletions

View file

@ -123,6 +123,4 @@ private:
QMetaObject::Connection contactAddedConnection_;
QMetaObject::Connection addedToConferenceConnection_;
};
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_DECLARE_METATYPE(AccountAdapter *)
#endif

View file

@ -94,6 +94,4 @@ signals:
void contactModelChanged();
void deviceModelChanged();
};
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_DECLARE_METATYPE(ClientWrapper *)
#endif

View file

@ -472,6 +472,4 @@ private:
MapStringString contentDrafts_;
MapStringString lastConferencees_;
};
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_DECLARE_METATYPE(LRCInstance *)
#endif

View file

@ -277,6 +277,4 @@ private:
*/
AVModel &avModel_;
};
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_DECLARE_METATYPE(RenderManager *)
#endif

View file

@ -238,6 +238,4 @@ public:
Q_INVOKABLE void set_FileUserCert(QString text);
Q_INVOKABLE void set_FilePrivateKey(QString text);
};
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_DECLARE_METATYPE(SettingsAdaptor *)
#endif

View file

@ -560,6 +560,4 @@ public:
private:
QClipboard *clipboard_;
};
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_DECLARE_METATYPE(UtilsAdapter *)
#endif