summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanmodule.h
blob: 027ecec23fd16126750386e37f41d3f1c5ca45e2 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef WLAN_MODULE_H
#define WLAN_MODULE_H

#include "module.h"

class WLANImp;

class WLANModule : Module{

signals:
  void updateInterface(Interface *i);
	
public:
  WLANModule();
  ~WLANModule();


  virtual const QString type() {return "wlan";};
  void setProfile(const QString &newProfile);
  bool isOwner(Interface *);
  QWidget *configure(Interface *i);
  QWidget *information(Interface *i);
  QList<Interface> getInterfaces();
  void possibleNewInterfaces(QMap<QString, QString> &){};
  Interface *addNewInterface(const QString &name);
  bool remove(Interface* i);
  QString getPixmapName(Interface* i);
  virtual void receive(const QCString&, const QByteArray&);

private:
  QWidget *getInfo(Interface*);
  WLANImp *wlanconfigWiget;
  QList<Interface> list;
  QString profile;

};

extern "C"
{
  void* create_plugin() {
    return new WLANModule();
  }
};

#endif

// wlanmodule.h