/**********************************************************************

	--- Qt Architect generated file ---

	File: DeviceDlg.h
	Last generated: Mon Feb 8 20:10:15 1999

	DO NOT EDIT!!!  This file will be automatically
	regenerated by qtarch.  All changes will be lost.

 *********************************************************************/

#ifndef DeviceDlg_included
#define DeviceDlg_included

#include <qdialog.h>
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qlabel.h>
#include <qcombobox.h>
#include <qpixmap.h>

class DeviceDlg : public QDialog
{
    Q_OBJECT

public:

    DeviceDlg
    (
        QWidget* parent = NULL,
        const char* name = NULL
    );

    virtual ~DeviceDlg();

    void insertIcon(QPixmap *icon);
    int type();
    const char* name();
    const char* path();
    int icon();
    const char* host();
    const char* login();
    const char* passwd();
    const char* port();
    bool keep();
    bool anonymous();

public slots:


protected slots:
	void typeChanged(int index);
	void anonymousClicked();


protected:
	QLabel* dlgedit_LabelType;
	QComboBox* dlgedit_DeviceType;
	QLabel* dlgedit_LabelName;
	QLineEdit* dlgedit_DeviceName;
	QLabel* dlgedit_LabelPath;
	QLineEdit* dlgedit_DevicePath;
	QLabel* dlgedit_LabelHost;
	QLineEdit* dlgedit_DeviceHost;
	QLabel* dlgedit_LabelLogin;
	QLineEdit* dlgedit_DeviceLogin;
	QLabel* dlgedit_LabelPasswd;
	QLineEdit* dlgedit_DevicePasswd;
	QLabel* dlgedit_LabelPort;
	QLineEdit* dlgedit_DevicePort;
	QCheckBox* dlgedit_DeviceKeep;
	QCheckBox* dlgedit_CheckAnonymous;
	QLabel* dlgedit_LabelIcon;
	QComboBox* dlgedit_DeviceIcon;
};

inline void DeviceDlg::insertIcon(QPixmap *icon)
{ dlgedit_DeviceIcon->insertItem(*icon);}

inline int DeviceDlg::type()
{ return dlgedit_DeviceType->currentItem();}

inline const char* DeviceDlg::name()
{ return dlgedit_DeviceName->text();}

inline const char* DeviceDlg::path()
{ return dlgedit_DevicePath->text();}

inline const char* DeviceDlg::host()
{ return dlgedit_DeviceHost->text();}

inline const char* DeviceDlg::login()
{ return dlgedit_DeviceLogin->text();}

inline const char* DeviceDlg::passwd()
{ return dlgedit_DevicePasswd->text();}

inline int DeviceDlg::icon()
{ return dlgedit_DeviceIcon->currentItem();}

inline bool DeviceDlg::keep()
{ return dlgedit_DeviceKeep->isChecked();}

inline bool DeviceDlg::anonymous()
{ return dlgedit_CheckAnonymous->isChecked();}

inline const char* DeviceDlg::port()
{ return dlgedit_DevicePort->text();}

#endif // DeviceDlgData_included
