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

#ifndef KBEARTRANSFERQUEUECONFIGWIDGET_H
#define KBEARTRANSFERQUEUECONFIGWIDGET_H

//////////////////////////////////////////////////////////////////////
// Qt specific include files
#include <qwidget.h>
//////////////////////////////////////////////////////////////////////
// KDE specific include files
//////////////////////////////////////////////////////////////////////
// System specific include files
//////////////////////////////////////////////////////////////////////
// Application specific include files
#include "kbearconfigwidgetiface.h"

class KLineEdit;
class QCheckBox;
class QSpinBox;
class KConfig;

namespace KBear {

	/**
	@author Björn Sahlström
	*/
	class TransferQueueConfigWidget : public KBearConfigWidgetIface {
			Q_OBJECT
		public:
			/** */
			TransferQueueConfigWidget(KConfig*, QWidget *parent, const char *name);
			/** */
			~TransferQueueConfigWidget();
			/** */
			virtual bool helpEnabled() const { return false; }
			/** */
			virtual void readSettings( bool defaultSettings = false );
			/** */
			virtual void saveSettings();
		signals:
			void newSettings();
		private slots:
			void slotQueueToggled( bool enable );
		private:
			KLineEdit* m_disconnectCommandLineEdit;
			QCheckBox* m_sysShutdownCheckBox;
			QCheckBox* m_queueCheckBox;
			KConfig* m_config;
			QSpinBox* m_countSpinBox;
	};

};

#endif
