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

#ifndef UI_SERVERWIZARD_H
#define UI_SERVERWIZARD_H

#include <ntqvariant.h>
#include <kwizard.h>
#include "upnp/upnprouter.h"

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQWidget;
class TQGroupBox;
class TQLabel;
class TQLineEdit;
class TQButtonGroup;
class TQCheckBox;

class ServerWizard : public KWizard
{
    TQ_OBJECT

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

    TQWidget* ServerName;
    TQGroupBox* groupBox1;
    TQLabel* textLabel1;
    TQLabel* textLabel2;
    TQLineEdit* serverName;
    TQWidget* ContactInfo;
    TQGroupBox* groupBox1_2;
    TQLabel* textLabel1_2;
    TQLineEdit* contactMail;
    TQLabel* textLabel2_2;
    TQWidget* ServerReachability;
    TQGroupBox* groupBox1_2_2;
    TQLabel* textLabel1_2_2;
    TQButtonGroup* buttonGroup1;
    TQCheckBox* ForwardPorts;
    TQLabel* RoutersFound;

public slots:
    virtual void showPage( TQWidget * w );
    virtual void setServerType( int id );
    virtual void accept();
    virtual void reject();
    virtual void displayDiscoveredRouters();

signals:
    void setUpServer( int );

protected:
    TQGridLayout* ServerNameLayout;
    TQGridLayout* groupBox1Layout;
    TQSpacerItem* spacer1;
    TQGridLayout* ContactInfoLayout;
    TQGridLayout* groupBox1_2Layout;
    TQSpacerItem* spacer2;
    TQGridLayout* ServerReachabilityLayout;
    TQGridLayout* groupBox1_2_2Layout;
    TQGridLayout* buttonGroup1Layout;

protected slots:
    virtual void languageChange();

private:
    void init();

};

#endif // SERVERWIZARD_H
