//
// C++ Interface: kbibgroupviewgroup
//
// Description: 
//
//
// Author: Thach Nguyen <thach.nguyen@rmit.edu.au>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef KBIBGROUPVIEWGROUP_H
#define KBIBGROUPVIEWGROUP_H

#include <qlistview.h>
#include "kbibgroupviewitem.h"

/**
	@author Thach Nguyen <thach.nguyen@rmit.edu.au>
*/
class KBibGroupViewGroup : public QListViewItem
{
//	Q_OBJECT
	public:
		KBibGroupViewGroup(QString value, QListView *parent = 0);

		~KBibGroupViewGroup();
	
		void addEntry(BibEntry *entry);
		virtual void paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align);
	private:
		QPtrList<KBibGroupViewItem> m_list;
		QString value;	

};
#endif
