1
/* ============================================================
2
* Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
4
* Copyright 2005 by Renchi Raju
6
* This program is free software; you can redistribute it
7
* and/or modify it under the terms of the GNU General
8
* Public License as published by the Free Software Foundation;
9
* either version 2, or (at your option)
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
* ============================================================ */
18
#ifndef SEARCHRESULTSITEM_H
19
#define SEARCHRESULTSITEM_H
21
#include <qiconview.h>
23
class SearchResultsItem : public QIconViewItem
25
friend class SearchResultsView;
29
SearchResultsItem(QIconView* view, const QString& path);
34
void calcRect(const QString& text = QString::null);
35
void paintItem (QPainter * p, const QColorGroup & cg);
36
void paintFocus (QPainter * p, const QColorGroup & cg);
40
static QPixmap* m_basePixmap;
46
#endif /* SEARCHRESULTSITEM_H */