~ubuntu-branches/ubuntu/precise/networkmanagement/precise-updates

« back to all changes in this revision

Viewing changes to libs/internals/setting.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl, Modestas Vainius, Michael Biebl
  • Date: 2011-05-27 12:18:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110527121825-vfufwquq3vy0k3zn
Tags: 0.1+git20110526.911025d-1
[ Modestas Vainius ]
* Use official KDE branding in the package descriptions.

[ Michael Biebl ]
* New upstream Git snapshot 911025d81fdfbe09b64705e94e5411f521c38e3e.
* debian/control
  - Bump Build-Depends on kdelibs5-dev and kdebase-workspace-dev to
    (>= 4:4.6.0).
  - Bump Build-Depends on network-manager-dev and libnm-util-dev to
    (>= 0.8.1).
  - Bump Depends on network-manager to (>= 0.8.1).

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
class KNMINTERNALS_EXPORT Setting
31
31
{
32
32
public:
33
 
    enum Type { Cdma, Gsm, Ipv4, Ipv6, Ppp, Pppoe, Security8021x, Serial, Vpn, Wired, Wireless, WirelessSecurity };
 
33
    enum Type { Cdma, Gsm, Ipv4, Ipv6, Ppp, Pppoe, Security8021x, Serial, Vpn, Wired, Wireless, WirelessSecurity, Bluetooth };
34
34
    static QString typeAsString(Setting::Type);
35
35
    static Setting::Type typeFromString(const QString & type);
36
36
 
44
44
    virtual bool hasVolatileSecrets() const { return false; }
45
45
    bool secretsAvailable() const;
46
46
    void setSecretsAvailable(bool secretsAvailable);
 
47
 
 
48
    /*scope must be one of Knm::Connection::Scope, cant't include connection.h
 
49
    here because it is already including setting.h */
 
50
    virtual void save(int scope);
 
51
    virtual void remove();
47
52
protected:
48
53
    bool m_initialized;
49
54
private: