Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QtopiaNetworkProperties Class Reference
[QtBaseModule]

The QtopiaNetworkProperties class reflects the content of a network interface configuration. More...

    #include <QtopiaNetworkProperties>

Inherits QMap<QString, QVariant>.

Public Functions


Detailed Description

The QtopiaNetworkProperties class reflects the content of a network interface configuration.

This helper class is used to access network configurations sourced from settings files by mapping keys to values. The following example demonstrates the mapping:

    QtopiaNetworkProperties prop;
    //populate with content of Configuration.conf
    ...

    QSettings s("Configuration", QSettings::IniFormat);
    s.beginGroup( "Group" );
    QString value = s.value("Key").toString();
    ...

    //Is true
    value == prop.value("Group/Key").toString();

See also QMap and QSettings.


Member Function Documentation

QtopiaNetworkProperties::QtopiaNetworkProperties ()

Constructs an empty property map.

QtopiaNetworkProperties::QtopiaNetworkProperties ( const QtopiaNetworkProperties & other )

Constructs a copy of other.

QtopiaNetworkProperties::~QtopiaNetworkProperties ()

Destroys the object.

void QtopiaNetworkProperties::debugDump () const

This function dumps the content to the Network log stream if Qt Extended is build in debug mode; otherwise does nothing.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3