Changeset View
Changeset View
Standalone View
Standalone View
wallpapers/image/backgroundlistmodel.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 62 | public: | |||
---|---|---|---|---|---|
85 | void reload(); | 85 | void reload(); | ||
86 | void reload(const QStringList &selected); | 86 | void reload(const QStringList &selected); | ||
87 | void addBackground(const QString &path); | 87 | void addBackground(const QString &path); | ||
88 | Q_INVOKABLE int indexOf(const QString &path) const; | 88 | Q_INVOKABLE int indexOf(const QString &path) const; | ||
89 | virtual bool contains(const QString &bg) const; | 89 | virtual bool contains(const QString &bg) const; | ||
90 | 90 | | |||
91 | int count() const {return m_packages.size();}; | 91 | int count() const {return m_packages.size();}; | ||
92 | 92 | | |||
93 | Q_INVOKABLE void openContainingFolder(int rowIndex); | ||||
93 | Q_INVOKABLE void setPendingDeletion(int rowIndex, bool pendingDeletion); | 94 | Q_INVOKABLE void setPendingDeletion(int rowIndex, bool pendingDeletion); | ||
94 | const QStringList wallpapersAwaitingDeletion(); | 95 | const QStringList wallpapersAwaitingDeletion(); | ||
95 | 96 | | |||
96 | Q_SIGNALS: | 97 | Q_SIGNALS: | ||
97 | void countChanged(); | 98 | void countChanged(); | ||
98 | 99 | | |||
99 | protected Q_SLOTS: | 100 | protected Q_SLOTS: | ||
100 | void removeBackground(const QString &path); | 101 | void removeBackground(const QString &path); | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |