]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincategorydrawer.h
Restore the "Edit->Selection" menu from Konqueror 3 for file
[dolphin.git] / src / dolphincategorydrawer.h
index a8e196b0de4637673189e76de66b5be6fba58896..2eb0e310cb29ba8d9be08f1c702e1a6560997879 100644 (file)
@@ -1,5 +1,4 @@
-/**
-  * This file is part of the KDE project
+/* 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
   * 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