Changeset View
Changeset View
Standalone View
Standalone View
wallpapers/image/image.h
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 72 | public: | |||
---|---|---|---|---|---|
94 | //this is for QML use | 94 | //this is for QML use | ||
95 | Q_INVOKABLE void addUrl(const QString &url); | 95 | Q_INVOKABLE void addUrl(const QString &url); | ||
96 | Q_INVOKABLE void addUrls(const QStringList &urls); | 96 | Q_INVOKABLE void addUrls(const QStringList &urls); | ||
97 | 97 | | |||
98 | Q_INVOKABLE void addSlidePath(const QString &path); | 98 | Q_INVOKABLE void addSlidePath(const QString &path); | ||
99 | Q_INVOKABLE void removeSlidePath(const QString &path); | 99 | Q_INVOKABLE void removeSlidePath(const QString &path); | ||
100 | Q_INVOKABLE void openFolder(const QString& path); | 100 | Q_INVOKABLE void openFolder(const QString& path); | ||
101 | 101 | | |||
102 | Q_INVOKABLE void getNewWallpaper(QQuickItem *ctx = nullptr); | | |||
103 | Q_INVOKABLE void showFileDialog(); | 102 | Q_INVOKABLE void showFileDialog(); | ||
104 | 103 | | |||
105 | Q_INVOKABLE void addUsersWallpaper(const QString &file); | 104 | Q_INVOKABLE void addUsersWallpaper(const QString &file); | ||
106 | Q_INVOKABLE void commitDeletion(); | 105 | Q_INVOKABLE void commitDeletion(); | ||
107 | 106 | | |||
108 | Q_INVOKABLE void toggleSlide(const QString &path, bool checked); | 107 | Q_INVOKABLE void toggleSlide(const QString &path, bool checked); | ||
109 | 108 | | |||
110 | RenderingMode renderingMode() const; | 109 | RenderingMode renderingMode() const; | ||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |