ConnectionServer Class Reference
from PyKDE4.kio import *
Inherits: QObject
Namespace: KIO
Detailed Description
This class provides a way to obtaining KIO.Connection connections.
Signals | |
newConnection () | |
Methods | |
__init__ (self, QObject parent=0) | |
QString | address (self) |
close (self) | |
bool | isListening (self) |
listenForRemote (self) | |
newConnection (self) | |
KIO.Connection | nextPendingConnection (self) |
setNextPendingConnection (self, KIO.Connection conn) |
Method Documentation
__init__ | ( | self, | ||
QObject | parent=0 | |||
) |
QString address | ( | self ) |
Returns the address for this connection if it is listening, an empty string if not.
close | ( | self ) |
Closes the connection.
bool isListening | ( | self ) |
listenForRemote | ( | self ) |
Sets this connection to listen mode. Use address() to obtain the address this is listening on.
newConnection | ( | self ) |
- Signal syntax:
QObject.connect(source, SIGNAL("newConnection()"), target_slot)
KIO.Connection nextPendingConnection | ( | self ) |
setNextPendingConnection | ( | self, | ||
KIO.Connection | conn | |||
) |