#include <kfileitem.h>
#include <kfileitemdelegate.h>
+#include <QFont>
#include <QSize>
#include <QStyleOption>
KFileItem itemForIndex(const QModelIndex& index) const;
/**
- * Returns true, if the QListView-issue in QListView::visualRect()
- * must be bypassed. TODO: this method is only temporary to have
- * a usable drag & drop behavior until the issue in Qt is fixed.
+ * Returns the number of additional information lines that should
+ * be shown below the item name.
*/
- bool bypassVisualRectIssue() const;
+ int additionalInfoCount() const;
private:
DolphinController* m_controller;
DolphinCategoryDrawer* m_categoryDrawer;
- QStyleOptionViewItem m_viewOptions;
+
+ QFont m_font;
+ QSize m_decorationSize;
+ QStyleOptionViewItem::Position m_decorationPosition;
+ Qt::Alignment m_displayAlignment;
QSize m_itemSize;