/***************************************************************************
                          sshdialog.h  -  description                              
                             -------------------                                         
    begin                : Fri Sep 17 1999                                           
    copyright            : (C) 1999 by Andrea Rizzi                         
    email                : rizzi@kde.org                                     
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 SSHDIALOG_H
#define SSHDIALOG_H

//Generated area. DO NOT EDIT!!!(begin)
#include <qwidget.h>
#include <kcombobox.h>
#include <qcheckbox.h>
#include <qpushbutton.h>
#include <ktmainwindow.h> 
#include <qspinbox.h>
#include <qlineedit.h>
#include <qlabel.h>


#include <qdialog.h>
#include <ksimpleconfig.h>
#include <kapp.h>
#include <kglobal.h>
#include <klocale.h>
/**
  *@author Andrea Rizzi
  */

class SshDialog : public QDialog {
   Q_OBJECT
public: 
	SshDialog(QWidget *parent=0, const char *name=0);
	~SshDialog();
  void setHostName(QString host);
  void setUserName(QString user);
protected: 
	KApplication *app;
  KConfig *config;
  void initDialog();
  void fillCombo();
	//Generated area. DO NOT EDIT!!!(begin)
	KComboBox *KCombo_1;
	QCheckBox *QCheckBox_1;
	QPushButton *QPushButton_1;
	QSpinBox *QSpinBox_1;
	QLineEdit *QLineEdit_1;
	QLabel *QLabel_1;
	QLabel *Hostname;
	QPushButton *QPushButton_2;
	QPushButton *QPushButton_3;
  QPushButton *QPushButton_4;
	//Generated area. DO NOT EDIT!!!(end)
public slots:
  void launch();
  void about();
  void options();
  void enableSpin(bool);
  void userChanged(const QString& a);
  void hostChanged(const QString &);
private:
};

#endif










