summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanimp.h
blob: faa1674e3c42214d48d143b499403e760af8d9b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef WLANIMP_H
#define WLANIMP_H

#include "wlan.h"

class InterfaceSetupImp;
class Interface;
class Config;

class WLANImp : public WLAN { 
  Q_OBJECT

public:
  WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 );
  ~WLANImp( );
  void setProfile(QString &profile);

protected:
  void accept();

private:
  void readConfig();
  bool writeConfig();
  bool writeWirelessOpts( QString scheme = "*" );
  bool writeWlanngOpts( QString scheme = "*" );
  Config* config;
  InterfaceSetupImp *interfaceSetup;

};

#endif