File indexing completed on 2024-05-12 16:08:39

0001 class pyqtSignal():
0002  def connect(self, targetSignal): pass
0003  def emit(self, *args): pass
0004 from QtCore import *
0005 
0006 class Solid():
0007     """"""
0008     # Enum Solid.ErrorType
0009     NoError = 0
0010     UnauthorizedOperation = 0
0011     DeviceBusy = 0
0012     OperationFailed = 0
0013     UserCanceled = 0
0014     InvalidOption = 0
0015     MissingDriver = 0
0016 
0017     class Processor(Solid.DeviceInterface):
0018         """"""
0019         # Enum Solid.Processor.InstructionSet
0020         NoExtensions = 0
0021         IntelMmx = 0
0022         IntelSse = 0
0023         IntelSse2 = 0
0024         IntelSse3 = 0
0025         IntelSse4 = 0
0026         Amd3DNow = 0
0027         AltiVec = 0
0028     
0029         def instructionSets(self):
0030             '''Solid.Processor.InstructionSets Solid.Processor.instructionSets()'''
0031             return Solid.Processor.InstructionSets()
0032         def canChangeFrequency(self):
0033             '''bool Solid.Processor.canChangeFrequency()'''
0034             return bool()
0035         def maxSpeed(self):
0036             '''int Solid.Processor.maxSpeed()'''
0037             return int()
0038         def number(self):
0039             '''int Solid.Processor.number()'''
0040             return int()
0041         def deviceInterfaceType(self):
0042             '''static Solid.DeviceInterface.Type Solid.Processor.deviceInterfaceType()'''
0043             return Solid.DeviceInterface.Type()
0044     class StorageDrive(Solid.DeviceInterface):
0045         """"""
0046         # Enum Solid.StorageDrive.DriveType
0047         HardDisk = 0
0048         CdromDrive = 0
0049         Floppy = 0
0050         Tape = 0
0051         CompactFlash = 0
0052         MemoryStick = 0
0053         SmartMedia = 0
0054         SdMmc = 0
0055         Xd = 0
0056     
0057         # Enum Solid.StorageDrive.Bus
0058         Ide = 0
0059         Usb = 0
0060         Ieee1394 = 0
0061         Scsi = 0
0062         Sata = 0
0063         Platform = 0
0064     
0065         def isInUse(self):
0066             '''bool Solid.StorageDrive.isInUse()'''
0067             return bool()
0068         def size(self):
0069             '''int Solid.StorageDrive.size()'''
0070             return int()
0071         def isHotpluggable(self):
0072             '''bool Solid.StorageDrive.isHotpluggable()'''
0073             return bool()
0074         def isRemovable(self):
0075             '''bool Solid.StorageDrive.isRemovable()'''
0076             return bool()
0077         def driveType(self):
0078             '''Solid.StorageDrive.DriveType Solid.StorageDrive.driveType()'''
0079             return Solid.StorageDrive.DriveType()
0080         def bus(self):
0081             '''Solid.StorageDrive.Bus Solid.StorageDrive.bus()'''
0082             return Solid.StorageDrive.Bus()
0083         def deviceInterfaceType(self):
0084             '''static Solid.DeviceInterface.Type Solid.StorageDrive.deviceInterfaceType()'''
0085             return Solid.DeviceInterface.Type()
0086     class Video(Solid.DeviceInterface):
0087         """"""
0088         def driverHandle(self, driver):
0089             '''QVariant Solid.Video.driverHandle(QString driver)'''
0090             return QVariant()
0091         def supportedDrivers(self, protocol = QString()):
0092             '''QStringList Solid.Video.supportedDrivers(QString protocol = QString())'''
0093             return QStringList()
0094         def supportedProtocols(self):
0095             '''QStringList Solid.Video.supportedProtocols()'''
0096             return QStringList()
0097         def deviceInterfaceType(self):
0098             '''static Solid.DeviceInterface.Type Solid.Video.deviceInterfaceType()'''
0099             return Solid.DeviceInterface.Type()
0100     class OpticalDrive(Solid.StorageDrive):
0101         """"""
0102         # Enum Solid.OpticalDrive.MediumType
0103         Cdr = 0
0104         Cdrw = 0
0105         Dvd = 0
0106         Dvdr = 0
0107         Dvdrw = 0
0108         Dvdram = 0
0109         Dvdplusr = 0
0110         Dvdplusrw = 0
0111         Dvdplusdl = 0
0112         Dvdplusdlrw = 0
0113         Bd = 0
0114         Bdr = 0
0115         Bdre = 0
0116         HdDvd = 0
0117         HdDvdr = 0
0118         HdDvdrw = 0
0119     
0120         ejectRequested = pyqtSignal() # void ejectRequested(const QStringamp;) - signal
0121         ejectDone = pyqtSignal() # void ejectDone(Solid::ErrorType,QVariant,const QStringamp;) - signal
0122         ejectPressed = pyqtSignal() # void ejectPressed(const QStringamp;) - signal
0123         def eject(self):
0124             '''bool Solid.OpticalDrive.eject()'''
0125             return bool()
0126         def writeSpeeds(self):
0127             '''list-of-int Solid.OpticalDrive.writeSpeeds()'''
0128             return [int()]
0129         def writeSpeed(self):
0130             '''int Solid.OpticalDrive.writeSpeed()'''
0131             return int()
0132         def readSpeed(self):
0133             '''int Solid.OpticalDrive.readSpeed()'''
0134             return int()
0135         def supportedMedia(self):
0136             '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.supportedMedia()'''
0137             return Solid.OpticalDrive.MediumTypes()
0138         def deviceInterfaceType(self):
0139             '''static Solid.DeviceInterface.Type Solid.OpticalDrive.deviceInterfaceType()'''
0140             return Solid.DeviceInterface.Type()
0141     class SmartCardReader(Solid.DeviceInterface):
0142         """"""
0143         # Enum Solid.SmartCardReader.ReaderType
0144         UnknownReaderType = 0
0145         CardReader = 0
0146         CryptoToken = 0
0147     
0148         def readerType(self):
0149             '''Solid.SmartCardReader.ReaderType Solid.SmartCardReader.readerType()'''
0150             return Solid.SmartCardReader.ReaderType()
0151         def deviceInterfaceType(self):
0152             '''static Solid.DeviceInterface.Type Solid.SmartCardReader.deviceInterfaceType()'''
0153             return Solid.DeviceInterface.Type()
0154     class AcAdapter(Solid.DeviceInterface):
0155         """"""
0156         plugStateChanged = pyqtSignal() # void plugStateChanged(bool,const QStringamp;) - signal
0157         def isPlugged(self):
0158             '''bool Solid.AcAdapter.isPlugged()'''
0159             return bool()
0160         def deviceInterfaceType(self):
0161             '''static Solid.DeviceInterface.Type Solid.AcAdapter.deviceInterfaceType()'''
0162             return Solid.DeviceInterface.Type()
0163     class NetworkShare(Solid.DeviceInterface):
0164         """"""
0165         # Enum Solid.NetworkShare.ShareType
0166         Unknown = 0
0167         Nfs = 0
0168         Cifs = 0
0169         Upnp = 0
0170     
0171         def url(self):
0172             '''QUrl Solid.NetworkShare.url()'''
0173             return QUrl()
0174         def type(self):
0175             '''Solid.NetworkShare.ShareType Solid.NetworkShare.type()'''
0176             return Solid.NetworkShare.ShareType()
0177         def deviceInterfaceType(self):
0178             '''static Solid.DeviceInterface.Type Solid.NetworkShare.deviceInterfaceType()'''
0179             return Solid.DeviceInterface.Type()
0180     class StorageVolume(Solid.DeviceInterface):
0181         """"""
0182         # Enum Solid.StorageVolume.UsageType
0183         Other = 0
0184         Unused = 0
0185         FileSystem = 0
0186         PartitionTable = 0
0187         Raid = 0
0188         Encrypted = 0
0189     
0190         def encryptedContainer(self):
0191             '''Solid.Device Solid.StorageVolume.encryptedContainer()'''
0192             return Solid.Device()
0193         def size(self):
0194             '''int Solid.StorageVolume.size()'''
0195             return int()
0196         def uuid(self):
0197             '''QString Solid.StorageVolume.uuid()'''
0198             return QString()
0199         def label(self):
0200             '''QString Solid.StorageVolume.label()'''
0201             return QString()
0202         def fsType(self):
0203             '''QString Solid.StorageVolume.fsType()'''
0204             return QString()
0205         def usage(self):
0206             '''Solid.StorageVolume.UsageType Solid.StorageVolume.usage()'''
0207             return Solid.StorageVolume.UsageType()
0208         def isIgnored(self):
0209             '''bool Solid.StorageVolume.isIgnored()'''
0210             return bool()
0211         def deviceInterfaceType(self):
0212             '''static Solid.DeviceInterface.Type Solid.StorageVolume.deviceInterfaceType()'''
0213             return Solid.DeviceInterface.Type()
0214     class OpticalDisc():
0215         """"""
0216         class ContentTypes():
0217             """"""
0218             def __init__(self):
0219                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__init__()'''
0220                 return Solid.OpticalDisc.ContentTypes()
0221             def __init__(self):
0222                 '''int Solid.OpticalDisc.ContentTypes.__init__()'''
0223                 return int()
0224             def __init__(self):
0225                 '''void Solid.OpticalDisc.ContentTypes.__init__()'''
0226             def __bool__(self):
0227                 '''int Solid.OpticalDisc.ContentTypes.__bool__()'''
0228                 return int()
0229             def __ne__(self, f):
0230                 '''bool Solid.OpticalDisc.ContentTypes.__ne__(Solid.OpticalDisc.ContentTypes f)'''
0231                 return bool()
0232             def __eq__(self, f):
0233                 '''bool Solid.OpticalDisc.ContentTypes.__eq__(Solid.OpticalDisc.ContentTypes f)'''
0234                 return bool()
0235             def __invert__(self):
0236                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__invert__()'''
0237                 return Solid.OpticalDisc.ContentTypes()
0238             def __and__(self, mask):
0239                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__and__(int mask)'''
0240                 return Solid.OpticalDisc.ContentTypes()
0241             def __xor__(self, f):
0242                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__xor__(Solid.OpticalDisc.ContentTypes f)'''
0243                 return Solid.OpticalDisc.ContentTypes()
0244             def __xor__(self, f):
0245                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__xor__(int f)'''
0246                 return Solid.OpticalDisc.ContentTypes()
0247             def __or__(self, f):
0248                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__or__(Solid.OpticalDisc.ContentTypes f)'''
0249                 return Solid.OpticalDisc.ContentTypes()
0250             def __or__(self, f):
0251                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__or__(int f)'''
0252                 return Solid.OpticalDisc.ContentTypes()
0253             def __int__(self):
0254                 '''int Solid.OpticalDisc.ContentTypes.__int__()'''
0255                 return int()
0256             def __ixor__(self, f):
0257                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__ixor__(Solid.OpticalDisc.ContentTypes f)'''
0258                 return Solid.OpticalDisc.ContentTypes()
0259             def __ior__(self, f):
0260                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__ior__(Solid.OpticalDisc.ContentTypes f)'''
0261                 return Solid.OpticalDisc.ContentTypes()
0262             def __iand__(self, mask):
0263                 '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__iand__(int mask)'''
0264                 return Solid.OpticalDisc.ContentTypes()
0265     class OpticalDisc(Solid.StorageVolume):
0266         """"""
0267         # Enum Solid.OpticalDisc.DiscType
0268         UnknownDiscType = 0
0269         CdRom = 0
0270         CdRecordable = 0
0271         CdRewritable = 0
0272         DvdRom = 0
0273         DvdRam = 0
0274         DvdRecordable = 0
0275         DvdRewritable = 0
0276         DvdPlusRecordable = 0
0277         DvdPlusRewritable = 0
0278         DvdPlusRecordableDuallayer = 0
0279         DvdPlusRewritableDuallayer = 0
0280         BluRayRom = 0
0281         BluRayRecordable = 0
0282         BluRayRewritable = 0
0283         HdDvdRom = 0
0284         HdDvdRecordable = 0
0285         HdDvdRewritable = 0
0286     
0287         # Enum Solid.OpticalDisc.ContentType
0288         NoContent = 0
0289         Audio = 0
0290         Data = 0
0291         VideoCd = 0
0292         SuperVideoCd = 0
0293         VideoDvd = 0
0294         VideoBluRay = 0
0295     
0296         def capacity(self):
0297             '''int Solid.OpticalDisc.capacity()'''
0298             return int()
0299         def isRewritable(self):
0300             '''bool Solid.OpticalDisc.isRewritable()'''
0301             return bool()
0302         def isBlank(self):
0303             '''bool Solid.OpticalDisc.isBlank()'''
0304             return bool()
0305         def isAppendable(self):
0306             '''bool Solid.OpticalDisc.isAppendable()'''
0307             return bool()
0308         def discType(self):
0309             '''Solid.OpticalDisc.DiscType Solid.OpticalDisc.discType()'''
0310             return Solid.OpticalDisc.DiscType()
0311         def availableContent(self):
0312             '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.availableContent()'''
0313             return Solid.OpticalDisc.ContentTypes()
0314         def deviceInterfaceType(self):
0315             '''static Solid.DeviceInterface.Type Solid.OpticalDisc.deviceInterfaceType()'''
0316             return Solid.DeviceInterface.Type()
0317     class Block(Solid.DeviceInterface):
0318         """"""
0319         def device(self):
0320             '''QString Solid.Block.device()'''
0321             return QString()
0322         def deviceMinor(self):
0323             '''int Solid.Block.deviceMinor()'''
0324             return int()
0325         def deviceMajor(self):
0326             '''int Solid.Block.deviceMajor()'''
0327             return int()
0328         def deviceInterfaceType(self):
0329             '''static Solid.DeviceInterface.Type Solid.Block.deviceInterfaceType()'''
0330             return Solid.DeviceInterface.Type()
0331     class Networking():
0332         """"""
0333         class Notifier(QObject):
0334             """"""
0335             def __init__(self):
0336                 '''void Solid.Networking.Notifier.__init__()'''
0337     class AudioInterface():
0338         """"""
0339         class AudioInterfaceTypes():
0340             """"""
0341             def __init__(self):
0342                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__init__()'''
0343                 return Solid.AudioInterface.AudioInterfaceTypes()
0344             def __init__(self):
0345                 '''int Solid.AudioInterface.AudioInterfaceTypes.__init__()'''
0346                 return int()
0347             def __init__(self):
0348                 '''void Solid.AudioInterface.AudioInterfaceTypes.__init__()'''
0349             def __bool__(self):
0350                 '''int Solid.AudioInterface.AudioInterfaceTypes.__bool__()'''
0351                 return int()
0352             def __ne__(self, f):
0353                 '''bool Solid.AudioInterface.AudioInterfaceTypes.__ne__(Solid.AudioInterface.AudioInterfaceTypes f)'''
0354                 return bool()
0355             def __eq__(self, f):
0356                 '''bool Solid.AudioInterface.AudioInterfaceTypes.__eq__(Solid.AudioInterface.AudioInterfaceTypes f)'''
0357                 return bool()
0358             def __invert__(self):
0359                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__invert__()'''
0360                 return Solid.AudioInterface.AudioInterfaceTypes()
0361             def __and__(self, mask):
0362                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__and__(int mask)'''
0363                 return Solid.AudioInterface.AudioInterfaceTypes()
0364             def __xor__(self, f):
0365                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__xor__(Solid.AudioInterface.AudioInterfaceTypes f)'''
0366                 return Solid.AudioInterface.AudioInterfaceTypes()
0367             def __xor__(self, f):
0368                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__xor__(int f)'''
0369                 return Solid.AudioInterface.AudioInterfaceTypes()
0370             def __or__(self, f):
0371                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__or__(Solid.AudioInterface.AudioInterfaceTypes f)'''
0372                 return Solid.AudioInterface.AudioInterfaceTypes()
0373             def __or__(self, f):
0374                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__or__(int f)'''
0375                 return Solid.AudioInterface.AudioInterfaceTypes()
0376             def __int__(self):
0377                 '''int Solid.AudioInterface.AudioInterfaceTypes.__int__()'''
0378                 return int()
0379             def __ixor__(self, f):
0380                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__ixor__(Solid.AudioInterface.AudioInterfaceTypes f)'''
0381                 return Solid.AudioInterface.AudioInterfaceTypes()
0382             def __ior__(self, f):
0383                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__ior__(Solid.AudioInterface.AudioInterfaceTypes f)'''
0384                 return Solid.AudioInterface.AudioInterfaceTypes()
0385             def __iand__(self, mask):
0386                 '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__iand__(int mask)'''
0387                 return Solid.AudioInterface.AudioInterfaceTypes()
0388     class Battery(Solid.DeviceInterface):
0389         """"""
0390         # Enum Solid.Battery.ChargeState
0391         NoCharge = 0
0392         Charging = 0
0393         Discharging = 0
0394     
0395         # Enum Solid.Battery.BatteryType
0396         UnknownBattery = 0
0397         PdaBattery = 0
0398         UpsBattery = 0
0399         PrimaryBattery = 0
0400         MouseBattery = 0
0401         KeyboardBattery = 0
0402         KeyboardMouseBattery = 0
0403         CameraBattery = 0
0404         PhoneBattery = 0
0405         MonitorBattery = 0
0406     
0407         plugStateChanged = pyqtSignal() # void plugStateChanged(bool,const QStringamp;) - signal
0408         chargeStateChanged = pyqtSignal() # void chargeStateChanged(int,const QStringamp;) - signal
0409         chargePercentChanged = pyqtSignal() # void chargePercentChanged(int,const QStringamp;) - signal
0410         def chargeState(self):
0411             '''Solid.Battery.ChargeState Solid.Battery.chargeState()'''
0412             return Solid.Battery.ChargeState()
0413         def isRechargeable(self):
0414             '''bool Solid.Battery.isRechargeable()'''
0415             return bool()
0416         def chargePercent(self):
0417             '''int Solid.Battery.chargePercent()'''
0418             return int()
0419         def type(self):
0420             '''Solid.Battery.BatteryType Solid.Battery.type()'''
0421             return Solid.Battery.BatteryType()
0422         def isPlugged(self):
0423             '''bool Solid.Battery.isPlugged()'''
0424             return bool()
0425         def deviceInterfaceType(self):
0426             '''static Solid.DeviceInterface.Type Solid.Battery.deviceInterfaceType()'''
0427             return Solid.DeviceInterface.Type()
0428     class Networking():
0429         """"""
0430         # Enum Solid.Networking.ManagementPolicy
0431         Manual = 0
0432         OnNextStatusChange = 0
0433         Managed = 0
0434     
0435         # Enum Solid.Networking.Status
0436         Unknown = 0
0437         Unconnected = 0
0438         Disconnecting = 0
0439         Connecting = 0
0440         Connected = 0
0441     
0442         def notifier(self):
0443             '''static Solid.Networking.Notifier Solid.Networking.notifier()'''
0444             return Solid.Networking.Notifier()
0445         def status(self):
0446             '''static Solid.Networking.Status Solid.Networking.status()'''
0447             return Solid.Networking.Status()
0448     class Camera(Solid.DeviceInterface):
0449         """"""
0450         def driverHandle(self, driver):
0451             '''QVariant Solid.Camera.driverHandle(QString driver)'''
0452             return QVariant()
0453         def supportedDrivers(self, protocol = QString()):
0454             '''QStringList Solid.Camera.supportedDrivers(QString protocol = QString())'''
0455             return QStringList()
0456         def supportedProtocols(self):
0457             '''QStringList Solid.Camera.supportedProtocols()'''
0458             return QStringList()
0459         def deviceInterfaceType(self):
0460             '''static Solid.DeviceInterface.Type Solid.Camera.deviceInterfaceType()'''
0461             return Solid.DeviceInterface.Type()
0462     class InternetGateway(Solid.DeviceInterface):
0463         """"""
0464         # Enum Solid.InternetGateway.NetworkProtocol
0465         TCP = 0
0466         UDP = 0
0467     
0468         # Enum Solid.InternetGateway.InternetStatus
0469         InternetEnabled = 0
0470         InternetDisabled = 0
0471         UnknownStatus = 0
0472     
0473         currentConnectionsDataIsReady = pyqtSignal() # void currentConnectionsDataIsReady(QStringList) - signal
0474         enabledForInternet = pyqtSignal() # void enabledForInternet(bool) - signal
0475         portMappingDeleted = pyqtSignal() # void portMappingDeleted(const QStringamp;,qint16,const Solid::InternetGateway::NetworkProtocolamp;) - signal
0476         portMappingAdded = pyqtSignal() # void portMappingAdded(const QStringamp;,qint16,const Solid::InternetGateway::NetworkProtocolamp;,qint16,const QStringamp;) - signal
0477         def setEnabledForInternet(self, enabled):
0478             '''void Solid.InternetGateway.setEnabledForInternet(bool enabled)'''
0479         def isEnabledForInternet(self):
0480             '''Solid.InternetGateway.InternetStatus Solid.InternetGateway.isEnabledForInternet()'''
0481             return Solid.InternetGateway.InternetStatus()
0482         def deletePortMapping(self, remoteHost, externalPort, mappingProtocol):
0483             '''void Solid.InternetGateway.deletePortMapping(QString remoteHost, int externalPort, Solid.InternetGateway.NetworkProtocol mappingProtocol)'''
0484         def addPortMapping(self, remoteHost, externalPort, mappingProtocol, internalPort, internalClient):
0485             '''void Solid.InternetGateway.addPortMapping(QString remoteHost, int externalPort, Solid.InternetGateway.NetworkProtocol mappingProtocol, int internalPort, QString internalClient)'''
0486         def currentConnections(self):
0487             '''QStringList Solid.InternetGateway.currentConnections()'''
0488             return QStringList()
0489         def requestCurrentConnections(self):
0490             '''void Solid.InternetGateway.requestCurrentConnections()'''
0491         def deviceInterfaceType(self):
0492             '''static Solid.DeviceInterface.Type Solid.InternetGateway.deviceInterfaceType()'''
0493             return Solid.DeviceInterface.Type()
0494     class SerialInterface(Solid.DeviceInterface):
0495         """"""
0496         # Enum Solid.SerialInterface.SerialType
0497         Unknown = 0
0498         Platform = 0
0499         Usb = 0
0500     
0501         def port(self):
0502             '''int Solid.SerialInterface.port()'''
0503             return int()
0504         def serialType(self):
0505             '''Solid.SerialInterface.SerialType Solid.SerialInterface.serialType()'''
0506             return Solid.SerialInterface.SerialType()
0507         def driverHandle(self):
0508             '''QVariant Solid.SerialInterface.driverHandle()'''
0509             return QVariant()
0510         def deviceInterfaceType(self):
0511             '''static Solid.DeviceInterface.Type Solid.SerialInterface.deviceInterfaceType()'''
0512             return Solid.DeviceInterface.Type()
0513     class OpticalDrive():
0514         """"""
0515         class MediumTypes():
0516             """"""
0517             def __init__(self):
0518                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__init__()'''
0519                 return Solid.OpticalDrive.MediumTypes()
0520             def __init__(self):
0521                 '''int Solid.OpticalDrive.MediumTypes.__init__()'''
0522                 return int()
0523             def __init__(self):
0524                 '''void Solid.OpticalDrive.MediumTypes.__init__()'''
0525             def __bool__(self):
0526                 '''int Solid.OpticalDrive.MediumTypes.__bool__()'''
0527                 return int()
0528             def __ne__(self, f):
0529                 '''bool Solid.OpticalDrive.MediumTypes.__ne__(Solid.OpticalDrive.MediumTypes f)'''
0530                 return bool()
0531             def __eq__(self, f):
0532                 '''bool Solid.OpticalDrive.MediumTypes.__eq__(Solid.OpticalDrive.MediumTypes f)'''
0533                 return bool()
0534             def __invert__(self):
0535                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__invert__()'''
0536                 return Solid.OpticalDrive.MediumTypes()
0537             def __and__(self, mask):
0538                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__and__(int mask)'''
0539                 return Solid.OpticalDrive.MediumTypes()
0540             def __xor__(self, f):
0541                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__xor__(Solid.OpticalDrive.MediumTypes f)'''
0542                 return Solid.OpticalDrive.MediumTypes()
0543             def __xor__(self, f):
0544                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__xor__(int f)'''
0545                 return Solid.OpticalDrive.MediumTypes()
0546             def __or__(self, f):
0547                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__or__(Solid.OpticalDrive.MediumTypes f)'''
0548                 return Solid.OpticalDrive.MediumTypes()
0549             def __or__(self, f):
0550                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__or__(int f)'''
0551                 return Solid.OpticalDrive.MediumTypes()
0552             def __int__(self):
0553                 '''int Solid.OpticalDrive.MediumTypes.__int__()'''
0554                 return int()
0555             def __ixor__(self, f):
0556                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__ixor__(Solid.OpticalDrive.MediumTypes f)'''
0557                 return Solid.OpticalDrive.MediumTypes()
0558             def __ior__(self, f):
0559                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__ior__(Solid.OpticalDrive.MediumTypes f)'''
0560                 return Solid.OpticalDrive.MediumTypes()
0561             def __iand__(self, mask):
0562                 '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__iand__(int mask)'''
0563                 return Solid.OpticalDrive.MediumTypes()
0564     class Device():
0565         """"""
0566         def __init__(self, udi = QString()):
0567             '''void Solid.Device.__init__(QString udi = QString())'''
0568         def __init__(self, device):
0569             '''void Solid.Device.__init__(Solid.Device device)'''
0570         def description(self):
0571             '''QString Solid.Device.description()'''
0572             return QString()
0573         def emblems(self):
0574             '''QStringList Solid.Device.emblems()'''
0575             return QStringList()
0576         def asDeviceInterface(self, type):
0577             '''Solid.DeviceInterface Solid.Device.asDeviceInterface(Solid.DeviceInterface.Type type)'''
0578             return Solid.DeviceInterface()
0579         def isDeviceInterface(self, type):
0580             '''bool Solid.Device.isDeviceInterface(Solid.DeviceInterface.Type type)'''
0581             return bool()
0582         def icon(self):
0583             '''QString Solid.Device.icon()'''
0584             return QString()
0585         def product(self):
0586             '''QString Solid.Device.product()'''
0587             return QString()
0588         def vendor(self):
0589             '''QString Solid.Device.vendor()'''
0590             return QString()
0591         def parent(self):
0592             '''Solid.Device Solid.Device.parent()'''
0593             return Solid.Device()
0594         def parentUdi(self):
0595             '''QString Solid.Device.parentUdi()'''
0596             return QString()
0597         def udi(self):
0598             '''QString Solid.Device.udi()'''
0599             return QString()
0600         def isValid(self):
0601             '''bool Solid.Device.isValid()'''
0602             return bool()
0603         def listFromQuery(self, predicate, parentUdi = QString()):
0604             '''static list-of-Solid.Device Solid.Device.listFromQuery(Solid.Predicate predicate, QString parentUdi = QString())'''
0605             return [Solid.Device()]
0606         def listFromQuery(self, predicate, parentUdi = QString()):
0607             '''static list-of-Solid.Device Solid.Device.listFromQuery(QString predicate, QString parentUdi = QString())'''
0608             return [Solid.Device()]
0609         def listFromType(self, type, parentUdi = QString()):
0610             '''static list-of-Solid.Device Solid.Device.listFromType(Solid.DeviceInterface.Type type, QString parentUdi = QString())'''
0611             return [Solid.Device()]
0612         def allDevices(self):
0613             '''static list-of-Solid.Device Solid.Device.allDevices()'''
0614             return [Solid.Device()]
0615     class DvbInterface(Solid.DeviceInterface):
0616         """"""
0617         # Enum Solid.DvbInterface.DeviceType
0618         DvbUnknown = 0
0619         DvbAudio = 0
0620         DvbCa = 0
0621         DvbDemux = 0
0622         DvbDvr = 0
0623         DvbFrontend = 0
0624         DvbNet = 0
0625         DvbOsd = 0
0626         DvbSec = 0
0627         DvbVideo = 0
0628     
0629         def deviceIndex(self):
0630             '''int Solid.DvbInterface.deviceIndex()'''
0631             return int()
0632         def deviceType(self):
0633             '''Solid.DvbInterface.DeviceType Solid.DvbInterface.deviceType()'''
0634             return Solid.DvbInterface.DeviceType()
0635         def deviceAdapter(self):
0636             '''int Solid.DvbInterface.deviceAdapter()'''
0637             return int()
0638         def device(self):
0639             '''QString Solid.DvbInterface.device()'''
0640             return QString()
0641         def deviceInterfaceType(self):
0642             '''static Solid.DeviceInterface.Type Solid.DvbInterface.deviceInterfaceType()'''
0643             return Solid.DeviceInterface.Type()
0644     class NetworkInterface(Solid.DeviceInterface):
0645         """"""
0646         def macAddress(self):
0647             '''int Solid.NetworkInterface.macAddress()'''
0648             return int()
0649         def hwAddress(self):
0650             '''QString Solid.NetworkInterface.hwAddress()'''
0651             return QString()
0652         def isWireless(self):
0653             '''bool Solid.NetworkInterface.isWireless()'''
0654             return bool()
0655         def ifaceName(self):
0656             '''QString Solid.NetworkInterface.ifaceName()'''
0657             return QString()
0658         def deviceInterfaceType(self):
0659             '''static Solid.DeviceInterface.Type Solid.NetworkInterface.deviceInterfaceType()'''
0660             return Solid.DeviceInterface.Type()
0661     class DeviceNotifier(QObject):
0662         """"""
0663         def __init__(self):
0664             '''void Solid.DeviceNotifier.__init__()'''
0665         deviceRemoved = pyqtSignal() # void deviceRemoved(const QStringamp;) - signal
0666         deviceAdded = pyqtSignal() # void deviceAdded(const QStringamp;) - signal
0667         def instance(self):
0668             '''static Solid.DeviceNotifier Solid.DeviceNotifier.instance()'''
0669             return Solid.DeviceNotifier()
0670     class Processor():
0671         """"""
0672         class InstructionSets():
0673             """"""
0674             def __init__(self):
0675                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__init__()'''
0676                 return Solid.Processor.InstructionSets()
0677             def __init__(self):
0678                 '''int Solid.Processor.InstructionSets.__init__()'''
0679                 return int()
0680             def __init__(self):
0681                 '''void Solid.Processor.InstructionSets.__init__()'''
0682             def __bool__(self):
0683                 '''int Solid.Processor.InstructionSets.__bool__()'''
0684                 return int()
0685             def __ne__(self, f):
0686                 '''bool Solid.Processor.InstructionSets.__ne__(Solid.Processor.InstructionSets f)'''
0687                 return bool()
0688             def __eq__(self, f):
0689                 '''bool Solid.Processor.InstructionSets.__eq__(Solid.Processor.InstructionSets f)'''
0690                 return bool()
0691             def __invert__(self):
0692                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__invert__()'''
0693                 return Solid.Processor.InstructionSets()
0694             def __and__(self, mask):
0695                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__and__(int mask)'''
0696                 return Solid.Processor.InstructionSets()
0697             def __xor__(self, f):
0698                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__xor__(Solid.Processor.InstructionSets f)'''
0699                 return Solid.Processor.InstructionSets()
0700             def __xor__(self, f):
0701                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__xor__(int f)'''
0702                 return Solid.Processor.InstructionSets()
0703             def __or__(self, f):
0704                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__or__(Solid.Processor.InstructionSets f)'''
0705                 return Solid.Processor.InstructionSets()
0706             def __or__(self, f):
0707                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__or__(int f)'''
0708                 return Solid.Processor.InstructionSets()
0709             def __int__(self):
0710                 '''int Solid.Processor.InstructionSets.__int__()'''
0711                 return int()
0712             def __ixor__(self, f):
0713                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__ixor__(Solid.Processor.InstructionSets f)'''
0714                 return Solid.Processor.InstructionSets()
0715             def __ior__(self, f):
0716                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__ior__(Solid.Processor.InstructionSets f)'''
0717                 return Solid.Processor.InstructionSets()
0718             def __iand__(self, mask):
0719                 '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__iand__(int mask)'''
0720                 return Solid.Processor.InstructionSets()
0721     class AudioInterface(Solid.DeviceInterface):
0722         """"""
0723         # Enum Solid.AudioInterface.SoundcardType
0724         InternalSoundcard = 0
0725         UsbSoundcard = 0
0726         FirewireSoundcard = 0
0727         Headset = 0
0728         Modem = 0
0729     
0730         # Enum Solid.AudioInterface.AudioInterfaceType
0731         UnknownAudioInterfaceType = 0
0732         AudioControl = 0
0733         AudioInput = 0
0734         AudioOutput = 0
0735     
0736         # Enum Solid.AudioInterface.AudioDriver
0737         Alsa = 0
0738         OpenSoundSystem = 0
0739         UnknownAudioDriver = 0
0740     
0741         def soundcardType(self):
0742             '''Solid.AudioInterface.SoundcardType Solid.AudioInterface.soundcardType()'''
0743             return Solid.AudioInterface.SoundcardType()
0744         def deviceType(self):
0745             '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.deviceType()'''
0746             return Solid.AudioInterface.AudioInterfaceTypes()
0747         def name(self):
0748             '''QString Solid.AudioInterface.name()'''
0749             return QString()
0750         def driverHandle(self):
0751             '''QVariant Solid.AudioInterface.driverHandle()'''
0752             return QVariant()
0753         def driver(self):
0754             '''Solid.AudioInterface.AudioDriver Solid.AudioInterface.driver()'''
0755             return Solid.AudioInterface.AudioDriver()
0756         def deviceInterfaceType(self):
0757             '''static Solid.DeviceInterface.Type Solid.AudioInterface.deviceInterfaceType()'''
0758             return Solid.DeviceInterface.Type()
0759     class PowerManagement():
0760         """"""
0761         # Enum Solid.PowerManagement.SleepState
0762         StandbyState = 0
0763         SuspendState = 0
0764         HibernateState = 0
0765     
0766         def stopSuppressingScreenPowerManagement(self, cookie):
0767             '''static bool Solid.PowerManagement.stopSuppressingScreenPowerManagement(int cookie)'''
0768             return bool()
0769         def beginSuppressingScreenPowerManagement(self, reason = QString()):
0770             '''static int Solid.PowerManagement.beginSuppressingScreenPowerManagement(QString reason = QString())'''
0771             return int()
0772         def stopSuppressingSleep(self, cookie):
0773             '''static bool Solid.PowerManagement.stopSuppressingSleep(int cookie)'''
0774             return bool()
0775         def beginSuppressingSleep(self, reason = QString()):
0776             '''static int Solid.PowerManagement.beginSuppressingSleep(QString reason = QString())'''
0777             return int()
0778         def requestSleep(self, state, receiver, member):
0779             '''static void Solid.PowerManagement.requestSleep(Solid.PowerManagement.SleepState state, QObject receiver, str member)'''
0780         def supportedSleepStates(self):
0781             '''static unknown-type Solid.PowerManagement.supportedSleepStates()'''
0782             return unknown-type()
0783         def appShouldConserveResources(self):
0784             '''static bool Solid.PowerManagement.appShouldConserveResources()'''
0785             return bool()
0786     class StorageAccess(Solid.DeviceInterface):
0787         """"""
0788         def isIgnored(self):
0789             '''bool Solid.StorageAccess.isIgnored()'''
0790             return bool()
0791         teardownRequested = pyqtSignal() # void teardownRequested(const QStringamp;) - signal
0792         setupRequested = pyqtSignal() # void setupRequested(const QStringamp;) - signal
0793         teardownDone = pyqtSignal() # void teardownDone(Solid::ErrorType,QVariant,const QStringamp;) - signal
0794         setupDone = pyqtSignal() # void setupDone(Solid::ErrorType,QVariant,const QStringamp;) - signal
0795         accessibilityChanged = pyqtSignal() # void accessibilityChanged(bool,const QStringamp;) - signal
0796         def teardown(self):
0797             '''bool Solid.StorageAccess.teardown()'''
0798             return bool()
0799         def setup(self):
0800             '''bool Solid.StorageAccess.setup()'''
0801             return bool()
0802         def filePath(self):
0803             '''QString Solid.StorageAccess.filePath()'''
0804             return QString()
0805         def isAccessible(self):
0806             '''bool Solid.StorageAccess.isAccessible()'''
0807             return bool()
0808         def deviceInterfaceType(self):
0809             '''static Solid.DeviceInterface.Type Solid.StorageAccess.deviceInterfaceType()'''
0810             return Solid.DeviceInterface.Type()
0811     class DeviceInterface(QObject):
0812         """"""
0813         # Enum Solid.DeviceInterface.Type
0814         Unknown = 0
0815         GenericInterface = 0
0816         Processor = 0
0817         Block = 0
0818         StorageAccess = 0
0819         StorageDrive = 0
0820         OpticalDrive = 0
0821         StorageVolume = 0
0822         OpticalDisc = 0
0823         Camera = 0
0824         PortableMediaPlayer = 0
0825         NetworkInterface = 0
0826         AcAdapter = 0
0827         Battery = 0
0828         Button = 0
0829         AudioInterface = 0
0830         DvbInterface = 0
0831         Video = 0
0832         SerialInterface = 0
0833         SmartCardReader = 0
0834         InternetGateway = 0
0835         NetworkShare = 0
0836         Last = 0
0837     
0838         def typeDescription(self, type):
0839             '''static QString Solid.DeviceInterface.typeDescription(Solid.DeviceInterface.Type type)'''
0840             return QString()
0841         def stringToType(self, type):
0842             '''static Solid.DeviceInterface.Type Solid.DeviceInterface.stringToType(QString type)'''
0843             return Solid.DeviceInterface.Type()
0844         def typeToString(self, type):
0845             '''static QString Solid.DeviceInterface.typeToString(Solid.DeviceInterface.Type type)'''
0846             return QString()
0847         def isValid(self):
0848             '''bool Solid.DeviceInterface.isValid()'''
0849             return bool()
0850     class Predicate():
0851         """"""
0852         # Enum Solid.Predicate.Type
0853         PropertyCheck = 0
0854         Conjunction = 0
0855         Disjunction = 0
0856         InterfaceCheck = 0
0857     
0858         # Enum Solid.Predicate.ComparisonOperator
0859         Equals = 0
0860         Mask = 0
0861     
0862         def __init__(self):
0863             '''void Solid.Predicate.__init__()'''
0864         def __init__(self, other):
0865             '''void Solid.Predicate.__init__(Solid.Predicate other)'''
0866         def __init__(self, ifaceName, property, value, compOperator = None):
0867             '''void Solid.Predicate.__init__(QString ifaceName, QString property, QVariant value, Solid.Predicate.ComparisonOperator compOperator = Solid.Predicate.Equals)'''
0868         def __init__(self, ifaceType):
0869             '''void Solid.Predicate.__init__(Solid.DeviceInterface.Type ifaceType)'''
0870         def __init__(self, ifaceName):
0871             '''void Solid.Predicate.__init__(QString ifaceName)'''
0872         def secondOperand(self):
0873             '''Solid.Predicate Solid.Predicate.secondOperand()'''
0874             return Solid.Predicate()
0875         def firstOperand(self):
0876             '''Solid.Predicate Solid.Predicate.firstOperand()'''
0877             return Solid.Predicate()
0878         def comparisonOperator(self):
0879             '''Solid.Predicate.ComparisonOperator Solid.Predicate.comparisonOperator()'''
0880             return Solid.Predicate.ComparisonOperator()
0881         def matchingValue(self):
0882             '''QVariant Solid.Predicate.matchingValue()'''
0883             return QVariant()
0884         def propertyName(self):
0885             '''QString Solid.Predicate.propertyName()'''
0886             return QString()
0887         def interfaceType(self):
0888             '''Solid.DeviceInterface.Type Solid.Predicate.interfaceType()'''
0889             return Solid.DeviceInterface.Type()
0890         def type(self):
0891             '''Solid.Predicate.Type Solid.Predicate.type()'''
0892             return Solid.Predicate.Type()
0893         def fromString(self, predicate):
0894             '''static Solid.Predicate Solid.Predicate.fromString(QString predicate)'''
0895             return Solid.Predicate()
0896         def toString(self):
0897             '''QString Solid.Predicate.toString()'''
0898             return QString()
0899         def usedTypes(self):
0900             '''unknown-type Solid.Predicate.usedTypes()'''
0901             return unknown-type()
0902         def matches(self, device):
0903             '''bool Solid.Predicate.matches(Solid.Device device)'''
0904             return bool()
0905         def isValid(self):
0906             '''bool Solid.Predicate.isValid()'''
0907             return bool()
0908         def __ior__(self, other):
0909             '''Solid.Predicate Solid.Predicate.__ior__(Solid.Predicate other)'''
0910             return Solid.Predicate()
0911         def __or__(self, other):
0912             '''Solid.Predicate Solid.Predicate.__or__(Solid.Predicate other)'''
0913             return Solid.Predicate()
0914         def __iand__(self, other):
0915             '''Solid.Predicate Solid.Predicate.__iand__(Solid.Predicate other)'''
0916             return Solid.Predicate()
0917         def __and__(self, other):
0918             '''Solid.Predicate Solid.Predicate.__and__(Solid.Predicate other)'''
0919             return Solid.Predicate()
0920     class GenericInterface(Solid.DeviceInterface):
0921         """"""
0922         # Enum Solid.GenericInterface.PropertyChange
0923         PropertyModified = 0
0924         PropertyAdded = 0
0925         PropertyRemoved = 0
0926     
0927         conditionRaised = pyqtSignal() # void conditionRaised(const QStringamp;,const QStringamp;) - signal
0928         def propertyExists(self, key):
0929             '''bool Solid.GenericInterface.propertyExists(QString key)'''
0930             return bool()
0931         def allProperties(self):
0932             '''dict-of-QString-QVariant Solid.GenericInterface.allProperties()'''
0933             return dict-of-QString-QVariant()
0934         def property(self, key):
0935             '''QVariant Solid.GenericInterface.property(QString key)'''
0936             return QVariant()
0937         def deviceInterfaceType(self):
0938             '''static Solid.DeviceInterface.Type Solid.GenericInterface.deviceInterfaceType()'''
0939             return Solid.DeviceInterface.Type()
0940     class Button(Solid.DeviceInterface):
0941         """"""
0942         # Enum Solid.Button.ButtonType
0943         LidButton = 0
0944         PowerButton = 0
0945         SleepButton = 0
0946         UnknownButtonType = 0
0947         TabletButton = 0
0948     
0949         pressed = pyqtSignal() # void pressed(Solid::Button::ButtonType,const QStringamp;) - signal
0950         def stateValue(self):
0951             '''bool Solid.Button.stateValue()'''
0952             return bool()
0953         def hasState(self):
0954             '''bool Solid.Button.hasState()'''
0955             return bool()
0956         def type(self):
0957             '''Solid.Button.ButtonType Solid.Button.type()'''
0958             return Solid.Button.ButtonType()
0959         def deviceInterfaceType(self):
0960             '''static Solid.DeviceInterface.Type Solid.Button.deviceInterfaceType()'''
0961             return Solid.DeviceInterface.Type()
0962     class PortableMediaPlayer(Solid.DeviceInterface):
0963         """"""
0964         def driverHandle(self, driver):
0965             '''QVariant Solid.PortableMediaPlayer.driverHandle(QString driver)'''
0966             return QVariant()
0967         def supportedDrivers(self, protocol = QString()):
0968             '''QStringList Solid.PortableMediaPlayer.supportedDrivers(QString protocol = QString())'''
0969             return QStringList()
0970         def supportedProtocols(self):
0971             '''QStringList Solid.PortableMediaPlayer.supportedProtocols()'''
0972             return QStringList()
0973         def deviceInterfaceType(self):
0974             '''static Solid.DeviceInterface.Type Solid.PortableMediaPlayer.deviceInterfaceType()'''
0975             return Solid.DeviceInterface.Type()
0976 
0977