]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincategorydrawer.h
* Use Nepomuk for getting the meta data instead of KFileMetaInfo.
[dolphin.git] / src / dolphincategorydrawer.h
index 6ddea3ea64f5d8c0960c9d0bfd69178a76abb768..2eb0e310cb29ba8d9be08f1c702e1a6560997879 100644 (file)
@@ -1,6 +1,5 @@
-/**
-  * This file is part of the KDE project
-  * Copyright (C) 2007 Rafael Fernández López <ereslibre@gmail.com>
+/* This file is part of the KDE project
+  * Copyright (C) 2007 Rafael Fernández López <ereslibre@kde.org>
   *
   * This library is free software; you can redistribute it and/or
   * modify it under the terms of the GNU Library General Public
   * along with this library; see the file COPYING.LIB.  If not, write to
   * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
   * Boston, MA 02110-1301, USA.
-  */
+*/
 
 #ifndef DOLPHINCATEGORYDRAWER_H
 #define DOLPHINCATEGORYDRAWER_H
 
-#include "kcategorydrawer.h"
+#include <kcategorydrawer.h>
 
 #include <QStyleOption>
 #include <QModelIndex>
@@ -39,7 +38,7 @@ public:
     virtual void drawCategory(const QModelIndex &index, int sortRole,
                               const QStyleOption &option, QPainter *painter) const;
 
-    virtual int categoryHeight(const QStyleOption &option) const;
+    virtual int categoryHeight(const QModelIndex &index, const QStyleOption &option) const;
 };
 
 #endif // DOLPHINCATEGORYDRAWER_H