]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
Don't reinterpret_cast QEvent
[dolphin.git] / src / views / dolphinview.h
index b40be89367e12a1bc2f145a2ba7a2afc04f02b5f..62ced31acd15b20a8ba7f910b68ea71b87889fdb 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <KFileItem>
 #include <KIO/Job>
-#include <config-baloo.h>
+#include "config-dolphin.h"
 #include <kio/fileundomanager.h>
 #include <kparts/part.h>
 
@@ -35,6 +35,7 @@ class VersionControlObserver;
 class ViewProperties;
 class QLabel;
 class QGraphicsSceneDragDropEvent;
+class QHelpEvent;
 class QRegularExpression;
 
 /**
@@ -634,7 +635,7 @@ private Q_SLOTS:
     void slotViewContextMenuRequested(const QPointF& pos);
     void slotHeaderContextMenuRequested(const QPointF& pos);
     void slotHeaderColumnWidthChangeFinished(const QByteArray& role, qreal current);
-    void slotLeadingPaddingWidthChanged(qreal width);
+    void slotSidePaddingWidthChanged(qreal width);
     void slotItemHovered(int index);
     void slotItemUnhovered(int index);
     void slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* event);
@@ -862,7 +863,7 @@ private:
 
     void updatePlaceholderLabel();
 
-    void tryShowNameToolTip(QEvent* event);
+    void tryShowNameToolTip(QHelpEvent* event);
 
 private:
     void updatePalette();