File indexing completed on 2024-05-12 16:08:59
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 from QtWidgets import * 0007 0008 import datetime 0009 0010 class QDBusAbstractAdaptor(QObject): 0011 """""" 0012 def __init__(self, parent): 0013 '''void QDBusAbstractAdaptor.__init__(QObject parent)''' 0014 def autoRelaySignals(self): 0015 '''bool QDBusAbstractAdaptor.autoRelaySignals()''' 0016 return bool() 0017 def setAutoRelaySignals(self, enable): 0018 '''void QDBusAbstractAdaptor.setAutoRelaySignals(bool enable)''' 0019 0020 0021 class QDBusAbstractInterface(QObject): 0022 """""" 0023 def __init__(self, service, path, interface, connection, parent): 0024 '''void QDBusAbstractInterface.__init__(str service, str path, str interface, QDBusConnection connection, QObject parent)''' 0025 def disconnectNotify(self, signal): 0026 '''void QDBusAbstractInterface.disconnectNotify(QMetaMethod signal)''' 0027 def connectNotify(self, signal): 0028 '''void QDBusAbstractInterface.connectNotify(QMetaMethod signal)''' 0029 def asyncCallWithArgumentList(self, method, args): 0030 '''QDBusPendingCall QDBusAbstractInterface.asyncCallWithArgumentList(str method, list-of-QVariant args)''' 0031 return QDBusPendingCall() 0032 def asyncCall(self, method, arg1 = QVariant(), arg2 = QVariant(), arg3 = QVariant(), arg4 = QVariant(), arg5 = QVariant(), arg6 = QVariant(), arg7 = QVariant(), arg8 = QVariant()): 0033 '''QDBusPendingCall QDBusAbstractInterface.asyncCall(str method, QVariant arg1 = QVariant(), QVariant arg2 = QVariant(), QVariant arg3 = QVariant(), QVariant arg4 = QVariant(), QVariant arg5 = QVariant(), QVariant arg6 = QVariant(), QVariant arg7 = QVariant(), QVariant arg8 = QVariant())''' 0034 return QDBusPendingCall() 0035 def callWithCallback(self, method, args, returnMethod, errorMethod): 0036 '''bool QDBusAbstractInterface.callWithCallback(str method, list-of-QVariant args, slot returnMethod, slot errorMethod)''' 0037 return bool() 0038 def callWithCallback(self, method, args, slot): 0039 '''bool QDBusAbstractInterface.callWithCallback(str method, list-of-QVariant args, slot slot)''' 0040 return bool() 0041 def callWithArgumentList(self, mode, method, args): 0042 '''QDBusMessage QDBusAbstractInterface.callWithArgumentList(QDBus.CallMode mode, str method, list-of-QVariant args)''' 0043 return QDBusMessage() 0044 def call(self, method, arg1 = QVariant(), arg2 = QVariant(), arg3 = QVariant(), arg4 = QVariant(), arg5 = QVariant(), arg6 = QVariant(), arg7 = QVariant(), arg8 = QVariant()): 0045 '''QDBusMessage QDBusAbstractInterface.call(str method, QVariant arg1 = QVariant(), QVariant arg2 = QVariant(), QVariant arg3 = QVariant(), QVariant arg4 = QVariant(), QVariant arg5 = QVariant(), QVariant arg6 = QVariant(), QVariant arg7 = QVariant(), QVariant arg8 = QVariant())''' 0046 return QDBusMessage() 0047 def call(self, mode, method, arg1 = QVariant(), arg2 = QVariant(), arg3 = QVariant(), arg4 = QVariant(), arg5 = QVariant(), arg6 = QVariant(), arg7 = QVariant(), arg8 = QVariant()): 0048 '''QDBusMessage QDBusAbstractInterface.call(QDBus.CallMode mode, str method, QVariant arg1 = QVariant(), QVariant arg2 = QVariant(), QVariant arg3 = QVariant(), QVariant arg4 = QVariant(), QVariant arg5 = QVariant(), QVariant arg6 = QVariant(), QVariant arg7 = QVariant(), QVariant arg8 = QVariant())''' 0049 return QDBusMessage() 0050 def timeout(self): 0051 '''int QDBusAbstractInterface.timeout()''' 0052 return int() 0053 def setTimeout(self, timeout): 0054 '''void QDBusAbstractInterface.setTimeout(int timeout)''' 0055 def lastError(self): 0056 '''QDBusError QDBusAbstractInterface.lastError()''' 0057 return QDBusError() 0058 def interface(self): 0059 '''str QDBusAbstractInterface.interface()''' 0060 return str() 0061 def path(self): 0062 '''str QDBusAbstractInterface.path()''' 0063 return str() 0064 def service(self): 0065 '''str QDBusAbstractInterface.service()''' 0066 return str() 0067 def connection(self): 0068 '''QDBusConnection QDBusAbstractInterface.connection()''' 0069 return QDBusConnection() 0070 def isValid(self): 0071 '''bool QDBusAbstractInterface.isValid()''' 0072 return bool() 0073 0074 0075 class QDBusArgument(): 0076 """""" 0077 def __init__(self): 0078 '''void QDBusArgument.__init__()''' 0079 def __init__(self, other): 0080 '''void QDBusArgument.__init__(QDBusArgument other)''' 0081 def __init__(self, arg, id = None): 0082 '''void QDBusArgument.__init__(object arg, int id = QMetaType.Int)''' 0083 def endMapEntry(self): 0084 '''void QDBusArgument.endMapEntry()''' 0085 def beginMapEntry(self): 0086 '''void QDBusArgument.beginMapEntry()''' 0087 def endMap(self): 0088 '''void QDBusArgument.endMap()''' 0089 def beginMap(self, kid, vid): 0090 '''void QDBusArgument.beginMap(int kid, int vid)''' 0091 def endArray(self): 0092 '''void QDBusArgument.endArray()''' 0093 def beginArray(self, id): 0094 '''void QDBusArgument.beginArray(int id)''' 0095 def endStructure(self): 0096 '''void QDBusArgument.endStructure()''' 0097 def beginStructure(self): 0098 '''void QDBusArgument.beginStructure()''' 0099 def add(self, arg, id = None): 0100 ''' QDBusArgument.add(object arg, int id = QMetaType.Int)''' 0101 return () 0102 0103 0104 class QDBus(): 0105 """""" 0106 # Enum QDBus.CallMode 0107 NoBlock = 0 0108 Block = 0 0109 BlockWithGui = 0 0110 AutoDetect = 0 0111 0112 0113 0114 class QDBusConnection(): 0115 """""" 0116 # Enum QDBusConnection.ConnectionCapability 0117 UnixFileDescriptorPassing = 0 0118 0119 # Enum QDBusConnection.UnregisterMode 0120 UnregisterNode = 0 0121 UnregisterTree = 0 0122 0123 # Enum QDBusConnection.RegisterOption 0124 ExportAdaptors = 0 0125 ExportScriptableSlots = 0 0126 ExportScriptableSignals = 0 0127 ExportScriptableProperties = 0 0128 ExportScriptableInvokables = 0 0129 ExportScriptableContents = 0 0130 ExportNonScriptableSlots = 0 0131 ExportNonScriptableSignals = 0 0132 ExportNonScriptableProperties = 0 0133 ExportNonScriptableInvokables = 0 0134 ExportNonScriptableContents = 0 0135 ExportAllSlots = 0 0136 ExportAllSignals = 0 0137 ExportAllProperties = 0 0138 ExportAllInvokables = 0 0139 ExportAllContents = 0 0140 ExportAllSignal = 0 0141 ExportChildObjects = 0 0142 0143 # Enum QDBusConnection.BusType 0144 SessionBus = 0 0145 SystemBus = 0 0146 ActivationBus = 0 0147 0148 def __init__(self, name): 0149 '''void QDBusConnection.__init__(str name)''' 0150 def __init__(self, other): 0151 '''void QDBusConnection.__init__(QDBusConnection other)''' 0152 def sender(self): 0153 '''static QDBusConnection QDBusConnection.sender()''' 0154 return QDBusConnection() 0155 def systemBus(self): 0156 '''static QDBusConnection QDBusConnection.systemBus()''' 0157 return QDBusConnection() 0158 def sessionBus(self): 0159 '''static QDBusConnection QDBusConnection.sessionBus()''' 0160 return QDBusConnection() 0161 def localMachineId(self): 0162 '''static QByteArray QDBusConnection.localMachineId()''' 0163 return QByteArray() 0164 def disconnectFromPeer(self, name): 0165 '''static void QDBusConnection.disconnectFromPeer(str name)''' 0166 def disconnectFromBus(self, name): 0167 '''static void QDBusConnection.disconnectFromBus(str name)''' 0168 def connectToPeer(self, address, name): 0169 '''static QDBusConnection QDBusConnection.connectToPeer(str address, str name)''' 0170 return QDBusConnection() 0171 def connectToBus(self, type, name): 0172 '''static QDBusConnection QDBusConnection.connectToBus(QDBusConnection.BusType type, str name)''' 0173 return QDBusConnection() 0174 def connectToBus(self, address, name): 0175 '''static QDBusConnection QDBusConnection.connectToBus(str address, str name)''' 0176 return QDBusConnection() 0177 def interface(self): 0178 '''QDBusConnectionInterface QDBusConnection.interface()''' 0179 return QDBusConnectionInterface() 0180 def unregisterService(self, serviceName): 0181 '''bool QDBusConnection.unregisterService(str serviceName)''' 0182 return bool() 0183 def registerService(self, serviceName): 0184 '''bool QDBusConnection.registerService(str serviceName)''' 0185 return bool() 0186 def objectRegisteredAt(self, path): 0187 '''QObject QDBusConnection.objectRegisteredAt(str path)''' 0188 return QObject() 0189 def unregisterObject(self, path, mode = None): 0190 '''void QDBusConnection.unregisterObject(str path, QDBusConnection.UnregisterMode mode = QDBusConnection.UnregisterNode)''' 0191 def registerObject(self, path, object, options = None): 0192 '''bool QDBusConnection.registerObject(str path, QObject object, QDBusConnection.RegisterOptions options = QDBusConnection.ExportAdaptors)''' 0193 return bool() 0194 def registerObject(self, path, interface, object, options = None): 0195 '''bool QDBusConnection.registerObject(str path, str interface, QObject object, QDBusConnection.RegisterOptions options = QDBusConnection.ExportAdaptors)''' 0196 return bool() 0197 def disconnect(self, service, path, interface, name, slot): 0198 '''bool QDBusConnection.disconnect(str service, str path, str interface, str name, slot slot)''' 0199 return bool() 0200 def disconnect(self, service, path, interface, name, signature, slot): 0201 '''bool QDBusConnection.disconnect(str service, str path, str interface, str name, str signature, slot slot)''' 0202 return bool() 0203 def disconnect(self, service, path, interface, name, argumentMatch, signature, slot): 0204 '''bool QDBusConnection.disconnect(str service, str path, str interface, str name, list-of-str argumentMatch, str signature, slot slot)''' 0205 return bool() 0206 def connect(self, service, path, interface, name, slot): 0207 '''bool QDBusConnection.connect(str service, str path, str interface, str name, slot slot)''' 0208 return bool() 0209 def connect(self, service, path, interface, name, signature, slot): 0210 '''bool QDBusConnection.connect(str service, str path, str interface, str name, str signature, slot slot)''' 0211 return bool() 0212 def connect(self, service, path, interface, name, argumentMatch, signature, slot): 0213 '''bool QDBusConnection.connect(str service, str path, str interface, str name, list-of-str argumentMatch, str signature, slot slot)''' 0214 return bool() 0215 def asyncCall(self, message, timeout = None): 0216 '''QDBusPendingCall QDBusConnection.asyncCall(QDBusMessage message, int timeout = -1)''' 0217 return QDBusPendingCall() 0218 def call(self, message, mode = None, timeout = None): 0219 '''QDBusMessage QDBusConnection.call(QDBusMessage message, QDBus.CallMode mode = QDBus.Block, int timeout = -1)''' 0220 return QDBusMessage() 0221 def callWithCallback(self, message, returnMethod, errorMethod, timeout = None): 0222 '''bool QDBusConnection.callWithCallback(QDBusMessage message, slot returnMethod, slot errorMethod, int timeout = -1)''' 0223 return bool() 0224 def send(self, message): 0225 '''bool QDBusConnection.send(QDBusMessage message)''' 0226 return bool() 0227 def connectionCapabilities(self): 0228 '''QDBusConnection.ConnectionCapabilities QDBusConnection.connectionCapabilities()''' 0229 return QDBusConnection.ConnectionCapabilities() 0230 def name(self): 0231 '''str QDBusConnection.name()''' 0232 return str() 0233 def lastError(self): 0234 '''QDBusError QDBusConnection.lastError()''' 0235 return QDBusError() 0236 def baseService(self): 0237 '''str QDBusConnection.baseService()''' 0238 return str() 0239 def isConnected(self): 0240 '''bool QDBusConnection.isConnected()''' 0241 return bool() 0242 class RegisterOptions(): 0243 """""" 0244 def __init__(self): 0245 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__init__()''' 0246 return QDBusConnection.RegisterOptions() 0247 def __init__(self): 0248 '''int QDBusConnection.RegisterOptions.__init__()''' 0249 return int() 0250 def __init__(self): 0251 '''void QDBusConnection.RegisterOptions.__init__()''' 0252 def __bool__(self): 0253 '''int QDBusConnection.RegisterOptions.__bool__()''' 0254 return int() 0255 def __ne__(self, f): 0256 '''bool QDBusConnection.RegisterOptions.__ne__(QDBusConnection.RegisterOptions f)''' 0257 return bool() 0258 def __eq__(self, f): 0259 '''bool QDBusConnection.RegisterOptions.__eq__(QDBusConnection.RegisterOptions f)''' 0260 return bool() 0261 def __invert__(self): 0262 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__invert__()''' 0263 return QDBusConnection.RegisterOptions() 0264 def __and__(self, mask): 0265 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__and__(int mask)''' 0266 return QDBusConnection.RegisterOptions() 0267 def __xor__(self, f): 0268 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__xor__(QDBusConnection.RegisterOptions f)''' 0269 return QDBusConnection.RegisterOptions() 0270 def __xor__(self, f): 0271 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__xor__(int f)''' 0272 return QDBusConnection.RegisterOptions() 0273 def __or__(self, f): 0274 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__or__(QDBusConnection.RegisterOptions f)''' 0275 return QDBusConnection.RegisterOptions() 0276 def __or__(self, f): 0277 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__or__(int f)''' 0278 return QDBusConnection.RegisterOptions() 0279 def __int__(self): 0280 '''int QDBusConnection.RegisterOptions.__int__()''' 0281 return int() 0282 def __ixor__(self, f): 0283 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__ixor__(QDBusConnection.RegisterOptions f)''' 0284 return QDBusConnection.RegisterOptions() 0285 def __ior__(self, f): 0286 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__ior__(QDBusConnection.RegisterOptions f)''' 0287 return QDBusConnection.RegisterOptions() 0288 def __iand__(self, mask): 0289 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__iand__(int mask)''' 0290 return QDBusConnection.RegisterOptions() 0291 class ConnectionCapabilities(): 0292 """""" 0293 def __init__(self): 0294 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__init__()''' 0295 return QDBusConnection.ConnectionCapabilities() 0296 def __init__(self): 0297 '''int QDBusConnection.ConnectionCapabilities.__init__()''' 0298 return int() 0299 def __init__(self): 0300 '''void QDBusConnection.ConnectionCapabilities.__init__()''' 0301 def __bool__(self): 0302 '''int QDBusConnection.ConnectionCapabilities.__bool__()''' 0303 return int() 0304 def __ne__(self, f): 0305 '''bool QDBusConnection.ConnectionCapabilities.__ne__(QDBusConnection.ConnectionCapabilities f)''' 0306 return bool() 0307 def __eq__(self, f): 0308 '''bool QDBusConnection.ConnectionCapabilities.__eq__(QDBusConnection.ConnectionCapabilities f)''' 0309 return bool() 0310 def __invert__(self): 0311 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__invert__()''' 0312 return QDBusConnection.ConnectionCapabilities() 0313 def __and__(self, mask): 0314 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__and__(int mask)''' 0315 return QDBusConnection.ConnectionCapabilities() 0316 def __xor__(self, f): 0317 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__xor__(QDBusConnection.ConnectionCapabilities f)''' 0318 return QDBusConnection.ConnectionCapabilities() 0319 def __xor__(self, f): 0320 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__xor__(int f)''' 0321 return QDBusConnection.ConnectionCapabilities() 0322 def __or__(self, f): 0323 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__or__(QDBusConnection.ConnectionCapabilities f)''' 0324 return QDBusConnection.ConnectionCapabilities() 0325 def __or__(self, f): 0326 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__or__(int f)''' 0327 return QDBusConnection.ConnectionCapabilities() 0328 def __int__(self): 0329 '''int QDBusConnection.ConnectionCapabilities.__int__()''' 0330 return int() 0331 def __ixor__(self, f): 0332 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__ixor__(QDBusConnection.ConnectionCapabilities f)''' 0333 return QDBusConnection.ConnectionCapabilities() 0334 def __ior__(self, f): 0335 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__ior__(QDBusConnection.ConnectionCapabilities f)''' 0336 return QDBusConnection.ConnectionCapabilities() 0337 def __iand__(self, mask): 0338 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__iand__(int mask)''' 0339 return QDBusConnection.ConnectionCapabilities() 0340 0341 0342 class QDBusConnectionInterface(QDBusAbstractInterface): 0343 """""" 0344 # Enum QDBusConnectionInterface.RegisterServiceReply 0345 ServiceNotRegistered = 0 0346 ServiceRegistered = 0 0347 ServiceQueued = 0 0348 0349 # Enum QDBusConnectionInterface.ServiceReplacementOptions 0350 DontAllowReplacement = 0 0351 AllowReplacement = 0 0352 0353 # Enum QDBusConnectionInterface.ServiceQueueOptions 0354 DontQueueService = 0 0355 QueueService = 0 0356 ReplaceExistingService = 0 0357 0358 def disconnectNotify(self): 0359 '''QMetaMethod QDBusConnectionInterface.disconnectNotify()''' 0360 return QMetaMethod() 0361 def connectNotify(self): 0362 '''QMetaMethod QDBusConnectionInterface.connectNotify()''' 0363 return QMetaMethod() 0364 callWithCallbackFailed = pyqtSignal() # void callWithCallbackFailed(const QDBusErroramp;,const QDBusMessageamp;) - signal 0365 serviceUnregistered = pyqtSignal() # void serviceUnregistered(const QStringamp;) - signal 0366 serviceRegistered = pyqtSignal() # void serviceRegistered(const QStringamp;) - signal 0367 def startService(self, name): 0368 '''QDBusReply QDBusConnectionInterface.startService(str name)''' 0369 return QDBusReply() 0370 def serviceUid(self, serviceName): 0371 '''QDBusReply QDBusConnectionInterface.serviceUid(str serviceName)''' 0372 return QDBusReply() 0373 def servicePid(self, serviceName): 0374 '''QDBusReply QDBusConnectionInterface.servicePid(str serviceName)''' 0375 return QDBusReply() 0376 def registerService(self, serviceName, qoption = None, roption = None): 0377 '''QDBusReply QDBusConnectionInterface.registerService(str serviceName, QDBusConnectionInterface.ServiceQueueOptions qoption = QDBusConnectionInterface.DontQueueService, QDBusConnectionInterface.ServiceReplacementOptions roption = QDBusConnectionInterface.DontAllowReplacement)''' 0378 return QDBusReply() 0379 def unregisterService(self, serviceName): 0380 '''QDBusReply QDBusConnectionInterface.unregisterService(str serviceName)''' 0381 return QDBusReply() 0382 def serviceOwner(self, name): 0383 '''QDBusReply QDBusConnectionInterface.serviceOwner(str name)''' 0384 return QDBusReply() 0385 def isServiceRegistered(self, serviceName): 0386 '''QDBusReply QDBusConnectionInterface.isServiceRegistered(str serviceName)''' 0387 return QDBusReply() 0388 def registeredServiceNames(self): 0389 '''QDBusReply QDBusConnectionInterface.registeredServiceNames()''' 0390 return QDBusReply() 0391 0392 0393 class QDBusError(): 0394 """""" 0395 # Enum QDBusError.ErrorType 0396 NoError = 0 0397 Other = 0 0398 Failed = 0 0399 NoMemory = 0 0400 ServiceUnknown = 0 0401 NoReply = 0 0402 BadAddress = 0 0403 NotSupported = 0 0404 LimitsExceeded = 0 0405 AccessDenied = 0 0406 NoServer = 0 0407 Timeout = 0 0408 NoNetwork = 0 0409 AddressInUse = 0 0410 Disconnected = 0 0411 InvalidArgs = 0 0412 UnknownMethod = 0 0413 TimedOut = 0 0414 InvalidSignature = 0 0415 UnknownInterface = 0 0416 InternalError = 0 0417 UnknownObject = 0 0418 InvalidService = 0 0419 InvalidObjectPath = 0 0420 InvalidInterface = 0 0421 InvalidMember = 0 0422 UnknownProperty = 0 0423 PropertyReadOnly = 0 0424 0425 def __init__(self, other): 0426 '''void QDBusError.__init__(QDBusError other)''' 0427 def errorString(self, error): 0428 '''static str QDBusError.errorString(QDBusError.ErrorType error)''' 0429 return str() 0430 def isValid(self): 0431 '''bool QDBusError.isValid()''' 0432 return bool() 0433 def message(self): 0434 '''str QDBusError.message()''' 0435 return str() 0436 def name(self): 0437 '''str QDBusError.name()''' 0438 return str() 0439 def type(self): 0440 '''QDBusError.ErrorType QDBusError.type()''' 0441 return QDBusError.ErrorType() 0442 0443 0444 class QDBusObjectPath(): 0445 """""" 0446 def __init__(self): 0447 '''void QDBusObjectPath.__init__()''' 0448 def __init__(self, objectPath): 0449 '''void QDBusObjectPath.__init__(str objectPath)''' 0450 def __init__(self): 0451 '''QDBusObjectPath QDBusObjectPath.__init__()''' 0452 return QDBusObjectPath() 0453 def __ge__(self, rhs): 0454 '''bool QDBusObjectPath.__ge__(QDBusObjectPath rhs)''' 0455 return bool() 0456 def __eq__(self, rhs): 0457 '''bool QDBusObjectPath.__eq__(QDBusObjectPath rhs)''' 0458 return bool() 0459 def __ne__(self, rhs): 0460 '''bool QDBusObjectPath.__ne__(QDBusObjectPath rhs)''' 0461 return bool() 0462 def __lt__(self, rhs): 0463 '''bool QDBusObjectPath.__lt__(QDBusObjectPath rhs)''' 0464 return bool() 0465 def __hash__(self): 0466 '''int QDBusObjectPath.__hash__()''' 0467 return int() 0468 def setPath(self, objectPath): 0469 '''void QDBusObjectPath.setPath(str objectPath)''' 0470 def path(self): 0471 '''str QDBusObjectPath.path()''' 0472 return str() 0473 0474 0475 class QDBusSignature(): 0476 """""" 0477 def __init__(self): 0478 '''void QDBusSignature.__init__()''' 0479 def __init__(self, dBusSignature): 0480 '''void QDBusSignature.__init__(str dBusSignature)''' 0481 def __init__(self): 0482 '''QDBusSignature QDBusSignature.__init__()''' 0483 return QDBusSignature() 0484 def __ge__(self, rhs): 0485 '''bool QDBusSignature.__ge__(QDBusSignature rhs)''' 0486 return bool() 0487 def __eq__(self, rhs): 0488 '''bool QDBusSignature.__eq__(QDBusSignature rhs)''' 0489 return bool() 0490 def __ne__(self, rhs): 0491 '''bool QDBusSignature.__ne__(QDBusSignature rhs)''' 0492 return bool() 0493 def __lt__(self, rhs): 0494 '''bool QDBusSignature.__lt__(QDBusSignature rhs)''' 0495 return bool() 0496 def __hash__(self): 0497 '''int QDBusSignature.__hash__()''' 0498 return int() 0499 def setSignature(self, dBusSignature): 0500 '''void QDBusSignature.setSignature(str dBusSignature)''' 0501 def signature(self): 0502 '''str QDBusSignature.signature()''' 0503 return str() 0504 0505 0506 class QDBusVariant(): 0507 """""" 0508 def __init__(self): 0509 '''void QDBusVariant.__init__()''' 0510 def __init__(self, dBusVariant): 0511 '''void QDBusVariant.__init__(QVariant dBusVariant)''' 0512 def __init__(self): 0513 '''QDBusVariant QDBusVariant.__init__()''' 0514 return QDBusVariant() 0515 def __ne__(self, v2): 0516 '''bool QDBusVariant.__ne__(QDBusVariant v2)''' 0517 return bool() 0518 def __eq__(self, v2): 0519 '''bool QDBusVariant.__eq__(QDBusVariant v2)''' 0520 return bool() 0521 def setVariant(self, dBusVariant): 0522 '''void QDBusVariant.setVariant(QVariant dBusVariant)''' 0523 def variant(self): 0524 '''QVariant QDBusVariant.variant()''' 0525 return QVariant() 0526 0527 0528 class QDBusInterface(QDBusAbstractInterface): 0529 """""" 0530 def __init__(self, service, path, interface = str(), connection = None, parent = None): 0531 '''void QDBusInterface.__init__(str service, str path, str interface = str(), QDBusConnection connection = QDBusConnection.sessionBus(), QObject parent = None)''' 0532 0533 0534 class QDBusMessage(): 0535 """""" 0536 # Enum QDBusMessage.MessageType 0537 InvalidMessage = 0 0538 MethodCallMessage = 0 0539 ReplyMessage = 0 0540 ErrorMessage = 0 0541 SignalMessage = 0 0542 0543 def __init__(self): 0544 '''void QDBusMessage.__init__()''' 0545 def __init__(self, other): 0546 '''void QDBusMessage.__init__(QDBusMessage other)''' 0547 def __lshift__(self, arg): 0548 '''QDBusMessage QDBusMessage.__lshift__(QVariant arg)''' 0549 return QDBusMessage() 0550 def arguments(self): 0551 '''list-of-QVariant QDBusMessage.arguments()''' 0552 return [QVariant()] 0553 def setArguments(self, arguments): 0554 '''void QDBusMessage.setArguments(list-of-QVariant arguments)''' 0555 def autoStartService(self): 0556 '''bool QDBusMessage.autoStartService()''' 0557 return bool() 0558 def setAutoStartService(self, enable): 0559 '''void QDBusMessage.setAutoStartService(bool enable)''' 0560 def isDelayedReply(self): 0561 '''bool QDBusMessage.isDelayedReply()''' 0562 return bool() 0563 def setDelayedReply(self, enable): 0564 '''void QDBusMessage.setDelayedReply(bool enable)''' 0565 def isReplyRequired(self): 0566 '''bool QDBusMessage.isReplyRequired()''' 0567 return bool() 0568 def signature(self): 0569 '''str QDBusMessage.signature()''' 0570 return str() 0571 def type(self): 0572 '''QDBusMessage.MessageType QDBusMessage.type()''' 0573 return QDBusMessage.MessageType() 0574 def errorMessage(self): 0575 '''str QDBusMessage.errorMessage()''' 0576 return str() 0577 def errorName(self): 0578 '''str QDBusMessage.errorName()''' 0579 return str() 0580 def member(self): 0581 '''str QDBusMessage.member()''' 0582 return str() 0583 def interface(self): 0584 '''str QDBusMessage.interface()''' 0585 return str() 0586 def path(self): 0587 '''str QDBusMessage.path()''' 0588 return str() 0589 def service(self): 0590 '''str QDBusMessage.service()''' 0591 return str() 0592 def createErrorReply(self, name, msg): 0593 '''QDBusMessage QDBusMessage.createErrorReply(str name, str msg)''' 0594 return QDBusMessage() 0595 def createErrorReply(self, error): 0596 '''QDBusMessage QDBusMessage.createErrorReply(QDBusError error)''' 0597 return QDBusMessage() 0598 def createErrorReply(self, type, msg): 0599 '''QDBusMessage QDBusMessage.createErrorReply(QDBusError.ErrorType type, str msg)''' 0600 return QDBusMessage() 0601 def createReply(self, arguments = None): 0602 '''QDBusMessage QDBusMessage.createReply(list-of-QVariant arguments = QListlt;QVariantgt;())''' 0603 return QDBusMessage() 0604 def createReply(self, argument): 0605 '''QDBusMessage QDBusMessage.createReply(QVariant argument)''' 0606 return QDBusMessage() 0607 def createError(self, name, msg): 0608 '''static QDBusMessage QDBusMessage.createError(str name, str msg)''' 0609 return QDBusMessage() 0610 def createError(self, error): 0611 '''static QDBusMessage QDBusMessage.createError(QDBusError error)''' 0612 return QDBusMessage() 0613 def createError(self, type, msg): 0614 '''static QDBusMessage QDBusMessage.createError(QDBusError.ErrorType type, str msg)''' 0615 return QDBusMessage() 0616 def createMethodCall(self, service, path, interface, method): 0617 '''static QDBusMessage QDBusMessage.createMethodCall(str service, str path, str interface, str method)''' 0618 return QDBusMessage() 0619 def createSignal(self, path, interface, name): 0620 '''static QDBusMessage QDBusMessage.createSignal(str path, str interface, str name)''' 0621 return QDBusMessage() 0622 0623 0624 class QDBusPendingCall(): 0625 """""" 0626 def __init__(self, other): 0627 '''void QDBusPendingCall.__init__(QDBusPendingCall other)''' 0628 def swap(self, other): 0629 '''void QDBusPendingCall.swap(QDBusPendingCall other)''' 0630 def fromCompletedCall(self, message): 0631 '''static QDBusPendingCall QDBusPendingCall.fromCompletedCall(QDBusMessage message)''' 0632 return QDBusPendingCall() 0633 def fromError(self, error): 0634 '''static QDBusPendingCall QDBusPendingCall.fromError(QDBusError error)''' 0635 return QDBusPendingCall() 0636 0637 0638 class QDBusPendingCallWatcher(QObject, QDBusPendingCall): 0639 """""" 0640 def __init__(self, call, parent = None): 0641 '''void QDBusPendingCallWatcher.__init__(QDBusPendingCall call, QObject parent = None)''' 0642 finished = pyqtSignal() # void finished(QDBusPendingCallWatcher*) - signal 0643 def waitForFinished(self): 0644 '''void QDBusPendingCallWatcher.waitForFinished()''' 0645 def isFinished(self): 0646 '''bool QDBusPendingCallWatcher.isFinished()''' 0647 return bool() 0648 0649 0650 class QDBusServiceWatcher(QObject): 0651 """""" 0652 # Enum QDBusServiceWatcher.WatchModeFlag 0653 WatchForRegistration = 0 0654 WatchForUnregistration = 0 0655 WatchForOwnerChange = 0 0656 0657 def __init__(self, parent = None): 0658 '''void QDBusServiceWatcher.__init__(QObject parent = None)''' 0659 def __init__(self, service, connection, watchMode = None, parent = None): 0660 '''void QDBusServiceWatcher.__init__(str service, QDBusConnection connection, QDBusServiceWatcher.WatchMode watchMode = QDBusServiceWatcher.WatchForOwnerChange, QObject parent = None)''' 0661 serviceOwnerChanged = pyqtSignal() # void serviceOwnerChanged(const QStringamp;,const QStringamp;,const QStringamp;) - signal 0662 serviceUnregistered = pyqtSignal() # void serviceUnregistered(const QStringamp;) - signal 0663 serviceRegistered = pyqtSignal() # void serviceRegistered(const QStringamp;) - signal 0664 def setConnection(self, connection): 0665 '''void QDBusServiceWatcher.setConnection(QDBusConnection connection)''' 0666 def connection(self): 0667 '''QDBusConnection QDBusServiceWatcher.connection()''' 0668 return QDBusConnection() 0669 def setWatchMode(self, mode): 0670 '''void QDBusServiceWatcher.setWatchMode(QDBusServiceWatcher.WatchMode mode)''' 0671 def watchMode(self): 0672 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.watchMode()''' 0673 return QDBusServiceWatcher.WatchMode() 0674 def removeWatchedService(self, service): 0675 '''bool QDBusServiceWatcher.removeWatchedService(str service)''' 0676 return bool() 0677 def addWatchedService(self, newService): 0678 '''void QDBusServiceWatcher.addWatchedService(str newService)''' 0679 def setWatchedServices(self, services): 0680 '''void QDBusServiceWatcher.setWatchedServices(list-of-str services)''' 0681 def watchedServices(self): 0682 '''list-of-str QDBusServiceWatcher.watchedServices()''' 0683 return [str()] 0684 class WatchMode(): 0685 """""" 0686 def __init__(self): 0687 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__init__()''' 0688 return QDBusServiceWatcher.WatchMode() 0689 def __init__(self): 0690 '''int QDBusServiceWatcher.WatchMode.__init__()''' 0691 return int() 0692 def __init__(self): 0693 '''void QDBusServiceWatcher.WatchMode.__init__()''' 0694 def __bool__(self): 0695 '''int QDBusServiceWatcher.WatchMode.__bool__()''' 0696 return int() 0697 def __ne__(self, f): 0698 '''bool QDBusServiceWatcher.WatchMode.__ne__(QDBusServiceWatcher.WatchMode f)''' 0699 return bool() 0700 def __eq__(self, f): 0701 '''bool QDBusServiceWatcher.WatchMode.__eq__(QDBusServiceWatcher.WatchMode f)''' 0702 return bool() 0703 def __invert__(self): 0704 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__invert__()''' 0705 return QDBusServiceWatcher.WatchMode() 0706 def __and__(self, mask): 0707 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__and__(int mask)''' 0708 return QDBusServiceWatcher.WatchMode() 0709 def __xor__(self, f): 0710 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__xor__(QDBusServiceWatcher.WatchMode f)''' 0711 return QDBusServiceWatcher.WatchMode() 0712 def __xor__(self, f): 0713 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__xor__(int f)''' 0714 return QDBusServiceWatcher.WatchMode() 0715 def __or__(self, f): 0716 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__or__(QDBusServiceWatcher.WatchMode f)''' 0717 return QDBusServiceWatcher.WatchMode() 0718 def __or__(self, f): 0719 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__or__(int f)''' 0720 return QDBusServiceWatcher.WatchMode() 0721 def __int__(self): 0722 '''int QDBusServiceWatcher.WatchMode.__int__()''' 0723 return int() 0724 def __ixor__(self, f): 0725 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__ixor__(QDBusServiceWatcher.WatchMode f)''' 0726 return QDBusServiceWatcher.WatchMode() 0727 def __ior__(self, f): 0728 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__ior__(QDBusServiceWatcher.WatchMode f)''' 0729 return QDBusServiceWatcher.WatchMode() 0730 def __iand__(self, mask): 0731 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__iand__(int mask)''' 0732 return QDBusServiceWatcher.WatchMode() 0733 0734 0735 class QDBusUnixFileDescriptor(): 0736 """""" 0737 def __init__(self): 0738 '''void QDBusUnixFileDescriptor.__init__()''' 0739 def __init__(self, fileDescriptor): 0740 '''void QDBusUnixFileDescriptor.__init__(int fileDescriptor)''' 0741 def __init__(self, other): 0742 '''void QDBusUnixFileDescriptor.__init__(QDBusUnixFileDescriptor other)''' 0743 def swap(self, other): 0744 '''void QDBusUnixFileDescriptor.swap(QDBusUnixFileDescriptor other)''' 0745 def isSupported(self): 0746 '''static bool QDBusUnixFileDescriptor.isSupported()''' 0747 return bool() 0748 def setFileDescriptor(self, fileDescriptor): 0749 '''void QDBusUnixFileDescriptor.setFileDescriptor(int fileDescriptor)''' 0750 def fileDescriptor(self): 0751 '''int QDBusUnixFileDescriptor.fileDescriptor()''' 0752 return int() 0753 def isValid(self): 0754 '''bool QDBusUnixFileDescriptor.isValid()''' 0755 return bool() 0756 0757 0758 class QDBusPendingReply(QDBusPendingCall): 0759 """""" 0760 def __init__(self): 0761 '''void QDBusPendingReply.__init__()''' 0762 def __init__(self, other): 0763 '''void QDBusPendingReply.__init__(QDBusPendingReply other)''' 0764 def __init__(self, call): 0765 '''void QDBusPendingReply.__init__(QDBusPendingCall call)''' 0766 def __init__(self, reply): 0767 '''void QDBusPendingReply.__init__(QDBusMessage reply)''' 0768 def value(self, type = None): 0769 '''object QDBusPendingReply.value(object type = None)''' 0770 return object() 0771 def waitForFinished(self): 0772 '''void QDBusPendingReply.waitForFinished()''' 0773 def reply(self): 0774 '''QDBusMessage QDBusPendingReply.reply()''' 0775 return QDBusMessage() 0776 def isValid(self): 0777 '''bool QDBusPendingReply.isValid()''' 0778 return bool() 0779 def isFinished(self): 0780 '''bool QDBusPendingReply.isFinished()''' 0781 return bool() 0782 def isError(self): 0783 '''bool QDBusPendingReply.isError()''' 0784 return bool() 0785 def error(self): 0786 '''QDBusError QDBusPendingReply.error()''' 0787 return QDBusError() 0788 def argumentAt(self, index): 0789 '''QVariant QDBusPendingReply.argumentAt(int index)''' 0790 return QVariant() 0791 0792 0793 class QDBusReply(): 0794 """""" 0795 def __init__(self, reply): 0796 '''void QDBusReply.__init__(QDBusMessage reply)''' 0797 def __init__(self, call): 0798 '''void QDBusReply.__init__(QDBusPendingCall call)''' 0799 def __init__(self, error): 0800 '''void QDBusReply.__init__(QDBusError error)''' 0801 def __init__(self, other): 0802 '''void QDBusReply.__init__(QDBusReply other)''' 0803 def value(self, type = None): 0804 '''object QDBusReply.value(object type = None)''' 0805 return object() 0806 def isValid(self): 0807 '''bool QDBusReply.isValid()''' 0808 return bool() 0809 def error(self): 0810 '''QDBusError QDBusReply.error()''' 0811 return QDBusError() 0812 0813