/*********************************************************************************
* C++ Interface: kbearsystemtraydockplugin.h
* Description:
*                              
* Begin : sön jan 26 2003
* Author : Björn Sahlström <kbjorn@users.sourceforge.net> (C) 2003
* Copyright : See COPYING file that comes with this distribution
**********************************************************************************/

#ifndef KBEARSYSTEMTRAYDOCKPLUGIN_H
#define KBEARSYSTEMTRAYDOCKPLUGIN_H

//////////////////////////////////////////////////////////////////////
// Qt specific include files
#include <qguardedptr.h>
#include <qcheckbox.h>
//////////////////////////////////////////////////////////////////////
// KDE specific include files
//////////////////////////////////////////////////////////////////////
// System specific include files
//////////////////////////////////////////////////////////////////////
// Application specific include files
#include "kbearplugin.h"

class KBearSystemTrayDock;

/**
 *
 * @author Björn Sahlström
 **/
class KBearSystemTrayDockPlugin : public KBear::KBearPlugin {
	Q_OBJECT
public:
	/** */
	KBearSystemTrayDockPlugin(QObject* parent, const char* name, const QStringList& args = QStringList() );
	/** */
	~KBearSystemTrayDockPlugin();
public slots:
	/** */
	virtual void slotInit();
	/** */
	virtual void slotConfigWidget( KDialogBase* dlg );
	/** */
	virtual void slotConfigWidget( KWizard* wiz );
private slots:
	void slotShowSystemTrayIcon();
private:
	void showSystemTrayIcon( bool show );
private:
	KBearSystemTrayDock* m_dockWin;
	QGuardedPtr<QCheckBox> m_showSysTrayIconCheckBox;
};

#endif
