]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphiniconsview.h
dolphin can use soprano, but nowhere in apps we look for it; so search for Soprano...
[dolphin.git] / src / dolphiniconsview.h
index 6c3f6fa3858e170137674322d4fad7f761f614aa..06c41786822c537dac08863ad9621ae60fce5e08 100644 (file)
@@ -25,6 +25,7 @@
 #include <kfileitem.h>
 #include <kfileitemdelegate.h>
 
+#include <QFont>
 #include <QSize>
 #include <QStyleOption>
 
@@ -89,16 +90,19 @@ private:
     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;