1class pyqtSignal(): 2 def connect(self, targetSignal): pass 3 def emit(self, *args): pass 4from QtCore import * 5 6from QtWidgets import * 7 8import datetime 9 10class QDBusAbstractAdaptor(QObject): 11 """""" 12 def __init__(self, parent): 13 '''void QDBusAbstractAdaptor.__init__(QObject parent)''' 14 def autoRelaySignals(self): 15 '''bool QDBusAbstractAdaptor.autoRelaySignals()''' 16 return bool() 17 def setAutoRelaySignals(self, enable): 18 '''void QDBusAbstractAdaptor.setAutoRelaySignals(bool enable)''' 19 20 21class QDBusAbstractInterface(QObject): 22 """""" 23 def __init__(self, service, path, interface, connection, parent): 24 '''void QDBusAbstractInterface.__init__(str service, str path, str interface, QDBusConnection connection, QObject parent)''' 25 def disconnectNotify(self, signal): 26 '''void QDBusAbstractInterface.disconnectNotify(QMetaMethod signal)''' 27 def connectNotify(self, signal): 28 '''void QDBusAbstractInterface.connectNotify(QMetaMethod signal)''' 29 def asyncCallWithArgumentList(self, method, args): 30 '''QDBusPendingCall QDBusAbstractInterface.asyncCallWithArgumentList(str method, list-of-QVariant args)''' 31 return QDBusPendingCall() 32 def asyncCall(self, method, arg1 = QVariant(), arg2 = QVariant(), arg3 = QVariant(), arg4 = QVariant(), arg5 = QVariant(), arg6 = QVariant(), arg7 = QVariant(), arg8 = QVariant()): 33 '''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())''' 34 return QDBusPendingCall() 35 def callWithCallback(self, method, args, returnMethod, errorMethod): 36 '''bool QDBusAbstractInterface.callWithCallback(str method, list-of-QVariant args, slot returnMethod, slot errorMethod)''' 37 return bool() 38 def callWithCallback(self, method, args, slot): 39 '''bool QDBusAbstractInterface.callWithCallback(str method, list-of-QVariant args, slot slot)''' 40 return bool() 41 def callWithArgumentList(self, mode, method, args): 42 '''QDBusMessage QDBusAbstractInterface.callWithArgumentList(QDBus.CallMode mode, str method, list-of-QVariant args)''' 43 return QDBusMessage() 44 def call(self, method, arg1 = QVariant(), arg2 = QVariant(), arg3 = QVariant(), arg4 = QVariant(), arg5 = QVariant(), arg6 = QVariant(), arg7 = QVariant(), arg8 = QVariant()): 45 '''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())''' 46 return QDBusMessage() 47 def call(self, mode, method, arg1 = QVariant(), arg2 = QVariant(), arg3 = QVariant(), arg4 = QVariant(), arg5 = QVariant(), arg6 = QVariant(), arg7 = QVariant(), arg8 = QVariant()): 48 '''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())''' 49 return QDBusMessage() 50 def timeout(self): 51 '''int QDBusAbstractInterface.timeout()''' 52 return int() 53 def setTimeout(self, timeout): 54 '''void QDBusAbstractInterface.setTimeout(int timeout)''' 55 def lastError(self): 56 '''QDBusError QDBusAbstractInterface.lastError()''' 57 return QDBusError() 58 def interface(self): 59 '''str QDBusAbstractInterface.interface()''' 60 return str() 61 def path(self): 62 '''str QDBusAbstractInterface.path()''' 63 return str() 64 def service(self): 65 '''str QDBusAbstractInterface.service()''' 66 return str() 67 def connection(self): 68 '''QDBusConnection QDBusAbstractInterface.connection()''' 69 return QDBusConnection() 70 def isValid(self): 71 '''bool QDBusAbstractInterface.isValid()''' 72 return bool() 73 74 75class QDBusArgument(): 76 """""" 77 def __init__(self): 78 '''void QDBusArgument.__init__()''' 79 def __init__(self, other): 80 '''void QDBusArgument.__init__(QDBusArgument other)''' 81 def __init__(self, arg, id = None): 82 '''void QDBusArgument.__init__(object arg, int id = QMetaType.Int)''' 83 def endMapEntry(self): 84 '''void QDBusArgument.endMapEntry()''' 85 def beginMapEntry(self): 86 '''void QDBusArgument.beginMapEntry()''' 87 def endMap(self): 88 '''void QDBusArgument.endMap()''' 89 def beginMap(self, kid, vid): 90 '''void QDBusArgument.beginMap(int kid, int vid)''' 91 def endArray(self): 92 '''void QDBusArgument.endArray()''' 93 def beginArray(self, id): 94 '''void QDBusArgument.beginArray(int id)''' 95 def endStructure(self): 96 '''void QDBusArgument.endStructure()''' 97 def beginStructure(self): 98 '''void QDBusArgument.beginStructure()''' 99 def add(self, arg, id = None): 100 ''' QDBusArgument.add(object arg, int id = QMetaType.Int)''' 101 return () 102 103 104class QDBus(): 105 """""" 106 # Enum QDBus.CallMode 107 NoBlock = 0 108 Block = 0 109 BlockWithGui = 0 110 AutoDetect = 0 111 112 113 114class QDBusConnection(): 115 """""" 116 # Enum QDBusConnection.ConnectionCapability 117 UnixFileDescriptorPassing = 0 118 119 # Enum QDBusConnection.UnregisterMode 120 UnregisterNode = 0 121 UnregisterTree = 0 122 123 # Enum QDBusConnection.RegisterOption 124 ExportAdaptors = 0 125 ExportScriptableSlots = 0 126 ExportScriptableSignals = 0 127 ExportScriptableProperties = 0 128 ExportScriptableInvokables = 0 129 ExportScriptableContents = 0 130 ExportNonScriptableSlots = 0 131 ExportNonScriptableSignals = 0 132 ExportNonScriptableProperties = 0 133 ExportNonScriptableInvokables = 0 134 ExportNonScriptableContents = 0 135 ExportAllSlots = 0 136 ExportAllSignals = 0 137 ExportAllProperties = 0 138 ExportAllInvokables = 0 139 ExportAllContents = 0 140 ExportAllSignal = 0 141 ExportChildObjects = 0 142 143 # Enum QDBusConnection.BusType 144 SessionBus = 0 145 SystemBus = 0 146 ActivationBus = 0 147 148 def __init__(self, name): 149 '''void QDBusConnection.__init__(str name)''' 150 def __init__(self, other): 151 '''void QDBusConnection.__init__(QDBusConnection other)''' 152 def sender(self): 153 '''static QDBusConnection QDBusConnection.sender()''' 154 return QDBusConnection() 155 def systemBus(self): 156 '''static QDBusConnection QDBusConnection.systemBus()''' 157 return QDBusConnection() 158 def sessionBus(self): 159 '''static QDBusConnection QDBusConnection.sessionBus()''' 160 return QDBusConnection() 161 def localMachineId(self): 162 '''static QByteArray QDBusConnection.localMachineId()''' 163 return QByteArray() 164 def disconnectFromPeer(self, name): 165 '''static void QDBusConnection.disconnectFromPeer(str name)''' 166 def disconnectFromBus(self, name): 167 '''static void QDBusConnection.disconnectFromBus(str name)''' 168 def connectToPeer(self, address, name): 169 '''static QDBusConnection QDBusConnection.connectToPeer(str address, str name)''' 170 return QDBusConnection() 171 def connectToBus(self, type, name): 172 '''static QDBusConnection QDBusConnection.connectToBus(QDBusConnection.BusType type, str name)''' 173 return QDBusConnection() 174 def connectToBus(self, address, name): 175 '''static QDBusConnection QDBusConnection.connectToBus(str address, str name)''' 176 return QDBusConnection() 177 def interface(self): 178 '''QDBusConnectionInterface QDBusConnection.interface()''' 179 return QDBusConnectionInterface() 180 def unregisterService(self, serviceName): 181 '''bool QDBusConnection.unregisterService(str serviceName)''' 182 return bool() 183 def registerService(self, serviceName): 184 '''bool QDBusConnection.registerService(str serviceName)''' 185 return bool() 186 def objectRegisteredAt(self, path): 187 '''QObject QDBusConnection.objectRegisteredAt(str path)''' 188 return QObject() 189 def unregisterObject(self, path, mode = None): 190 '''void QDBusConnection.unregisterObject(str path, QDBusConnection.UnregisterMode mode = QDBusConnection.UnregisterNode)''' 191 def registerObject(self, path, object, options = None): 192 '''bool QDBusConnection.registerObject(str path, QObject object, QDBusConnection.RegisterOptions options = QDBusConnection.ExportAdaptors)''' 193 return bool() 194 def registerObject(self, path, interface, object, options = None): 195 '''bool QDBusConnection.registerObject(str path, str interface, QObject object, QDBusConnection.RegisterOptions options = QDBusConnection.ExportAdaptors)''' 196 return bool() 197 def disconnect(self, service, path, interface, name, slot): 198 '''bool QDBusConnection.disconnect(str service, str path, str interface, str name, slot slot)''' 199 return bool() 200 def disconnect(self, service, path, interface, name, signature, slot): 201 '''bool QDBusConnection.disconnect(str service, str path, str interface, str name, str signature, slot slot)''' 202 return bool() 203 def disconnect(self, service, path, interface, name, argumentMatch, signature, slot): 204 '''bool QDBusConnection.disconnect(str service, str path, str interface, str name, list-of-str argumentMatch, str signature, slot slot)''' 205 return bool() 206 def connect(self, service, path, interface, name, slot): 207 '''bool QDBusConnection.connect(str service, str path, str interface, str name, slot slot)''' 208 return bool() 209 def connect(self, service, path, interface, name, signature, slot): 210 '''bool QDBusConnection.connect(str service, str path, str interface, str name, str signature, slot slot)''' 211 return bool() 212 def connect(self, service, path, interface, name, argumentMatch, signature, slot): 213 '''bool QDBusConnection.connect(str service, str path, str interface, str name, list-of-str argumentMatch, str signature, slot slot)''' 214 return bool() 215 def asyncCall(self, message, timeout = None): 216 '''QDBusPendingCall QDBusConnection.asyncCall(QDBusMessage message, int timeout = -1)''' 217 return QDBusPendingCall() 218 def call(self, message, mode = None, timeout = None): 219 '''QDBusMessage QDBusConnection.call(QDBusMessage message, QDBus.CallMode mode = QDBus.Block, int timeout = -1)''' 220 return QDBusMessage() 221 def callWithCallback(self, message, returnMethod, errorMethod, timeout = None): 222 '''bool QDBusConnection.callWithCallback(QDBusMessage message, slot returnMethod, slot errorMethod, int timeout = -1)''' 223 return bool() 224 def send(self, message): 225 '''bool QDBusConnection.send(QDBusMessage message)''' 226 return bool() 227 def connectionCapabilities(self): 228 '''QDBusConnection.ConnectionCapabilities QDBusConnection.connectionCapabilities()''' 229 return QDBusConnection.ConnectionCapabilities() 230 def name(self): 231 '''str QDBusConnection.name()''' 232 return str() 233 def lastError(self): 234 '''QDBusError QDBusConnection.lastError()''' 235 return QDBusError() 236 def baseService(self): 237 '''str QDBusConnection.baseService()''' 238 return str() 239 def isConnected(self): 240 '''bool QDBusConnection.isConnected()''' 241 return bool() 242 class RegisterOptions(): 243 """""" 244 def __init__(self): 245 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__init__()''' 246 return QDBusConnection.RegisterOptions() 247 def __init__(self): 248 '''int QDBusConnection.RegisterOptions.__init__()''' 249 return int() 250 def __init__(self): 251 '''void QDBusConnection.RegisterOptions.__init__()''' 252 def __bool__(self): 253 '''int QDBusConnection.RegisterOptions.__bool__()''' 254 return int() 255 def __ne__(self, f): 256 '''bool QDBusConnection.RegisterOptions.__ne__(QDBusConnection.RegisterOptions f)''' 257 return bool() 258 def __eq__(self, f): 259 '''bool QDBusConnection.RegisterOptions.__eq__(QDBusConnection.RegisterOptions f)''' 260 return bool() 261 def __invert__(self): 262 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__invert__()''' 263 return QDBusConnection.RegisterOptions() 264 def __and__(self, mask): 265 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__and__(int mask)''' 266 return QDBusConnection.RegisterOptions() 267 def __xor__(self, f): 268 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__xor__(QDBusConnection.RegisterOptions f)''' 269 return QDBusConnection.RegisterOptions() 270 def __xor__(self, f): 271 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__xor__(int f)''' 272 return QDBusConnection.RegisterOptions() 273 def __or__(self, f): 274 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__or__(QDBusConnection.RegisterOptions f)''' 275 return QDBusConnection.RegisterOptions() 276 def __or__(self, f): 277 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__or__(int f)''' 278 return QDBusConnection.RegisterOptions() 279 def __int__(self): 280 '''int QDBusConnection.RegisterOptions.__int__()''' 281 return int() 282 def __ixor__(self, f): 283 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__ixor__(QDBusConnection.RegisterOptions f)''' 284 return QDBusConnection.RegisterOptions() 285 def __ior__(self, f): 286 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__ior__(QDBusConnection.RegisterOptions f)''' 287 return QDBusConnection.RegisterOptions() 288 def __iand__(self, mask): 289 '''QDBusConnection.RegisterOptions QDBusConnection.RegisterOptions.__iand__(int mask)''' 290 return QDBusConnection.RegisterOptions() 291 class ConnectionCapabilities(): 292 """""" 293 def __init__(self): 294 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__init__()''' 295 return QDBusConnection.ConnectionCapabilities() 296 def __init__(self): 297 '''int QDBusConnection.ConnectionCapabilities.__init__()''' 298 return int() 299 def __init__(self): 300 '''void QDBusConnection.ConnectionCapabilities.__init__()''' 301 def __bool__(self): 302 '''int QDBusConnection.ConnectionCapabilities.__bool__()''' 303 return int() 304 def __ne__(self, f): 305 '''bool QDBusConnection.ConnectionCapabilities.__ne__(QDBusConnection.ConnectionCapabilities f)''' 306 return bool() 307 def __eq__(self, f): 308 '''bool QDBusConnection.ConnectionCapabilities.__eq__(QDBusConnection.ConnectionCapabilities f)''' 309 return bool() 310 def __invert__(self): 311 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__invert__()''' 312 return QDBusConnection.ConnectionCapabilities() 313 def __and__(self, mask): 314 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__and__(int mask)''' 315 return QDBusConnection.ConnectionCapabilities() 316 def __xor__(self, f): 317 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__xor__(QDBusConnection.ConnectionCapabilities f)''' 318 return QDBusConnection.ConnectionCapabilities() 319 def __xor__(self, f): 320 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__xor__(int f)''' 321 return QDBusConnection.ConnectionCapabilities() 322 def __or__(self, f): 323 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__or__(QDBusConnection.ConnectionCapabilities f)''' 324 return QDBusConnection.ConnectionCapabilities() 325 def __or__(self, f): 326 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__or__(int f)''' 327 return QDBusConnection.ConnectionCapabilities() 328 def __int__(self): 329 '''int QDBusConnection.ConnectionCapabilities.__int__()''' 330 return int() 331 def __ixor__(self, f): 332 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__ixor__(QDBusConnection.ConnectionCapabilities f)''' 333 return QDBusConnection.ConnectionCapabilities() 334 def __ior__(self, f): 335 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__ior__(QDBusConnection.ConnectionCapabilities f)''' 336 return QDBusConnection.ConnectionCapabilities() 337 def __iand__(self, mask): 338 '''QDBusConnection.ConnectionCapabilities QDBusConnection.ConnectionCapabilities.__iand__(int mask)''' 339 return QDBusConnection.ConnectionCapabilities() 340 341 342class QDBusConnectionInterface(QDBusAbstractInterface): 343 """""" 344 # Enum QDBusConnectionInterface.RegisterServiceReply 345 ServiceNotRegistered = 0 346 ServiceRegistered = 0 347 ServiceQueued = 0 348 349 # Enum QDBusConnectionInterface.ServiceReplacementOptions 350 DontAllowReplacement = 0 351 AllowReplacement = 0 352 353 # Enum QDBusConnectionInterface.ServiceQueueOptions 354 DontQueueService = 0 355 QueueService = 0 356 ReplaceExistingService = 0 357 358 def disconnectNotify(self): 359 '''QMetaMethod QDBusConnectionInterface.disconnectNotify()''' 360 return QMetaMethod() 361 def connectNotify(self): 362 '''QMetaMethod QDBusConnectionInterface.connectNotify()''' 363 return QMetaMethod() 364 callWithCallbackFailed = pyqtSignal() # void callWithCallbackFailed(const QDBusErroramp;,const QDBusMessageamp;) - signal 365 serviceUnregistered = pyqtSignal() # void serviceUnregistered(const QStringamp;) - signal 366 serviceRegistered = pyqtSignal() # void serviceRegistered(const QStringamp;) - signal 367 def startService(self, name): 368 '''QDBusReply QDBusConnectionInterface.startService(str name)''' 369 return QDBusReply() 370 def serviceUid(self, serviceName): 371 '''QDBusReply QDBusConnectionInterface.serviceUid(str serviceName)''' 372 return QDBusReply() 373 def servicePid(self, serviceName): 374 '''QDBusReply QDBusConnectionInterface.servicePid(str serviceName)''' 375 return QDBusReply() 376 def registerService(self, serviceName, qoption = None, roption = None): 377 '''QDBusReply QDBusConnectionInterface.registerService(str serviceName, QDBusConnectionInterface.ServiceQueueOptions qoption = QDBusConnectionInterface.DontQueueService, QDBusConnectionInterface.ServiceReplacementOptions roption = QDBusConnectionInterface.DontAllowReplacement)''' 378 return QDBusReply() 379 def unregisterService(self, serviceName): 380 '''QDBusReply QDBusConnectionInterface.unregisterService(str serviceName)''' 381 return QDBusReply() 382 def serviceOwner(self, name): 383 '''QDBusReply QDBusConnectionInterface.serviceOwner(str name)''' 384 return QDBusReply() 385 def isServiceRegistered(self, serviceName): 386 '''QDBusReply QDBusConnectionInterface.isServiceRegistered(str serviceName)''' 387 return QDBusReply() 388 def registeredServiceNames(self): 389 '''QDBusReply QDBusConnectionInterface.registeredServiceNames()''' 390 return QDBusReply() 391 392 393class QDBusError(): 394 """""" 395 # Enum QDBusError.ErrorType 396 NoError = 0 397 Other = 0 398 Failed = 0 399 NoMemory = 0 400 ServiceUnknown = 0 401 NoReply = 0 402 BadAddress = 0 403 NotSupported = 0 404 LimitsExceeded = 0 405 AccessDenied = 0 406 NoServer = 0 407 Timeout = 0 408 NoNetwork = 0 409 AddressInUse = 0 410 Disconnected = 0 411 InvalidArgs = 0 412 UnknownMethod = 0 413 TimedOut = 0 414 InvalidSignature = 0 415 UnknownInterface = 0 416 InternalError = 0 417 UnknownObject = 0 418 InvalidService = 0 419 InvalidObjectPath = 0 420 InvalidInterface = 0 421 InvalidMember = 0 422 UnknownProperty = 0 423 PropertyReadOnly = 0 424 425 def __init__(self, other): 426 '''void QDBusError.__init__(QDBusError other)''' 427 def errorString(self, error): 428 '''static str QDBusError.errorString(QDBusError.ErrorType error)''' 429 return str() 430 def isValid(self): 431 '''bool QDBusError.isValid()''' 432 return bool() 433 def message(self): 434 '''str QDBusError.message()''' 435 return str() 436 def name(self): 437 '''str QDBusError.name()''' 438 return str() 439 def type(self): 440 '''QDBusError.ErrorType QDBusError.type()''' 441 return QDBusError.ErrorType() 442 443 444class QDBusObjectPath(): 445 """""" 446 def __init__(self): 447 '''void QDBusObjectPath.__init__()''' 448 def __init__(self, objectPath): 449 '''void QDBusObjectPath.__init__(str objectPath)''' 450 def __init__(self): 451 '''QDBusObjectPath QDBusObjectPath.__init__()''' 452 return QDBusObjectPath() 453 def __ge__(self, rhs): 454 '''bool QDBusObjectPath.__ge__(QDBusObjectPath rhs)''' 455 return bool() 456 def __eq__(self, rhs): 457 '''bool QDBusObjectPath.__eq__(QDBusObjectPath rhs)''' 458 return bool() 459 def __ne__(self, rhs): 460 '''bool QDBusObjectPath.__ne__(QDBusObjectPath rhs)''' 461 return bool() 462 def __lt__(self, rhs): 463 '''bool QDBusObjectPath.__lt__(QDBusObjectPath rhs)''' 464 return bool() 465 def __hash__(self): 466 '''int QDBusObjectPath.__hash__()''' 467 return int() 468 def setPath(self, objectPath): 469 '''void QDBusObjectPath.setPath(str objectPath)''' 470 def path(self): 471 '''str QDBusObjectPath.path()''' 472 return str() 473 474 475class QDBusSignature(): 476 """""" 477 def __init__(self): 478 '''void QDBusSignature.__init__()''' 479 def __init__(self, dBusSignature): 480 '''void QDBusSignature.__init__(str dBusSignature)''' 481 def __init__(self): 482 '''QDBusSignature QDBusSignature.__init__()''' 483 return QDBusSignature() 484 def __ge__(self, rhs): 485 '''bool QDBusSignature.__ge__(QDBusSignature rhs)''' 486 return bool() 487 def __eq__(self, rhs): 488 '''bool QDBusSignature.__eq__(QDBusSignature rhs)''' 489 return bool() 490 def __ne__(self, rhs): 491 '''bool QDBusSignature.__ne__(QDBusSignature rhs)''' 492 return bool() 493 def __lt__(self, rhs): 494 '''bool QDBusSignature.__lt__(QDBusSignature rhs)''' 495 return bool() 496 def __hash__(self): 497 '''int QDBusSignature.__hash__()''' 498 return int() 499 def setSignature(self, dBusSignature): 500 '''void QDBusSignature.setSignature(str dBusSignature)''' 501 def signature(self): 502 '''str QDBusSignature.signature()''' 503 return str() 504 505 506class QDBusVariant(): 507 """""" 508 def __init__(self): 509 '''void QDBusVariant.__init__()''' 510 def __init__(self, dBusVariant): 511 '''void QDBusVariant.__init__(QVariant dBusVariant)''' 512 def __init__(self): 513 '''QDBusVariant QDBusVariant.__init__()''' 514 return QDBusVariant() 515 def __ne__(self, v2): 516 '''bool QDBusVariant.__ne__(QDBusVariant v2)''' 517 return bool() 518 def __eq__(self, v2): 519 '''bool QDBusVariant.__eq__(QDBusVariant v2)''' 520 return bool() 521 def setVariant(self, dBusVariant): 522 '''void QDBusVariant.setVariant(QVariant dBusVariant)''' 523 def variant(self): 524 '''QVariant QDBusVariant.variant()''' 525 return QVariant() 526 527 528class QDBusInterface(QDBusAbstractInterface): 529 """""" 530 def __init__(self, service, path, interface = str(), connection = None, parent = None): 531 '''void QDBusInterface.__init__(str service, str path, str interface = str(), QDBusConnection connection = QDBusConnection.sessionBus(), QObject parent = None)''' 532 533 534class QDBusMessage(): 535 """""" 536 # Enum QDBusMessage.MessageType 537 InvalidMessage = 0 538 MethodCallMessage = 0 539 ReplyMessage = 0 540 ErrorMessage = 0 541 SignalMessage = 0 542 543 def __init__(self): 544 '''void QDBusMessage.__init__()''' 545 def __init__(self, other): 546 '''void QDBusMessage.__init__(QDBusMessage other)''' 547 def __lshift__(self, arg): 548 '''QDBusMessage QDBusMessage.__lshift__(QVariant arg)''' 549 return QDBusMessage() 550 def arguments(self): 551 '''list-of-QVariant QDBusMessage.arguments()''' 552 return [QVariant()] 553 def setArguments(self, arguments): 554 '''void QDBusMessage.setArguments(list-of-QVariant arguments)''' 555 def autoStartService(self): 556 '''bool QDBusMessage.autoStartService()''' 557 return bool() 558 def setAutoStartService(self, enable): 559 '''void QDBusMessage.setAutoStartService(bool enable)''' 560 def isDelayedReply(self): 561 '''bool QDBusMessage.isDelayedReply()''' 562 return bool() 563 def setDelayedReply(self, enable): 564 '''void QDBusMessage.setDelayedReply(bool enable)''' 565 def isReplyRequired(self): 566 '''bool QDBusMessage.isReplyRequired()''' 567 return bool() 568 def signature(self): 569 '''str QDBusMessage.signature()''' 570 return str() 571 def type(self): 572 '''QDBusMessage.MessageType QDBusMessage.type()''' 573 return QDBusMessage.MessageType() 574 def errorMessage(self): 575 '''str QDBusMessage.errorMessage()''' 576 return str() 577 def errorName(self): 578 '''str QDBusMessage.errorName()''' 579 return str() 580 def member(self): 581 '''str QDBusMessage.member()''' 582 return str() 583 def interface(self): 584 '''str QDBusMessage.interface()''' 585 return str() 586 def path(self): 587 '''str QDBusMessage.path()''' 588 return str() 589 def service(self): 590 '''str QDBusMessage.service()''' 591 return str() 592 def createErrorReply(self, name, msg): 593 '''QDBusMessage QDBusMessage.createErrorReply(str name, str msg)''' 594 return QDBusMessage() 595 def createErrorReply(self, error): 596 '''QDBusMessage QDBusMessage.createErrorReply(QDBusError error)''' 597 return QDBusMessage() 598 def createErrorReply(self, type, msg): 599 '''QDBusMessage QDBusMessage.createErrorReply(QDBusError.ErrorType type, str msg)''' 600 return QDBusMessage() 601 def createReply(self, arguments = None): 602 '''QDBusMessage QDBusMessage.createReply(list-of-QVariant arguments = QListlt;QVariantgt;())''' 603 return QDBusMessage() 604 def createReply(self, argument): 605 '''QDBusMessage QDBusMessage.createReply(QVariant argument)''' 606 return QDBusMessage() 607 def createError(self, name, msg): 608 '''static QDBusMessage QDBusMessage.createError(str name, str msg)''' 609 return QDBusMessage() 610 def createError(self, error): 611 '''static QDBusMessage QDBusMessage.createError(QDBusError error)''' 612 return QDBusMessage() 613 def createError(self, type, msg): 614 '''static QDBusMessage QDBusMessage.createError(QDBusError.ErrorType type, str msg)''' 615 return QDBusMessage() 616 def createMethodCall(self, service, path, interface, method): 617 '''static QDBusMessage QDBusMessage.createMethodCall(str service, str path, str interface, str method)''' 618 return QDBusMessage() 619 def createSignal(self, path, interface, name): 620 '''static QDBusMessage QDBusMessage.createSignal(str path, str interface, str name)''' 621 return QDBusMessage() 622 623 624class QDBusPendingCall(): 625 """""" 626 def __init__(self, other): 627 '''void QDBusPendingCall.__init__(QDBusPendingCall other)''' 628 def swap(self, other): 629 '''void QDBusPendingCall.swap(QDBusPendingCall other)''' 630 def fromCompletedCall(self, message): 631 '''static QDBusPendingCall QDBusPendingCall.fromCompletedCall(QDBusMessage message)''' 632 return QDBusPendingCall() 633 def fromError(self, error): 634 '''static QDBusPendingCall QDBusPendingCall.fromError(QDBusError error)''' 635 return QDBusPendingCall() 636 637 638class QDBusPendingCallWatcher(QObject, QDBusPendingCall): 639 """""" 640 def __init__(self, call, parent = None): 641 '''void QDBusPendingCallWatcher.__init__(QDBusPendingCall call, QObject parent = None)''' 642 finished = pyqtSignal() # void finished(QDBusPendingCallWatcher*) - signal 643 def waitForFinished(self): 644 '''void QDBusPendingCallWatcher.waitForFinished()''' 645 def isFinished(self): 646 '''bool QDBusPendingCallWatcher.isFinished()''' 647 return bool() 648 649 650class QDBusServiceWatcher(QObject): 651 """""" 652 # Enum QDBusServiceWatcher.WatchModeFlag 653 WatchForRegistration = 0 654 WatchForUnregistration = 0 655 WatchForOwnerChange = 0 656 657 def __init__(self, parent = None): 658 '''void QDBusServiceWatcher.__init__(QObject parent = None)''' 659 def __init__(self, service, connection, watchMode = None, parent = None): 660 '''void QDBusServiceWatcher.__init__(str service, QDBusConnection connection, QDBusServiceWatcher.WatchMode watchMode = QDBusServiceWatcher.WatchForOwnerChange, QObject parent = None)''' 661 serviceOwnerChanged = pyqtSignal() # void serviceOwnerChanged(const QStringamp;,const QStringamp;,const QStringamp;) - signal 662 serviceUnregistered = pyqtSignal() # void serviceUnregistered(const QStringamp;) - signal 663 serviceRegistered = pyqtSignal() # void serviceRegistered(const QStringamp;) - signal 664 def setConnection(self, connection): 665 '''void QDBusServiceWatcher.setConnection(QDBusConnection connection)''' 666 def connection(self): 667 '''QDBusConnection QDBusServiceWatcher.connection()''' 668 return QDBusConnection() 669 def setWatchMode(self, mode): 670 '''void QDBusServiceWatcher.setWatchMode(QDBusServiceWatcher.WatchMode mode)''' 671 def watchMode(self): 672 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.watchMode()''' 673 return QDBusServiceWatcher.WatchMode() 674 def removeWatchedService(self, service): 675 '''bool QDBusServiceWatcher.removeWatchedService(str service)''' 676 return bool() 677 def addWatchedService(self, newService): 678 '''void QDBusServiceWatcher.addWatchedService(str newService)''' 679 def setWatchedServices(self, services): 680 '''void QDBusServiceWatcher.setWatchedServices(list-of-str services)''' 681 def watchedServices(self): 682 '''list-of-str QDBusServiceWatcher.watchedServices()''' 683 return [str()] 684 class WatchMode(): 685 """""" 686 def __init__(self): 687 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__init__()''' 688 return QDBusServiceWatcher.WatchMode() 689 def __init__(self): 690 '''int QDBusServiceWatcher.WatchMode.__init__()''' 691 return int() 692 def __init__(self): 693 '''void QDBusServiceWatcher.WatchMode.__init__()''' 694 def __bool__(self): 695 '''int QDBusServiceWatcher.WatchMode.__bool__()''' 696 return int() 697 def __ne__(self, f): 698 '''bool QDBusServiceWatcher.WatchMode.__ne__(QDBusServiceWatcher.WatchMode f)''' 699 return bool() 700 def __eq__(self, f): 701 '''bool QDBusServiceWatcher.WatchMode.__eq__(QDBusServiceWatcher.WatchMode f)''' 702 return bool() 703 def __invert__(self): 704 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__invert__()''' 705 return QDBusServiceWatcher.WatchMode() 706 def __and__(self, mask): 707 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__and__(int mask)''' 708 return QDBusServiceWatcher.WatchMode() 709 def __xor__(self, f): 710 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__xor__(QDBusServiceWatcher.WatchMode f)''' 711 return QDBusServiceWatcher.WatchMode() 712 def __xor__(self, f): 713 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__xor__(int f)''' 714 return QDBusServiceWatcher.WatchMode() 715 def __or__(self, f): 716 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__or__(QDBusServiceWatcher.WatchMode f)''' 717 return QDBusServiceWatcher.WatchMode() 718 def __or__(self, f): 719 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__or__(int f)''' 720 return QDBusServiceWatcher.WatchMode() 721 def __int__(self): 722 '''int QDBusServiceWatcher.WatchMode.__int__()''' 723 return int() 724 def __ixor__(self, f): 725 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__ixor__(QDBusServiceWatcher.WatchMode f)''' 726 return QDBusServiceWatcher.WatchMode() 727 def __ior__(self, f): 728 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__ior__(QDBusServiceWatcher.WatchMode f)''' 729 return QDBusServiceWatcher.WatchMode() 730 def __iand__(self, mask): 731 '''QDBusServiceWatcher.WatchMode QDBusServiceWatcher.WatchMode.__iand__(int mask)''' 732 return QDBusServiceWatcher.WatchMode() 733 734 735class QDBusUnixFileDescriptor(): 736 """""" 737 def __init__(self): 738 '''void QDBusUnixFileDescriptor.__init__()''' 739 def __init__(self, fileDescriptor): 740 '''void QDBusUnixFileDescriptor.__init__(int fileDescriptor)''' 741 def __init__(self, other): 742 '''void QDBusUnixFileDescriptor.__init__(QDBusUnixFileDescriptor other)''' 743 def swap(self, other): 744 '''void QDBusUnixFileDescriptor.swap(QDBusUnixFileDescriptor other)''' 745 def isSupported(self): 746 '''static bool QDBusUnixFileDescriptor.isSupported()''' 747 return bool() 748 def setFileDescriptor(self, fileDescriptor): 749 '''void QDBusUnixFileDescriptor.setFileDescriptor(int fileDescriptor)''' 750 def fileDescriptor(self): 751 '''int QDBusUnixFileDescriptor.fileDescriptor()''' 752 return int() 753 def isValid(self): 754 '''bool QDBusUnixFileDescriptor.isValid()''' 755 return bool() 756 757 758class QDBusPendingReply(QDBusPendingCall): 759 """""" 760 def __init__(self): 761 '''void QDBusPendingReply.__init__()''' 762 def __init__(self, other): 763 '''void QDBusPendingReply.__init__(QDBusPendingReply other)''' 764 def __init__(self, call): 765 '''void QDBusPendingReply.__init__(QDBusPendingCall call)''' 766 def __init__(self, reply): 767 '''void QDBusPendingReply.__init__(QDBusMessage reply)''' 768 def value(self, type = None): 769 '''object QDBusPendingReply.value(object type = None)''' 770 return object() 771 def waitForFinished(self): 772 '''void QDBusPendingReply.waitForFinished()''' 773 def reply(self): 774 '''QDBusMessage QDBusPendingReply.reply()''' 775 return QDBusMessage() 776 def isValid(self): 777 '''bool QDBusPendingReply.isValid()''' 778 return bool() 779 def isFinished(self): 780 '''bool QDBusPendingReply.isFinished()''' 781 return bool() 782 def isError(self): 783 '''bool QDBusPendingReply.isError()''' 784 return bool() 785 def error(self): 786 '''QDBusError QDBusPendingReply.error()''' 787 return QDBusError() 788 def argumentAt(self, index): 789 '''QVariant QDBusPendingReply.argumentAt(int index)''' 790 return QVariant() 791 792 793class QDBusReply(): 794 """""" 795 def __init__(self, reply): 796 '''void QDBusReply.__init__(QDBusMessage reply)''' 797 def __init__(self, call): 798 '''void QDBusReply.__init__(QDBusPendingCall call)''' 799 def __init__(self, error): 800 '''void QDBusReply.__init__(QDBusError error)''' 801 def __init__(self, other): 802 '''void QDBusReply.__init__(QDBusReply other)''' 803 def value(self, type = None): 804 '''object QDBusReply.value(object type = None)''' 805 return object() 806 def isValid(self): 807 '''bool QDBusReply.isValid()''' 808 return bool() 809 def error(self): 810 '''QDBusError QDBusReply.error()''' 811 return QDBusError() 812 813 814