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

#ifndef KBEARTRANSFERVIEWPAGE_H
#define KBEARTRANSFERVIEWPAGE_H

//////////////////////////////////////////////////////////////////////
// Qt specific include files
#include <qpoint.h>
//////////////////////////////////////////////////////////////////////
// KDE specific include files
#include <klistview.h>
//////////////////////////////////////////////////////////////////////
// System specific include files
//////////////////////////////////////////////////////////////////////
// Application specific include files

namespace KBear {
	class TransferGroup;
	class KBearTransferView;


	/**
	@author Björn Sahlström
	*/
	class TransferViewPage : public KListView {
			Q_OBJECT
		public:
			/** */
			TransferViewPage( KBearTransferView* parent, const char* name = 0 );
			/** */
			~TransferViewPage();
			/** */
			void setAllOpen( bool );
			/** */
			void addTransferGroup( TransferGroup* group );
			/** */
			int checkNameIntegrity( const QString& name ) const;
		signals:
			void remove( TransferViewPage* );
		private:
			KBearTransferView* m_transferView;
	};

};

#endif
