summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanimp.h
blob: 310836c6c3839446a640cfdc4e9e984f574486e1 (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
33
34
#ifndef WLANIMP_H
#define WLANIMP_H

#include "wlan.h"
#include <qstringlist.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 );
  void setProfile(const QString &profile);

protected:
  void accept();

private slots:
  void typeChanged(int);
  
private:
  void parseSettingFile();
  void changeAndSaveSettingFile();
  
  InterfaceSetupImp *interfaceSetup;
  QStringList settingsFileText;
  QString currentProfile;
};

#endif