]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincontextmenu.h
Clarify some adjectives.
[dolphin.git] / src / dolphincontextmenu.h
index f3f075717c8f6d7c62a12cfa22d8fd87d90430eb..b8920b7e2101fdafda8f4e7dba49b3a3625f298a 100644 (file)
 #ifndef DOLPHINCONTEXTMENU_H
 #define DOLPHINCONTEXTMENU_H
 
-#include <kdedesktopmimetype.h>
+#include <kdesktopfileactions.h>
 #include <kfileitem.h>
 #include <kservice.h>
 #include <kurl.h>
 
-#include <QObject>
-#include <QString>
-#include <QVector>
+#include <QtCore/QObject>
+
+#include <QtCore/QVector>
 
 class KMenu;
 class KFileItem;
@@ -99,7 +99,7 @@ private:
      *                       services.
      */
     QList<QAction*> insertActionItems(KMenu* popup,
-                                      QVector<KDEDesktopMimeType::Service>& actionsVector);
+                                      QVector<KDesktopFileActions::Service>& actionsVector);
 
     /**
      * Returns true, if 'menu' contains already
@@ -109,7 +109,8 @@ private:
                        const QString& entryName) const;
 
 private:
-    struct Entry {
+    struct Entry
+    {
         int type;
         QString name;
         QString filePath;     // empty for separator
@@ -118,7 +119,8 @@ private:
         QString comment;
     };
 
-    enum ContextType {
+    enum ContextType
+    {
         NoContext = 0,
         ItemContext = 1,
         TrashContext = 2