]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/informationpanelcontent.h
Fix all krazy #include warnings
[dolphin.git] / src / panels / information / informationpanelcontent.h
index 6e4faec823f0e2bef97b011e7d47f57a2f07f6bf..a6c2b56228bfd2edc6bc09da04f7a1b90c2de2b4 100644 (file)
 #ifndef INFORMATIONPANELCONTENT_H
 #define INFORMATIONPANELCONTENT_H
 
-#include "config-baloo.h"
+#include <config-baloo.h>
+
 #include <KFileItem>
-#include <KUrl>
 
+#include <QUrl>
 #include <QPointer>
 #include <QWidget>
 
@@ -57,8 +58,8 @@ class InformationPanelContent : public QWidget
     Q_OBJECT
 
 public:
-    explicit InformationPanelContent(QWidget* parent = 0);
-    virtual ~InformationPanelContent();
+    explicit InformationPanelContent(QWidget* parent = nullptr);
+    ~InformationPanelContent() override;
 
     /**
      * Shows the meta information for the item \p item.
@@ -81,11 +82,11 @@ public:
     void configureSettings(const QList<QAction*>& customContextMenuActions);
 
 signals:
-    void urlActivated( const KUrl& url );
+    void urlActivated( const QUrl& url );
 
 protected:
     /** @see QObject::eventFilter() */
-    virtual bool eventFilter(QObject* obj, QEvent* event);
+    bool eventFilter(QObject* obj, QEvent* event) override;
 
 private slots:
     /**
@@ -121,7 +122,7 @@ private:
      * @return True, if the URL represents exactly a place.
      * @param url The url to check.
      */
-    bool applyPlace(const KUrl& url);
+    bool applyPlace(const QUrl& url);
 
     /**
      * Sets the text for the label \a m_nameLabel and assures that the