Home · All Classes · Grouped Classes · Annotated · Functions

QtopiaNetworkProperties Class Reference

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 Qtopia is build in debug mode; otherwise does nothing.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3