mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Remove MOC for QtLottie.
This commit is contained in:
2
Telegram/ThirdParty/qtlottie
vendored
2
Telegram/ThirdParty/qtlottie
vendored
Submodule Telegram/ThirdParty/qtlottie updated: 4ca937ed0f...2fa825bfd9
@@ -66,8 +66,6 @@ public:
|
||||
|
||||
virtual BMBase *clone(BMBase *parent) const;
|
||||
|
||||
virtual bool setProperty(BMLiteral::PropertyType propertyType, QVariant value);
|
||||
|
||||
QString name() const;
|
||||
|
||||
int type() const;
|
||||
|
@@ -62,28 +62,6 @@ Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinUpdate);
|
||||
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRender);
|
||||
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRenderThread);
|
||||
|
||||
class BODYMOVIN_EXPORT BMLiteral : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum ElementType {
|
||||
Animation = 0,
|
||||
LayerImage,
|
||||
LayerNull,
|
||||
LayerPrecomp,
|
||||
LayerShape
|
||||
};
|
||||
|
||||
enum PropertyType {
|
||||
RectPosition,
|
||||
RectSize,
|
||||
RectRoundness
|
||||
};
|
||||
Q_ENUM(PropertyType)
|
||||
|
||||
explicit BMLiteral(QObject *parent = nullptr) : QObject(parent) {}
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // BMCONSTANTS_P_H
|
||||
|
@@ -63,8 +63,6 @@ public:
|
||||
|
||||
BMBase *clone(BMBase *parent) const override;
|
||||
|
||||
bool setProperty(BMLiteral::PropertyType propertyType, QVariant value) override;
|
||||
|
||||
void updateProperties(int frame) override;
|
||||
void render(LottieRenderer &renderer, int frame) const override;
|
||||
bool acceptsTrim() const override;
|
||||
|
@@ -8,12 +8,6 @@
|
||||
'includes': [
|
||||
'common.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'variables': {
|
||||
'moc_to_sources%': '1',
|
||||
},
|
||||
'moc_to_sources%': '<(moc_to_sources)',
|
||||
},
|
||||
'targets': [{
|
||||
'target_name': 'lib_lottie',
|
||||
'type': 'static_library',
|
||||
@@ -21,7 +15,6 @@
|
||||
'common.gypi',
|
||||
'openssl.gypi',
|
||||
'qt.gypi',
|
||||
'qt_moc.gypi',
|
||||
'telegram_linux.gypi',
|
||||
'pch.gypi',
|
||||
],
|
||||
|
Reference in New Issue
Block a user