/***************************************************************************
                          optconf.h  -  description
                             -------------------
    begin                : Sun Jan 23 2000
    copyright            : (C) 2000 by Frank von Daak
    email                : frank.fun@skydsl.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef OPTCONF_H
#define OPTCONF_H

#include <klocale.h>

#include <qwidget.h>
#include <qframe.h>
#include <qlabel.h>
#include <qspinbox.h>
#include <qcheckbox.h>
#include <qtooltip.h>

/**
  *@author Frank von Daak
  */

class OptConf : public QFrame  {
   Q_OBJECT
public: 
	OptConf(QWidget *parent=0, const char *name=0);
	~OptConf();

	  bool output;
	  QLabel *numRetryLab, *waitRetryLab, *timeoutLab, *quotaLab, *levLab;
	  QSpinBox *numRetryBox, *waitRetryBox, *timeoutSpBox, *quotaSpBox, *levSpBox;
  	  QCheckBox *recursiveBox, *retryBox, *logBox, *noclubBox, *timestampBox,
  	  			*serveranswerBox, *timeoutBox, *quotaBox, *folderBox, *forcedirBox,
  	  			*nodnsBox, *nohostBox, *cacheBox, *spiderBox, *convlinkBox,
  	  			*followftpBox, *nooutputBox, *passFtpBox;
public slots:
	void activateRecursive();
	void setRetrys();
	void setTimeout();
	void setQuota();
	void checkDirOpt();
	void noOutput();
};

#endif