summaryrefslogtreecommitdiffstats
path: root/network/connectionprofile.h
diff options
context:
space:
mode:
Diffstat (limited to 'network/connectionprofile.h')
-rw-r--r--network/connectionprofile.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/network/connectionprofile.h b/network/connectionprofile.h
new file mode 100644
index 0000000..1f5bafa
--- /dev/null
+++ b/network/connectionprofile.h
@@ -0,0 +1,34 @@
+#ifndef CONNECTION_PROFILE_H
+#define CONNECTION_PROFILE_H
+
+#include <QString>
+
+class ConnectionProfile
+{
+ public:
+ ConnectionProfile(const QString &address,
+ const QString &security,
+ const QString &service,
+ const QString &ssid,
+ const QString &state,
+ const int &strength);
+ QString address() const;
+ QString service() const;
+ QString ssid() const;
+ QString security() const;
+ QString state() const;
+ int strength() const;
+ void setAddress(const QString address);
+ void setState(const QString state);
+ void setStrength(const int strength);
+
+ private:
+ QString m_address;
+ QString m_security;
+ QString m_service;
+ QString m_state;
+ QString m_ssid;
+ int m_strength;
+};
+
+#endif // CONNECTION_PROFILE_H