KIO
kmimetyperesolver.cpp
Go to the documentation of this file.
68 m_adapter->connect(KAbstractViewAdapter::ScrollBarValueChanged, q, SLOT(_k_slotViewportAdjusted()));
173 void KMimeTypeResolverPrivate::_k_slotRowsInserted(const QModelIndex& parent, int first, int last)
KMimeType::Ptr determineMimeType() const
Returns the mimetype of the file item.
Definition: kfileitem.cpp:779
Implementation of the view adapter for the default case when an instance of QAbstractItemView is used...
Definition: defaultviewadapter_p.h:34
KMimeTypeResolver(QAbstractItemView *view, KDirModel *model)
The mimetype resolver is made a child of the view.
Definition: kmimetyperesolver.cpp:108
Definition: kabstractviewadapter_p.h:36
int timeout
bool intersects(const QRect &rectangle) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Reimplemented from QAbstractItemModel. O(1)
Definition: kdirmodel.cpp:979
KFileItem itemForIndex(const QModelIndex &index) const
Return the fileitem for a given index.
Definition: kdirmodel.cpp:943
bool isValid() const
This class implements the "delayed-mimetype-determination" feature, for directory views...
Definition: kmimetyperesolver.h:45
bool isNull() const
QAbstractItemModel * sourceModel() const
const_iterator constBegin() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual QAbstractItemModel * model() const =0
const KShortcut & end()
A KFileItem is a generic class to handle a file, local or remote.
Definition: kfileitem.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.