summaryrefslogtreecommitdiffstats
path: root/network/connectionprofile.cpp
blob: 8e30e4777283e90435d618719658571fb6238535 (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
49
50
51
52
53
54
55
56
57
#include "connectionprofile.h"

ConnectionProfile::ConnectionProfile(const QString &address,
                                     const QString &security,
                                     const QString &service,
                                     const QString &state,
                                     const QString &ssid,
                                     const int &strength)
    : m_address(address), m_security(security), m_service(service),
      m_state(state), m_ssid(ssid), m_strength(strength)
{
}

QString ConnectionProfile::address() const
{
    return m_address;
}

QString ConnectionProfile::security() const
{
    return m_security;
}

QString ConnectionProfile::service() const
{
    return m_service;
}

QString ConnectionProfile::state() const
{
    return m_state;
}

QString ConnectionProfile::ssid() const
{
    return m_ssid;
}

int ConnectionProfile::strength() const
{
    return m_strength;
}

void ConnectionProfile::setAddress(const QString address)
{
    m_address = address;
}

void ConnectionProfile::setState(const QString state)
{
    m_state = state;
}

void ConnectionProfile::setStrength(const int strength)
{
    m_strength = strength;
}