/*********************************************************************************
* C++ Interface: kbeardetailview.h
* Description:
*
* Begin : tis jul 1 2003
* Author : Björn Sahlström <kbjorn@users.sourceforge.net> (C) 2003
* Copyright : See COPYING file that comes with this distribution
**********************************************************************************/

#ifndef KBEARKBEARDETAILVIEW_H
#define KBEARKBEARDETAILVIEW_H

//////////////////////////////////////////////////////////////////////
// Qt specific include files
//////////////////////////////////////////////////////////////////////
// KDE specific include files
//////////////////////////////////////////////////////////////////////
// System specific include files
//////////////////////////////////////////////////////////////////////
// Application specific include files
#include "kfilednddetailview.h"
#include "kbearfileviewinterface.h"
#include "siteinfo.h"

namespace KBear {

	/**
	@author Björn Sahlström
	*/
	class KBearDetailView : public KFileDnDDetailView, virtual public KBearFileViewInterface {
			Q_OBJECT
		public:
			/** */
			KBearDetailView( QWidget *parent, const char* name, const SiteInfo& c );
			/** */
			~KBearDetailView();
			/** */
			virtual void rename();
		signals:
			/** */
			void rename( const KURL& oldURL, const KURL& newURL );
		protected slots: // Protected slots
			/** */
			void slotItemRenamed( QListViewItem*, const QString&, int );
		protected:
			/**
			* Create dragobject encoding the current selection and starts the drag
			*/
			virtual void startDrag();
		private:
			SiteInfo m_siteInfo;
	};

}

#endif
