]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kcategorydrawer.h
Improve the categorized view for the list mode
[dolphin.git] / src / kcategorydrawer.h
index c93e3fa40796a7dd0c26162f3a1253c5688bcf52..6af0d73cd25c2b4b2eee62d5b1bd70888d94214e 100644 (file)
@@ -1,6 +1,6 @@
 /**
   * This file is part of the KDE project
-  * Copyright (C) 2007 Rafael Fernández López <ereslibre@gmail.com>
+  * 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
@@ -46,7 +46,7 @@ public:
                               const QStyleOption &option,
                               QPainter *painter) const;
 
-    virtual int categoryHeight(const QStyleOption &option) const;
+    virtual int categoryHeight(const QModelIndex &index, const QStyleOption &option) const;
 };
 
 #endif // KCATEGORYDRAWER_H