/*
 *  Copyright (C) 2007-2008 CMM Sigma Andrzej Chmielowiec <cmmsigma@cmmsigma.eu>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 3
 *  as published by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 */

// AdminOptionsDialog.h: interface for the AdminOptionsDialog class.
//
//////////////////////////////////////////////////////////////////////

#ifndef ADMINOPTIONSDIALOG_H
#define ADMINOPTIONSDIALOG_H

#include <QtGui>
#include "MailAccountWidget.h"
#include "AdminOptions.h"

class AdminOptionsDialog : public QDialog 
{
	Q_OBJECT;

public:
	void setData(AdminOptions &data);
	void getData(AdminOptions &data);
	MailAccountWidget *getMailWidget();
	AdminOptionsDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
	virtual ~AdminOptionsDialog();

private:
	MailAccountWidget *mailWidget;
	QPushButton *mAccept;
	QPushButton *mCancel;
	QTabWidget *mTab;
};

#endif
