void setMimeTypeFilters(const QStringList &filters);
QStringList mimeTypeFilters() const;
+ void setExcludeMimeTypeFilter(const QStringList &filters);
+ QStringList excludeMimeTypeFilter() const;
+
struct RoleInfo {
QByteArray role;
QString translation;
*/
static QList<RoleInfo> rolesInformation();
+ /** set to true to hide application/x-trash files */
+ void setShowTrashMime(bool show);
+
Q_SIGNALS:
/**
* Is emitted if the loading of a directory has been started. It is
*/
void directoryLoadingCompleted();
+ /**
+ * Is emitted when the model is being refreshed (F5 key press)
+ */
+ void directoryRefreshing();
+
/**
* Is emitted after the loading of a directory has been canceled.
*/
*/
bool isChildItem(int index) const;
+ void scheduleResortAllItems();
+
/**
* Is invoked by KFileItemModelRolesUpdater and results in emitting the
* sortProgress signal with a percent-value of the progress.