]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinfileitemlistwidget.h
Port to new KStandardAction slot syntax
[dolphin.git] / src / views / dolphinfileitemlistwidget.h
index 87ed0333bccde23aa2b8d7edd0b1342a800877da..af73ac9377de712fd3ec0c8572fb536fc51d8ff9 100644 (file)
 #ifndef DOLPHINFILEITEMLISTWIDGET_H
 #define DOLPHINFILEITEMLISTWIDGET_H
 
-#include <libdolphin_export.h>
+#include "dolphin_export.h"
 
 #include <kitemviews/kfileitemlistwidget.h>
-#include <kversioncontrolplugin2.h>
+#include "versioncontrol/kversioncontrolplugin.h"
 
 /**
  * @brief Extends KFileItemListWidget to handle the "version" role.
  * The "version" role is set if version-control-plugins have been enabled.
  * @see KVersionControlPlugin
  */
-class LIBDOLPHINPRIVATE_EXPORT DolphinFileItemListWidget : public KFileItemListWidget
+class DOLPHIN_EXPORT DolphinFileItemListWidget : public KFileItemListWidget
 {
     Q_OBJECT
 
 public:
-    DolphinFileItemListWidget(QGraphicsItem* parent);
+    DolphinFileItemListWidget(KItemListWidgetInformant* informant, QGraphicsItem* parent);
     virtual ~DolphinFileItemListWidget();
 
 protected:
-    virtual void refreshCache();
+    virtual void refreshCache() Q_DECL_OVERRIDE;
 
 private:
-    static QPixmap overlayForState(KVersionControlPlugin2::ItemVersion version, int size);
+    static QPixmap overlayForState(KVersionControlPlugin::ItemVersion version, int size);
 
 };