/****************************************************************************
** Form interface generated from reading ui file 'knetattach.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_KNETATTACH_H
#define UI_KNETATTACH_H

#include <ntqvariant.h>
#include <kwizard.h>
#include <kurl.h>
#include <kwizard.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQWidget;
class TQButtonGroup;
class TQRadioButton;
class KComboBox;
class TQLabel;
class KLineEdit;
class TQSpinBox;
class TQCheckBox;

class KNetAttach : public KWizard
{
    TQ_OBJECT

public:
    KNetAttach( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
    ~KNetAttach();

    TQWidget* _folderType;
    TQButtonGroup* buttonGroup1;
    TQRadioButton* _webfolder;
    TQRadioButton* _ftp;
    TQRadioButton* _smb;
    TQRadioButton* _sftp;
    TQRadioButton* _fish;
    TQRadioButton* _recent;
    KComboBox* _recentConnectionName;
    TQLabel* textLabel1_2;
    TQWidget* _folderParameters;
    TQLabel* _informationText;
    TQLabel* textLabel4_2;
    KLineEdit* _connectionName;
    TQSpinBox* _port;
    KLineEdit* _path;
    TQLabel* _userText;
    TQLabel* textLabel1;
    TQLabel* _portText;
    KLineEdit* _user;
    KLineEdit* _host;
    TQLabel* textLabel3;
    TQCheckBox* _createIcon;
    TQCheckBox* _useEncryption;

public slots:
    virtual void setInformationText( const TQString & type );

protected:
    TQGridLayout* _folderTypeLayout;
    TQSpacerItem* spacer2_2;
    TQSpacerItem* spacer20;
    TQGridLayout* buttonGroup1Layout;
    TQGridLayout* _folderParametersLayout;
    TQSpacerItem* spacer20_2;
    TQSpacerItem* spacer5;

protected slots:
    virtual void languageChange();

private:
    TQString _type;

    virtual bool doConnectionTest( const KURL & url );
    virtual bool updateForProtocol( const TQString & protocol );

private slots:
    virtual void init();
    virtual void showPage( TQWidget * page );
    virtual void updateParametersPageStatus();
    virtual void finished();
    virtual void updatePort( bool encryption );
    virtual void updateFinishButtonText( bool save );

};

#endif // KNETATTACH_H
