]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kitemlistheader.h
Merge branch 'Applications/14.12' into frameworks
[dolphin.git] / src / kitemviews / kitemlistheader.h
index d0aae7fc1e81f16710c8d212de94771e447281f8..b361b912bacbe5b474a2047383966e529ab06936 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef KITEMLISTHEADER_H
 #define KITEMLISTHEADER_H
 
-#include <libdolphin_export.h>
+#include "libdolphin_export.h"
 #include <QHash>
 #include <QObject>
 
@@ -65,6 +65,11 @@ public:
      */
     void setColumnWidths(const QHash<QByteArray, qreal>& columnWidths);
 
+    /**
+     * @return The column width that is required to show the role unclipped.
+     */
+    qreal preferredColumnWidth(const QByteArray& role) const;
+
 signals:
     /**
      * Is emitted if the width of a column has been adjusted by the user with the mouse