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

#ifndef UI_CONFIGCRYPTO_H
#define UI_CONFIGCRYPTO_H

#include <ntqvariant.h>
#include <ntqwidget.h>
#include "wificonfig.h"

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQGroupBox;
class TQLabel;
class KLineEdit;
class TQButtonGroup;
class TQRadioButton;
class TQComboBox;

class ConfigCrypto : public TQWidget
{
    TQ_OBJECT

public:
    ConfigCrypto( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~ConfigCrypto();

    TQGroupBox* gb_keys;
    TQLabel* lb_key1;
    TQLabel* lb_key3;
    TQLabel* lb_key2;
    TQLabel* lb_key4;
    TQLabel* format_1;
    TQLabel* format_2;
    KLineEdit* le_key1;
    KLineEdit* le_key2;
    TQLabel* format_3;
    KLineEdit* le_key3;
    TQLabel* format_4;
    KLineEdit* le_key4;
    TQButtonGroup* bg_cryptoMode;
    TQRadioButton* rb_openMode;
    TQRadioButton* rb_restrictMode;
    TQLabel* lb_useKey;
    TQComboBox* cmb_activeKey;

    void load( const IfConfig & ifconfig );
    void save( IfConfig & ifconfig );

public slots:
    virtual void slotUpdateKey1Status( const TQString & key );
    virtual void slotUpdateKey2Status( const TQString & key );
    virtual void slotUpdateKey3Status( const TQString & key );
    virtual void slotUpdateKey4Status( const TQString & key );

protected:
    TQGridLayout* ConfigCryptoLayout;
    TQSpacerItem* spacer3;
    TQGridLayout* gb_keysLayout;
    TQHBoxLayout* bg_cryptoModeLayout;

protected slots:
    virtual void languageChange();

};

#endif // CONFIGCRYPTO_H
