KDE 4.1 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

ServiceTypeBrowser Class Reference

from PyKDE4.dnssd import *

Inherits: QObject
Namespace: DNSSD

Detailed Description

Class used to find all service types on network

Author:
Jakub Stachowski


Signals

 finished ()
 serviceTypeAdded (QString a0)
 serviceTypeRemoved (QString a0)

Methods

 __init__ (self, QString domain=QString(), QObject parent=0)
 finished (self)
bool isRunning (self)
 serviceTypeAdded (self, QString a0)
 serviceTypeRemoved (self, QString a0)
QStringList serviceTypes (self)
 startBrowse (self)

Method Documentation

__init__ (  self,
QString  domain=QString(),
QObject  parent=0
)

Find all service types in the domain.

Parameters:
domain  Browsing domain to search. WAN domains may not support service type browsing
parent  Parent object.

finished (   self )

Emitted when all service types has been reported. This signal can be used by application that just want to get list of currently available service types (similar to directory listing) and do not care about dynamic adding/removing later.

Signal syntax:
QObject.connect(source, SIGNAL("finished()"), target_slot)
bool isRunning (   self )
serviceTypeAdded (  self,
QString  a0
)

New service type has been found.

Signal syntax:
QObject.connect(source, SIGNAL("serviceTypeAdded(const QString&)"), target_slot)
serviceTypeRemoved (  self,
QString  a0
)

Emitted when there is no more service of this type. This signal is not reliable - it is possible that it will not be emitted even after last service of this type disappeared.

Signal syntax:
QObject.connect(source, SIGNAL("serviceTypeRemoved(const QString&)"), target_slot)
QStringList serviceTypes (   self )

Current list of found service types.

startBrowse (   self )

Starts browsing. To stop destroy this object.

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal