KAbstractViewAdapter Class
Interface used by KFilePreviewGenerator to generate previews for files. More...
Header: | #include <KAbstractViewAdapter> |
CMake: | find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOFileWidgets) |
Inherits: | QObject |
Public Types
enum | Signal { ScrollBarValueChanged, IconSizeChanged } |
Public Functions
| KAbstractViewAdapter(QObject *parent) |
virtual void | connect(KAbstractViewAdapter::Signal signal, QObject *receiver, const char *slot) = 0 |
virtual QSize | iconSize() const = 0 |
virtual QAbstractItemModel * | model() const = 0 |
virtual QPalette | palette() const = 0 |
virtual QRect | visibleArea() const = 0 |
virtual QRect | visualRect(const QModelIndex &index) const = 0 |
Detailed Description
The interface allows KFilePreviewGenerator to be independent from the view implementation.
Member Type Documentation
enum KAbstractViewAdapter::Signal
Constant | Value |
KAbstractViewAdapter::ScrollBarValueChanged | 0 |
KAbstractViewAdapter::IconSizeChanged | 1 |