summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanmodule.h
blob: 1418ce85453d56ffd843f504f9c593c6909addff (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
#ifndef WLAN_MODULE_H
#define WLAN_MODULE_H

#include "module.h"

class WLANModule : Module{

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

  virtual void setProfile(QString newProfile);
  virtual bool isOwner(Interface *);
  virtual QWidget *configure(Interface *i, QTabWidget **tabWidget);
  virtual QWidget *information(Interface *i, QTabWidget **tabWidget);
  virtual QList<Interface> getInterfaces();
  virtual void possibleNewInterfaces(QMap<QString, QString> &){};
  virtual Interface *addNewInterface(QString name);
  virtual bool remove(Interface* i);
  virtual QString getPixmapName(Interface* i);

private:
  QList<Interface> list;
  QString profile;

};

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

#endif

// wlanmodule.h