: AbstractSortedDirModelFilter(model)
, mText()
, mMode(Contains)
- {}
-
- virtual bool needsSemanticInfo() const
{
- return false;
}
virtual bool acceptsIndex(const QModelIndex& index) const
DateFilter(SortedDirModel* model)
: AbstractSortedDirModelFilter(model)
, mMode(GreaterOrEqual)
- {}
-
- virtual bool needsSemanticInfo() const
{
- return false;
}
virtual bool acceptsIndex(const QModelIndex& index) const
return d->mRecentUrlsModel;
}
-AbstractSemanticInfoBackEnd* GvCore::semanticInfoBackEnd() const
-{
- return d->mDirModel->semanticInfoBackEnd();
-}
-
SortedDirModel* GvCore::sortedDirModel() const
{
return d->mDirModel;
namespace Gwenview
{
-class AbstractSemanticInfoBackEnd;
class MainWindow;
class SortedDirModel;
QAbstractItemModel* recentFoldersModel() const;
QAbstractItemModel* recentUrlsModel() const;
SortedDirModel* sortedDirModel() const;
- AbstractSemanticInfoBackEnd* semanticInfoBackEnd() const;
void addUrlToRecentFolders(KUrl);
void addUrlToRecentUrls(const KUrl& url);
}
// Workaround for QTBUG-38613
- // Another solution would be to port BalooSemanticInfoBackend::refreshAllTags
- // to be async rather than using exec().
qApp->sendPostedEvents(0, QEvent::DeferredDelete);
return app.exec();
return KDirSortFilterProxyModel::filterAcceptsRow(row, parent);
}
-AbstractSemanticInfoBackEnd* SortedDirModel::semanticInfoBackEnd() const
-{
- return 0;
-}
-
-
void SortedDirModel::applyFilters()
{
d->mDelayedApplyFiltersTimer.start();
namespace Gwenview
{
-class AbstractSemanticInfoBackEnd;
struct SortedDirModelPrivate;
return mModel;
}
- virtual bool needsSemanticInfo() const = 0;
/**
* Returns true if index should be accepted.
* Warning: index is a source index of SortedDirModel
void reload();
- AbstractSemanticInfoBackEnd* semanticInfoBackEnd() const;
-
-
bool hasDocuments() const;
public Q_SLOTS: