libktorrent  2.2.0
Public Member Functions | Public Attributes | List of all members
bt::UPnPService Struct Reference

#include <upnprouter.h>

Public Member Functions

 UPnPService (const UPnPService &s)
 
void clear ()
 
UPnPServiceoperator= (const UPnPService &s)
 
void setProperty (const QString &name, const QString &value)
 

Public Attributes

QString controlurl
 
QString eventsuburl
 
QString scpdurl
 
QString serviceid
 
QString servicetype
 

Detailed Description

Structure describing a UPnP service found in an xml file.

Definition at line 40 of file upnprouter.h.

Member Function Documentation

◆ clear()

void bt::UPnPService::clear ( )

Set all strings to empty.

◆ operator=()

UPnPService& bt::UPnPService::operator= ( const UPnPService s)

Assignment operator

Parameters
sThe service to copy
Returns
*this

◆ setProperty()

void bt::UPnPService::setProperty ( const QString &  name,
const QString &  value 
)

Set a property of the service.

Parameters
nameName of the property (matches to variable names)
valueValue of the property

The documentation for this struct was generated from the following file: