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

#ifndef UI_CONFIGPOWER_H
#define UI_CONFIGPOWER_H

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

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQLabel;
class KIntNumInput;
class TQButtonGroup;
class TQRadioButton;

class ConfigPower : public TQWidget
{
    TQ_OBJECT

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

    TQLabel* lb_sleepTimeout;
    KIntNumInput* sb_sleepTimeout;
    TQLabel* lb_wakeupPeriod;
    TQButtonGroup* bg_packets;
    TQRadioButton* bg_allPackets;
    TQRadioButton* rb_unicastOnly;
    TQRadioButton* rb_multicastOnly;
    KIntNumInput* sb_wakeupPeriod;

public slots:
    virtual void load( const IfConfig & ifconfig );
    virtual void save( IfConfig & ifconfig );

protected:
    TQGridLayout* ConfigPowerLayout;
    TQVBoxLayout* bg_packetsLayout;

protected slots:
    virtual void languageChange();

};

#endif // CONFIGPOWER_H
