/***************************************************************************
                          kbeardirviewitem.h  -  description
                             -------------------
    begin                : Tue Jun 6 2000
    copyright            : (C) 2000 by Björn Sahlström
    email                : kbjorn@users.sourceforge.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef KBEARDIRVIEWITEM_H
#define KBEARDIRVIEWITEM_H

//////////////////////////////////////////////////////////////////////
// System include files
//#include <unistd.h>
//////////////////////////////////////////////////////////////////////
// Qt specific includes
//////////////////////////////////////////////////////////////////////
// KDE specific includes
#include <kfileitem.h>
//////////////////////////////////////////////////////////////////////
// Application specific includes
#include "kbeartreeviewitem.h"


namespace KBear {
	/**
	*@author Björn Sahlström
	**/
	class KBearDirViewItem : public KBearTreeViewItem, public KFileItem {
		public:
			/** */
			KBearDirViewItem( QListView* parent, const QString& text, KFileItem* fi, bool homeDir=false );
			/** */
			KBearDirViewItem( QListViewItem* parent, const QString& text, KFileItem* fi, bool homeDir=false );
			/** */
			virtual void setOpen( bool o );
		protected: // Private attributes
			bool isHome;
			static QPixmap* m_folderHome;
			class KBearDirViewItemPrivate;
			KBearDirViewItemPrivate* d;
	};
};

#endif
