X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/c8072005fada01d772595ec64adca449134f421e..b1c9b5126d:/src/dolphincategorydrawer.h diff --git a/src/dolphincategorydrawer.h b/src/dolphincategorydrawer.h index 6ddea3ea6..2eb0e310c 100644 --- a/src/dolphincategorydrawer.h +++ b/src/dolphincategorydrawer.h @@ -1,6 +1,5 @@ -/** - * This file is part of the KDE project - * Copyright (C) 2007 Rafael Fernández López +/* This file is part of the KDE project + * Copyright (C) 2007 Rafael Fernández López * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -16,12 +15,12 @@ * 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 #include #include @@ -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