1
/***************************************************************************
2
* Copyright (C) 2004 by Jens Dagerbo *
3
* jens.dagerbo@swipnet.se *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
12
#ifndef __FILELIST_ITEM_H__
13
#define __FILELIST_ITEM_H__
16
#include <qlistview.h>
21
#include <kdevpartcontroller.h>
23
class FileListItem : public QListViewItem
26
FileListItem( QListView * parent, KURL const & url, DocumentState = Clean );
30
DocumentState state();
31
void setState( DocumentState );
34
static void setActive( FileListItem * item );
37
virtual void setHeight( int ); // override of QListViewItem::setHeight()
38
virtual void paintCell( QPainter * p, const QColorGroup & cg, int column, int width, int align ); // override of QListViewItem::paintCell()
44
static FileListItem * s_activeItem;
52
// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off;