Changeset View
Changeset View
Standalone View
Standalone View
src/icon.h
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | 82 | Q_SIGNALS: | |||
---|---|---|---|---|---|
88 | void selectedChanged(); | 88 | void selectedChanged(); | ||
89 | void isMaskChanged(); | 89 | void isMaskChanged(); | ||
90 | void colorChanged(); | 90 | void colorChanged(); | ||
91 | void fallbackChanged(const QString &fallback); | 91 | void fallbackChanged(const QString &fallback); | ||
92 | 92 | | |||
93 | protected: | 93 | protected: | ||
94 | void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override; | 94 | void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override; | ||
95 | QImage findIcon(const QSize& size); | 95 | QImage findIcon(const QSize& size); | ||
96 | void handleFinished(QNetworkAccessManager* qnam, QNetworkReply* reply); | 96 | void handleFinished(QNetworkReply* reply); | ||
97 | void handleReadyRead(QNetworkReply* reply); | 97 | void handleRedirect(QNetworkReply* reply); | ||
98 | QIcon::Mode iconMode() const; | 98 | QIcon::Mode iconMode() const; | ||
99 | bool guessMonochrome(const QImage &img); | 99 | bool guessMonochrome(const QImage &img); | ||
100 | 100 | | |||
101 | private: | 101 | private: | ||
102 | Kirigami::PlatformTheme *m_theme = nullptr; | 102 | Kirigami::PlatformTheme *m_theme = nullptr; | ||
103 | QPointer<QNetworkReply> m_networkReply; | 103 | QPointer<QNetworkReply> m_networkReply; | ||
104 | QHash<int, bool> m_monochromeHeuristics; | 104 | QHash<int, bool> m_monochromeHeuristics; | ||
105 | QVariant m_source; | 105 | QVariant m_source; | ||
Show All 11 Lines |