]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/private/kbaloorolesprovider.h
Add clang-format and format code as in Frameworks
[dolphin.git] / src / kitemviews / private / kbaloorolesprovider.h
index 97ed58f2b189df9bc00e50cbf268fb634adc28e9..5ff33e1c61147a0ded36b7b98278078dbfdbebcf 100644 (file)
@@ -14,8 +14,9 @@
 #include <QSet>
 #include <QVariant>
 
-namespace Baloo {
-    class File;
+namespace Baloo
+{
+class File;
 }
 
 /**
@@ -27,7 +28,7 @@ namespace Baloo {
 class DOLPHIN_EXPORT KBalooRolesProvider
 {
 public:
-    static KBalooRolesProviderinstance();
+    static KBalooRolesProvider &instance();
     virtual ~KBalooRolesProvider();
 
     /**
@@ -39,8 +40,7 @@ public:
      * @return Values for the roles \a roles that can be determined from the file
      *         with the URL \a url.
      */
-    QHash<QByteArray, QVariant> roleValues(const Baloo::File& file,
-                                           const QSet<QByteArray>& roles) const;
+    QHash<QByteArray, QVariant> roleValues(const Baloo::File &file, const QSet<QByteArray> &roles) const;
 
 protected:
     KBalooRolesProvider();
@@ -52,4 +52,3 @@ private:
 };
 
 #endif
-