1class pyqtSignal():
2 def connect(self, targetSignal): pass
3 def emit(self, *args): pass
4from QtCore import *
5
6class Solid():
7    """"""
8    # Enum Solid.ErrorType
9    NoError = 0
10    UnauthorizedOperation = 0
11    DeviceBusy = 0
12    OperationFailed = 0
13    UserCanceled = 0
14    InvalidOption = 0
15    MissingDriver = 0
16
17    class Processor(Solid.DeviceInterface):
18        """"""
19        # Enum Solid.Processor.InstructionSet
20        NoExtensions = 0
21        IntelMmx = 0
22        IntelSse = 0
23        IntelSse2 = 0
24        IntelSse3 = 0
25        IntelSse4 = 0
26        Amd3DNow = 0
27        AltiVec = 0
28
29        def instructionSets(self):
30            '''Solid.Processor.InstructionSets Solid.Processor.instructionSets()'''
31            return Solid.Processor.InstructionSets()
32        def canChangeFrequency(self):
33            '''bool Solid.Processor.canChangeFrequency()'''
34            return bool()
35        def maxSpeed(self):
36            '''int Solid.Processor.maxSpeed()'''
37            return int()
38        def number(self):
39            '''int Solid.Processor.number()'''
40            return int()
41        def deviceInterfaceType(self):
42            '''static Solid.DeviceInterface.Type Solid.Processor.deviceInterfaceType()'''
43            return Solid.DeviceInterface.Type()
44    class StorageDrive(Solid.DeviceInterface):
45        """"""
46        # Enum Solid.StorageDrive.DriveType
47        HardDisk = 0
48        CdromDrive = 0
49        Floppy = 0
50        Tape = 0
51        CompactFlash = 0
52        MemoryStick = 0
53        SmartMedia = 0
54        SdMmc = 0
55        Xd = 0
56
57        # Enum Solid.StorageDrive.Bus
58        Ide = 0
59        Usb = 0
60        Ieee1394 = 0
61        Scsi = 0
62        Sata = 0
63        Platform = 0
64
65        def isInUse(self):
66            '''bool Solid.StorageDrive.isInUse()'''
67            return bool()
68        def size(self):
69            '''int Solid.StorageDrive.size()'''
70            return int()
71        def isHotpluggable(self):
72            '''bool Solid.StorageDrive.isHotpluggable()'''
73            return bool()
74        def isRemovable(self):
75            '''bool Solid.StorageDrive.isRemovable()'''
76            return bool()
77        def driveType(self):
78            '''Solid.StorageDrive.DriveType Solid.StorageDrive.driveType()'''
79            return Solid.StorageDrive.DriveType()
80        def bus(self):
81            '''Solid.StorageDrive.Bus Solid.StorageDrive.bus()'''
82            return Solid.StorageDrive.Bus()
83        def deviceInterfaceType(self):
84            '''static Solid.DeviceInterface.Type Solid.StorageDrive.deviceInterfaceType()'''
85            return Solid.DeviceInterface.Type()
86    class Video(Solid.DeviceInterface):
87        """"""
88        def driverHandle(self, driver):
89            '''QVariant Solid.Video.driverHandle(QString driver)'''
90            return QVariant()
91        def supportedDrivers(self, protocol = QString()):
92            '''QStringList Solid.Video.supportedDrivers(QString protocol = QString())'''
93            return QStringList()
94        def supportedProtocols(self):
95            '''QStringList Solid.Video.supportedProtocols()'''
96            return QStringList()
97        def deviceInterfaceType(self):
98            '''static Solid.DeviceInterface.Type Solid.Video.deviceInterfaceType()'''
99            return Solid.DeviceInterface.Type()
100    class OpticalDrive(Solid.StorageDrive):
101        """"""
102        # Enum Solid.OpticalDrive.MediumType
103        Cdr = 0
104        Cdrw = 0
105        Dvd = 0
106        Dvdr = 0
107        Dvdrw = 0
108        Dvdram = 0
109        Dvdplusr = 0
110        Dvdplusrw = 0
111        Dvdplusdl = 0
112        Dvdplusdlrw = 0
113        Bd = 0
114        Bdr = 0
115        Bdre = 0
116        HdDvd = 0
117        HdDvdr = 0
118        HdDvdrw = 0
119
120        ejectRequested = pyqtSignal() # void ejectRequested(const QStringamp;) - signal
121        ejectDone = pyqtSignal() # void ejectDone(Solid::ErrorType,QVariant,const QStringamp;) - signal
122        ejectPressed = pyqtSignal() # void ejectPressed(const QStringamp;) - signal
123        def eject(self):
124            '''bool Solid.OpticalDrive.eject()'''
125            return bool()
126        def writeSpeeds(self):
127            '''list-of-int Solid.OpticalDrive.writeSpeeds()'''
128            return [int()]
129        def writeSpeed(self):
130            '''int Solid.OpticalDrive.writeSpeed()'''
131            return int()
132        def readSpeed(self):
133            '''int Solid.OpticalDrive.readSpeed()'''
134            return int()
135        def supportedMedia(self):
136            '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.supportedMedia()'''
137            return Solid.OpticalDrive.MediumTypes()
138        def deviceInterfaceType(self):
139            '''static Solid.DeviceInterface.Type Solid.OpticalDrive.deviceInterfaceType()'''
140            return Solid.DeviceInterface.Type()
141    class SmartCardReader(Solid.DeviceInterface):
142        """"""
143        # Enum Solid.SmartCardReader.ReaderType
144        UnknownReaderType = 0
145        CardReader = 0
146        CryptoToken = 0
147
148        def readerType(self):
149            '''Solid.SmartCardReader.ReaderType Solid.SmartCardReader.readerType()'''
150            return Solid.SmartCardReader.ReaderType()
151        def deviceInterfaceType(self):
152            '''static Solid.DeviceInterface.Type Solid.SmartCardReader.deviceInterfaceType()'''
153            return Solid.DeviceInterface.Type()
154    class AcAdapter(Solid.DeviceInterface):
155        """"""
156        plugStateChanged = pyqtSignal() # void plugStateChanged(bool,const QStringamp;) - signal
157        def isPlugged(self):
158            '''bool Solid.AcAdapter.isPlugged()'''
159            return bool()
160        def deviceInterfaceType(self):
161            '''static Solid.DeviceInterface.Type Solid.AcAdapter.deviceInterfaceType()'''
162            return Solid.DeviceInterface.Type()
163    class NetworkShare(Solid.DeviceInterface):
164        """"""
165        # Enum Solid.NetworkShare.ShareType
166        Unknown = 0
167        Nfs = 0
168        Cifs = 0
169        Upnp = 0
170
171        def url(self):
172            '''QUrl Solid.NetworkShare.url()'''
173            return QUrl()
174        def type(self):
175            '''Solid.NetworkShare.ShareType Solid.NetworkShare.type()'''
176            return Solid.NetworkShare.ShareType()
177        def deviceInterfaceType(self):
178            '''static Solid.DeviceInterface.Type Solid.NetworkShare.deviceInterfaceType()'''
179            return Solid.DeviceInterface.Type()
180    class StorageVolume(Solid.DeviceInterface):
181        """"""
182        # Enum Solid.StorageVolume.UsageType
183        Other = 0
184        Unused = 0
185        FileSystem = 0
186        PartitionTable = 0
187        Raid = 0
188        Encrypted = 0
189
190        def encryptedContainer(self):
191            '''Solid.Device Solid.StorageVolume.encryptedContainer()'''
192            return Solid.Device()
193        def size(self):
194            '''int Solid.StorageVolume.size()'''
195            return int()
196        def uuid(self):
197            '''QString Solid.StorageVolume.uuid()'''
198            return QString()
199        def label(self):
200            '''QString Solid.StorageVolume.label()'''
201            return QString()
202        def fsType(self):
203            '''QString Solid.StorageVolume.fsType()'''
204            return QString()
205        def usage(self):
206            '''Solid.StorageVolume.UsageType Solid.StorageVolume.usage()'''
207            return Solid.StorageVolume.UsageType()
208        def isIgnored(self):
209            '''bool Solid.StorageVolume.isIgnored()'''
210            return bool()
211        def deviceInterfaceType(self):
212            '''static Solid.DeviceInterface.Type Solid.StorageVolume.deviceInterfaceType()'''
213            return Solid.DeviceInterface.Type()
214    class OpticalDisc():
215        """"""
216        class ContentTypes():
217            """"""
218            def __init__(self):
219                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__init__()'''
220                return Solid.OpticalDisc.ContentTypes()
221            def __init__(self):
222                '''int Solid.OpticalDisc.ContentTypes.__init__()'''
223                return int()
224            def __init__(self):
225                '''void Solid.OpticalDisc.ContentTypes.__init__()'''
226            def __bool__(self):
227                '''int Solid.OpticalDisc.ContentTypes.__bool__()'''
228                return int()
229            def __ne__(self, f):
230                '''bool Solid.OpticalDisc.ContentTypes.__ne__(Solid.OpticalDisc.ContentTypes f)'''
231                return bool()
232            def __eq__(self, f):
233                '''bool Solid.OpticalDisc.ContentTypes.__eq__(Solid.OpticalDisc.ContentTypes f)'''
234                return bool()
235            def __invert__(self):
236                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__invert__()'''
237                return Solid.OpticalDisc.ContentTypes()
238            def __and__(self, mask):
239                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__and__(int mask)'''
240                return Solid.OpticalDisc.ContentTypes()
241            def __xor__(self, f):
242                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__xor__(Solid.OpticalDisc.ContentTypes f)'''
243                return Solid.OpticalDisc.ContentTypes()
244            def __xor__(self, f):
245                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__xor__(int f)'''
246                return Solid.OpticalDisc.ContentTypes()
247            def __or__(self, f):
248                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__or__(Solid.OpticalDisc.ContentTypes f)'''
249                return Solid.OpticalDisc.ContentTypes()
250            def __or__(self, f):
251                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__or__(int f)'''
252                return Solid.OpticalDisc.ContentTypes()
253            def __int__(self):
254                '''int Solid.OpticalDisc.ContentTypes.__int__()'''
255                return int()
256            def __ixor__(self, f):
257                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__ixor__(Solid.OpticalDisc.ContentTypes f)'''
258                return Solid.OpticalDisc.ContentTypes()
259            def __ior__(self, f):
260                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__ior__(Solid.OpticalDisc.ContentTypes f)'''
261                return Solid.OpticalDisc.ContentTypes()
262            def __iand__(self, mask):
263                '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.ContentTypes.__iand__(int mask)'''
264                return Solid.OpticalDisc.ContentTypes()
265    class OpticalDisc(Solid.StorageVolume):
266        """"""
267        # Enum Solid.OpticalDisc.DiscType
268        UnknownDiscType = 0
269        CdRom = 0
270        CdRecordable = 0
271        CdRewritable = 0
272        DvdRom = 0
273        DvdRam = 0
274        DvdRecordable = 0
275        DvdRewritable = 0
276        DvdPlusRecordable = 0
277        DvdPlusRewritable = 0
278        DvdPlusRecordableDuallayer = 0
279        DvdPlusRewritableDuallayer = 0
280        BluRayRom = 0
281        BluRayRecordable = 0
282        BluRayRewritable = 0
283        HdDvdRom = 0
284        HdDvdRecordable = 0
285        HdDvdRewritable = 0
286
287        # Enum Solid.OpticalDisc.ContentType
288        NoContent = 0
289        Audio = 0
290        Data = 0
291        VideoCd = 0
292        SuperVideoCd = 0
293        VideoDvd = 0
294        VideoBluRay = 0
295
296        def capacity(self):
297            '''int Solid.OpticalDisc.capacity()'''
298            return int()
299        def isRewritable(self):
300            '''bool Solid.OpticalDisc.isRewritable()'''
301            return bool()
302        def isBlank(self):
303            '''bool Solid.OpticalDisc.isBlank()'''
304            return bool()
305        def isAppendable(self):
306            '''bool Solid.OpticalDisc.isAppendable()'''
307            return bool()
308        def discType(self):
309            '''Solid.OpticalDisc.DiscType Solid.OpticalDisc.discType()'''
310            return Solid.OpticalDisc.DiscType()
311        def availableContent(self):
312            '''Solid.OpticalDisc.ContentTypes Solid.OpticalDisc.availableContent()'''
313            return Solid.OpticalDisc.ContentTypes()
314        def deviceInterfaceType(self):
315            '''static Solid.DeviceInterface.Type Solid.OpticalDisc.deviceInterfaceType()'''
316            return Solid.DeviceInterface.Type()
317    class Block(Solid.DeviceInterface):
318        """"""
319        def device(self):
320            '''QString Solid.Block.device()'''
321            return QString()
322        def deviceMinor(self):
323            '''int Solid.Block.deviceMinor()'''
324            return int()
325        def deviceMajor(self):
326            '''int Solid.Block.deviceMajor()'''
327            return int()
328        def deviceInterfaceType(self):
329            '''static Solid.DeviceInterface.Type Solid.Block.deviceInterfaceType()'''
330            return Solid.DeviceInterface.Type()
331    class Networking():
332        """"""
333        class Notifier(QObject):
334            """"""
335            def __init__(self):
336                '''void Solid.Networking.Notifier.__init__()'''
337    class AudioInterface():
338        """"""
339        class AudioInterfaceTypes():
340            """"""
341            def __init__(self):
342                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__init__()'''
343                return Solid.AudioInterface.AudioInterfaceTypes()
344            def __init__(self):
345                '''int Solid.AudioInterface.AudioInterfaceTypes.__init__()'''
346                return int()
347            def __init__(self):
348                '''void Solid.AudioInterface.AudioInterfaceTypes.__init__()'''
349            def __bool__(self):
350                '''int Solid.AudioInterface.AudioInterfaceTypes.__bool__()'''
351                return int()
352            def __ne__(self, f):
353                '''bool Solid.AudioInterface.AudioInterfaceTypes.__ne__(Solid.AudioInterface.AudioInterfaceTypes f)'''
354                return bool()
355            def __eq__(self, f):
356                '''bool Solid.AudioInterface.AudioInterfaceTypes.__eq__(Solid.AudioInterface.AudioInterfaceTypes f)'''
357                return bool()
358            def __invert__(self):
359                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__invert__()'''
360                return Solid.AudioInterface.AudioInterfaceTypes()
361            def __and__(self, mask):
362                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__and__(int mask)'''
363                return Solid.AudioInterface.AudioInterfaceTypes()
364            def __xor__(self, f):
365                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__xor__(Solid.AudioInterface.AudioInterfaceTypes f)'''
366                return Solid.AudioInterface.AudioInterfaceTypes()
367            def __xor__(self, f):
368                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__xor__(int f)'''
369                return Solid.AudioInterface.AudioInterfaceTypes()
370            def __or__(self, f):
371                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__or__(Solid.AudioInterface.AudioInterfaceTypes f)'''
372                return Solid.AudioInterface.AudioInterfaceTypes()
373            def __or__(self, f):
374                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__or__(int f)'''
375                return Solid.AudioInterface.AudioInterfaceTypes()
376            def __int__(self):
377                '''int Solid.AudioInterface.AudioInterfaceTypes.__int__()'''
378                return int()
379            def __ixor__(self, f):
380                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__ixor__(Solid.AudioInterface.AudioInterfaceTypes f)'''
381                return Solid.AudioInterface.AudioInterfaceTypes()
382            def __ior__(self, f):
383                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__ior__(Solid.AudioInterface.AudioInterfaceTypes f)'''
384                return Solid.AudioInterface.AudioInterfaceTypes()
385            def __iand__(self, mask):
386                '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.AudioInterfaceTypes.__iand__(int mask)'''
387                return Solid.AudioInterface.AudioInterfaceTypes()
388    class Battery(Solid.DeviceInterface):
389        """"""
390        # Enum Solid.Battery.ChargeState
391        NoCharge = 0
392        Charging = 0
393        Discharging = 0
394
395        # Enum Solid.Battery.BatteryType
396        UnknownBattery = 0
397        PdaBattery = 0
398        UpsBattery = 0
399        PrimaryBattery = 0
400        MouseBattery = 0
401        KeyboardBattery = 0
402        KeyboardMouseBattery = 0
403        CameraBattery = 0
404        PhoneBattery = 0
405        MonitorBattery = 0
406
407        plugStateChanged = pyqtSignal() # void plugStateChanged(bool,const QStringamp;) - signal
408        chargeStateChanged = pyqtSignal() # void chargeStateChanged(int,const QStringamp;) - signal
409        chargePercentChanged = pyqtSignal() # void chargePercentChanged(int,const QStringamp;) - signal
410        def chargeState(self):
411            '''Solid.Battery.ChargeState Solid.Battery.chargeState()'''
412            return Solid.Battery.ChargeState()
413        def isRechargeable(self):
414            '''bool Solid.Battery.isRechargeable()'''
415            return bool()
416        def chargePercent(self):
417            '''int Solid.Battery.chargePercent()'''
418            return int()
419        def type(self):
420            '''Solid.Battery.BatteryType Solid.Battery.type()'''
421            return Solid.Battery.BatteryType()
422        def isPlugged(self):
423            '''bool Solid.Battery.isPlugged()'''
424            return bool()
425        def deviceInterfaceType(self):
426            '''static Solid.DeviceInterface.Type Solid.Battery.deviceInterfaceType()'''
427            return Solid.DeviceInterface.Type()
428    class Networking():
429        """"""
430        # Enum Solid.Networking.ManagementPolicy
431        Manual = 0
432        OnNextStatusChange = 0
433        Managed = 0
434
435        # Enum Solid.Networking.Status
436        Unknown = 0
437        Unconnected = 0
438        Disconnecting = 0
439        Connecting = 0
440        Connected = 0
441
442        def notifier(self):
443            '''static Solid.Networking.Notifier Solid.Networking.notifier()'''
444            return Solid.Networking.Notifier()
445        def status(self):
446            '''static Solid.Networking.Status Solid.Networking.status()'''
447            return Solid.Networking.Status()
448    class Camera(Solid.DeviceInterface):
449        """"""
450        def driverHandle(self, driver):
451            '''QVariant Solid.Camera.driverHandle(QString driver)'''
452            return QVariant()
453        def supportedDrivers(self, protocol = QString()):
454            '''QStringList Solid.Camera.supportedDrivers(QString protocol = QString())'''
455            return QStringList()
456        def supportedProtocols(self):
457            '''QStringList Solid.Camera.supportedProtocols()'''
458            return QStringList()
459        def deviceInterfaceType(self):
460            '''static Solid.DeviceInterface.Type Solid.Camera.deviceInterfaceType()'''
461            return Solid.DeviceInterface.Type()
462    class InternetGateway(Solid.DeviceInterface):
463        """"""
464        # Enum Solid.InternetGateway.NetworkProtocol
465        TCP = 0
466        UDP = 0
467
468        # Enum Solid.InternetGateway.InternetStatus
469        InternetEnabled = 0
470        InternetDisabled = 0
471        UnknownStatus = 0
472
473        currentConnectionsDataIsReady = pyqtSignal() # void currentConnectionsDataIsReady(QStringList) - signal
474        enabledForInternet = pyqtSignal() # void enabledForInternet(bool) - signal
475        portMappingDeleted = pyqtSignal() # void portMappingDeleted(const QStringamp;,qint16,const Solid::InternetGateway::NetworkProtocolamp;) - signal
476        portMappingAdded = pyqtSignal() # void portMappingAdded(const QStringamp;,qint16,const Solid::InternetGateway::NetworkProtocolamp;,qint16,const QStringamp;) - signal
477        def setEnabledForInternet(self, enabled):
478            '''void Solid.InternetGateway.setEnabledForInternet(bool enabled)'''
479        def isEnabledForInternet(self):
480            '''Solid.InternetGateway.InternetStatus Solid.InternetGateway.isEnabledForInternet()'''
481            return Solid.InternetGateway.InternetStatus()
482        def deletePortMapping(self, remoteHost, externalPort, mappingProtocol):
483            '''void Solid.InternetGateway.deletePortMapping(QString remoteHost, int externalPort, Solid.InternetGateway.NetworkProtocol mappingProtocol)'''
484        def addPortMapping(self, remoteHost, externalPort, mappingProtocol, internalPort, internalClient):
485            '''void Solid.InternetGateway.addPortMapping(QString remoteHost, int externalPort, Solid.InternetGateway.NetworkProtocol mappingProtocol, int internalPort, QString internalClient)'''
486        def currentConnections(self):
487            '''QStringList Solid.InternetGateway.currentConnections()'''
488            return QStringList()
489        def requestCurrentConnections(self):
490            '''void Solid.InternetGateway.requestCurrentConnections()'''
491        def deviceInterfaceType(self):
492            '''static Solid.DeviceInterface.Type Solid.InternetGateway.deviceInterfaceType()'''
493            return Solid.DeviceInterface.Type()
494    class SerialInterface(Solid.DeviceInterface):
495        """"""
496        # Enum Solid.SerialInterface.SerialType
497        Unknown = 0
498        Platform = 0
499        Usb = 0
500
501        def port(self):
502            '''int Solid.SerialInterface.port()'''
503            return int()
504        def serialType(self):
505            '''Solid.SerialInterface.SerialType Solid.SerialInterface.serialType()'''
506            return Solid.SerialInterface.SerialType()
507        def driverHandle(self):
508            '''QVariant Solid.SerialInterface.driverHandle()'''
509            return QVariant()
510        def deviceInterfaceType(self):
511            '''static Solid.DeviceInterface.Type Solid.SerialInterface.deviceInterfaceType()'''
512            return Solid.DeviceInterface.Type()
513    class OpticalDrive():
514        """"""
515        class MediumTypes():
516            """"""
517            def __init__(self):
518                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__init__()'''
519                return Solid.OpticalDrive.MediumTypes()
520            def __init__(self):
521                '''int Solid.OpticalDrive.MediumTypes.__init__()'''
522                return int()
523            def __init__(self):
524                '''void Solid.OpticalDrive.MediumTypes.__init__()'''
525            def __bool__(self):
526                '''int Solid.OpticalDrive.MediumTypes.__bool__()'''
527                return int()
528            def __ne__(self, f):
529                '''bool Solid.OpticalDrive.MediumTypes.__ne__(Solid.OpticalDrive.MediumTypes f)'''
530                return bool()
531            def __eq__(self, f):
532                '''bool Solid.OpticalDrive.MediumTypes.__eq__(Solid.OpticalDrive.MediumTypes f)'''
533                return bool()
534            def __invert__(self):
535                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__invert__()'''
536                return Solid.OpticalDrive.MediumTypes()
537            def __and__(self, mask):
538                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__and__(int mask)'''
539                return Solid.OpticalDrive.MediumTypes()
540            def __xor__(self, f):
541                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__xor__(Solid.OpticalDrive.MediumTypes f)'''
542                return Solid.OpticalDrive.MediumTypes()
543            def __xor__(self, f):
544                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__xor__(int f)'''
545                return Solid.OpticalDrive.MediumTypes()
546            def __or__(self, f):
547                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__or__(Solid.OpticalDrive.MediumTypes f)'''
548                return Solid.OpticalDrive.MediumTypes()
549            def __or__(self, f):
550                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__or__(int f)'''
551                return Solid.OpticalDrive.MediumTypes()
552            def __int__(self):
553                '''int Solid.OpticalDrive.MediumTypes.__int__()'''
554                return int()
555            def __ixor__(self, f):
556                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__ixor__(Solid.OpticalDrive.MediumTypes f)'''
557                return Solid.OpticalDrive.MediumTypes()
558            def __ior__(self, f):
559                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__ior__(Solid.OpticalDrive.MediumTypes f)'''
560                return Solid.OpticalDrive.MediumTypes()
561            def __iand__(self, mask):
562                '''Solid.OpticalDrive.MediumTypes Solid.OpticalDrive.MediumTypes.__iand__(int mask)'''
563                return Solid.OpticalDrive.MediumTypes()
564    class Device():
565        """"""
566        def __init__(self, udi = QString()):
567            '''void Solid.Device.__init__(QString udi = QString())'''
568        def __init__(self, device):
569            '''void Solid.Device.__init__(Solid.Device device)'''
570        def description(self):
571            '''QString Solid.Device.description()'''
572            return QString()
573        def emblems(self):
574            '''QStringList Solid.Device.emblems()'''
575            return QStringList()
576        def asDeviceInterface(self, type):
577            '''Solid.DeviceInterface Solid.Device.asDeviceInterface(Solid.DeviceInterface.Type type)'''
578            return Solid.DeviceInterface()
579        def isDeviceInterface(self, type):
580            '''bool Solid.Device.isDeviceInterface(Solid.DeviceInterface.Type type)'''
581            return bool()
582        def icon(self):
583            '''QString Solid.Device.icon()'''
584            return QString()
585        def product(self):
586            '''QString Solid.Device.product()'''
587            return QString()
588        def vendor(self):
589            '''QString Solid.Device.vendor()'''
590            return QString()
591        def parent(self):
592            '''Solid.Device Solid.Device.parent()'''
593            return Solid.Device()
594        def parentUdi(self):
595            '''QString Solid.Device.parentUdi()'''
596            return QString()
597        def udi(self):
598            '''QString Solid.Device.udi()'''
599            return QString()
600        def isValid(self):
601            '''bool Solid.Device.isValid()'''
602            return bool()
603        def listFromQuery(self, predicate, parentUdi = QString()):
604            '''static list-of-Solid.Device Solid.Device.listFromQuery(Solid.Predicate predicate, QString parentUdi = QString())'''
605            return [Solid.Device()]
606        def listFromQuery(self, predicate, parentUdi = QString()):
607            '''static list-of-Solid.Device Solid.Device.listFromQuery(QString predicate, QString parentUdi = QString())'''
608            return [Solid.Device()]
609        def listFromType(self, type, parentUdi = QString()):
610            '''static list-of-Solid.Device Solid.Device.listFromType(Solid.DeviceInterface.Type type, QString parentUdi = QString())'''
611            return [Solid.Device()]
612        def allDevices(self):
613            '''static list-of-Solid.Device Solid.Device.allDevices()'''
614            return [Solid.Device()]
615    class DvbInterface(Solid.DeviceInterface):
616        """"""
617        # Enum Solid.DvbInterface.DeviceType
618        DvbUnknown = 0
619        DvbAudio = 0
620        DvbCa = 0
621        DvbDemux = 0
622        DvbDvr = 0
623        DvbFrontend = 0
624        DvbNet = 0
625        DvbOsd = 0
626        DvbSec = 0
627        DvbVideo = 0
628
629        def deviceIndex(self):
630            '''int Solid.DvbInterface.deviceIndex()'''
631            return int()
632        def deviceType(self):
633            '''Solid.DvbInterface.DeviceType Solid.DvbInterface.deviceType()'''
634            return Solid.DvbInterface.DeviceType()
635        def deviceAdapter(self):
636            '''int Solid.DvbInterface.deviceAdapter()'''
637            return int()
638        def device(self):
639            '''QString Solid.DvbInterface.device()'''
640            return QString()
641        def deviceInterfaceType(self):
642            '''static Solid.DeviceInterface.Type Solid.DvbInterface.deviceInterfaceType()'''
643            return Solid.DeviceInterface.Type()
644    class NetworkInterface(Solid.DeviceInterface):
645        """"""
646        def macAddress(self):
647            '''int Solid.NetworkInterface.macAddress()'''
648            return int()
649        def hwAddress(self):
650            '''QString Solid.NetworkInterface.hwAddress()'''
651            return QString()
652        def isWireless(self):
653            '''bool Solid.NetworkInterface.isWireless()'''
654            return bool()
655        def ifaceName(self):
656            '''QString Solid.NetworkInterface.ifaceName()'''
657            return QString()
658        def deviceInterfaceType(self):
659            '''static Solid.DeviceInterface.Type Solid.NetworkInterface.deviceInterfaceType()'''
660            return Solid.DeviceInterface.Type()
661    class DeviceNotifier(QObject):
662        """"""
663        def __init__(self):
664            '''void Solid.DeviceNotifier.__init__()'''
665        deviceRemoved = pyqtSignal() # void deviceRemoved(const QStringamp;) - signal
666        deviceAdded = pyqtSignal() # void deviceAdded(const QStringamp;) - signal
667        def instance(self):
668            '''static Solid.DeviceNotifier Solid.DeviceNotifier.instance()'''
669            return Solid.DeviceNotifier()
670    class Processor():
671        """"""
672        class InstructionSets():
673            """"""
674            def __init__(self):
675                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__init__()'''
676                return Solid.Processor.InstructionSets()
677            def __init__(self):
678                '''int Solid.Processor.InstructionSets.__init__()'''
679                return int()
680            def __init__(self):
681                '''void Solid.Processor.InstructionSets.__init__()'''
682            def __bool__(self):
683                '''int Solid.Processor.InstructionSets.__bool__()'''
684                return int()
685            def __ne__(self, f):
686                '''bool Solid.Processor.InstructionSets.__ne__(Solid.Processor.InstructionSets f)'''
687                return bool()
688            def __eq__(self, f):
689                '''bool Solid.Processor.InstructionSets.__eq__(Solid.Processor.InstructionSets f)'''
690                return bool()
691            def __invert__(self):
692                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__invert__()'''
693                return Solid.Processor.InstructionSets()
694            def __and__(self, mask):
695                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__and__(int mask)'''
696                return Solid.Processor.InstructionSets()
697            def __xor__(self, f):
698                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__xor__(Solid.Processor.InstructionSets f)'''
699                return Solid.Processor.InstructionSets()
700            def __xor__(self, f):
701                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__xor__(int f)'''
702                return Solid.Processor.InstructionSets()
703            def __or__(self, f):
704                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__or__(Solid.Processor.InstructionSets f)'''
705                return Solid.Processor.InstructionSets()
706            def __or__(self, f):
707                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__or__(int f)'''
708                return Solid.Processor.InstructionSets()
709            def __int__(self):
710                '''int Solid.Processor.InstructionSets.__int__()'''
711                return int()
712            def __ixor__(self, f):
713                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__ixor__(Solid.Processor.InstructionSets f)'''
714                return Solid.Processor.InstructionSets()
715            def __ior__(self, f):
716                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__ior__(Solid.Processor.InstructionSets f)'''
717                return Solid.Processor.InstructionSets()
718            def __iand__(self, mask):
719                '''Solid.Processor.InstructionSets Solid.Processor.InstructionSets.__iand__(int mask)'''
720                return Solid.Processor.InstructionSets()
721    class AudioInterface(Solid.DeviceInterface):
722        """"""
723        # Enum Solid.AudioInterface.SoundcardType
724        InternalSoundcard = 0
725        UsbSoundcard = 0
726        FirewireSoundcard = 0
727        Headset = 0
728        Modem = 0
729
730        # Enum Solid.AudioInterface.AudioInterfaceType
731        UnknownAudioInterfaceType = 0
732        AudioControl = 0
733        AudioInput = 0
734        AudioOutput = 0
735
736        # Enum Solid.AudioInterface.AudioDriver
737        Alsa = 0
738        OpenSoundSystem = 0
739        UnknownAudioDriver = 0
740
741        def soundcardType(self):
742            '''Solid.AudioInterface.SoundcardType Solid.AudioInterface.soundcardType()'''
743            return Solid.AudioInterface.SoundcardType()
744        def deviceType(self):
745            '''Solid.AudioInterface.AudioInterfaceTypes Solid.AudioInterface.deviceType()'''
746            return Solid.AudioInterface.AudioInterfaceTypes()
747        def name(self):
748            '''QString Solid.AudioInterface.name()'''
749            return QString()
750        def driverHandle(self):
751            '''QVariant Solid.AudioInterface.driverHandle()'''
752            return QVariant()
753        def driver(self):
754            '''Solid.AudioInterface.AudioDriver Solid.AudioInterface.driver()'''
755            return Solid.AudioInterface.AudioDriver()
756        def deviceInterfaceType(self):
757            '''static Solid.DeviceInterface.Type Solid.AudioInterface.deviceInterfaceType()'''
758            return Solid.DeviceInterface.Type()
759    class PowerManagement():
760        """"""
761        # Enum Solid.PowerManagement.SleepState
762        StandbyState = 0
763        SuspendState = 0
764        HibernateState = 0
765
766        def stopSuppressingScreenPowerManagement(self, cookie):
767            '''static bool Solid.PowerManagement.stopSuppressingScreenPowerManagement(int cookie)'''
768            return bool()
769        def beginSuppressingScreenPowerManagement(self, reason = QString()):
770            '''static int Solid.PowerManagement.beginSuppressingScreenPowerManagement(QString reason = QString())'''
771            return int()
772        def stopSuppressingSleep(self, cookie):
773            '''static bool Solid.PowerManagement.stopSuppressingSleep(int cookie)'''
774            return bool()
775        def beginSuppressingSleep(self, reason = QString()):
776            '''static int Solid.PowerManagement.beginSuppressingSleep(QString reason = QString())'''
777            return int()
778        def requestSleep(self, state, receiver, member):
779            '''static void Solid.PowerManagement.requestSleep(Solid.PowerManagement.SleepState state, QObject receiver, str member)'''
780        def supportedSleepStates(self):
781            '''static unknown-type Solid.PowerManagement.supportedSleepStates()'''
782            return unknown-type()
783        def appShouldConserveResources(self):
784            '''static bool Solid.PowerManagement.appShouldConserveResources()'''
785            return bool()
786    class StorageAccess(Solid.DeviceInterface):
787        """"""
788        def isIgnored(self):
789            '''bool Solid.StorageAccess.isIgnored()'''
790            return bool()
791        teardownRequested = pyqtSignal() # void teardownRequested(const QStringamp;) - signal
792        setupRequested = pyqtSignal() # void setupRequested(const QStringamp;) - signal
793        teardownDone = pyqtSignal() # void teardownDone(Solid::ErrorType,QVariant,const QStringamp;) - signal
794        setupDone = pyqtSignal() # void setupDone(Solid::ErrorType,QVariant,const QStringamp;) - signal
795        accessibilityChanged = pyqtSignal() # void accessibilityChanged(bool,const QStringamp;) - signal
796        def teardown(self):
797            '''bool Solid.StorageAccess.teardown()'''
798            return bool()
799        def setup(self):
800            '''bool Solid.StorageAccess.setup()'''
801            return bool()
802        def filePath(self):
803            '''QString Solid.StorageAccess.filePath()'''
804            return QString()
805        def isAccessible(self):
806            '''bool Solid.StorageAccess.isAccessible()'''
807            return bool()
808        def deviceInterfaceType(self):
809            '''static Solid.DeviceInterface.Type Solid.StorageAccess.deviceInterfaceType()'''
810            return Solid.DeviceInterface.Type()
811    class DeviceInterface(QObject):
812        """"""
813        # Enum Solid.DeviceInterface.Type
814        Unknown = 0
815        GenericInterface = 0
816        Processor = 0
817        Block = 0
818        StorageAccess = 0
819        StorageDrive = 0
820        OpticalDrive = 0
821        StorageVolume = 0
822        OpticalDisc = 0
823        Camera = 0
824        PortableMediaPlayer = 0
825        NetworkInterface = 0
826        AcAdapter = 0
827        Battery = 0
828        Button = 0
829        AudioInterface = 0
830        DvbInterface = 0
831        Video = 0
832        SerialInterface = 0
833        SmartCardReader = 0
834        InternetGateway = 0
835        NetworkShare = 0
836        Last = 0
837
838        def typeDescription(self, type):
839            '''static QString Solid.DeviceInterface.typeDescription(Solid.DeviceInterface.Type type)'''
840            return QString()
841        def stringToType(self, type):
842            '''static Solid.DeviceInterface.Type Solid.DeviceInterface.stringToType(QString type)'''
843            return Solid.DeviceInterface.Type()
844        def typeToString(self, type):
845            '''static QString Solid.DeviceInterface.typeToString(Solid.DeviceInterface.Type type)'''
846            return QString()
847        def isValid(self):
848            '''bool Solid.DeviceInterface.isValid()'''
849            return bool()
850    class Predicate():
851        """"""
852        # Enum Solid.Predicate.Type
853        PropertyCheck = 0
854        Conjunction = 0
855        Disjunction = 0
856        InterfaceCheck = 0
857
858        # Enum Solid.Predicate.ComparisonOperator
859        Equals = 0
860        Mask = 0
861
862        def __init__(self):
863            '''void Solid.Predicate.__init__()'''
864        def __init__(self, other):
865            '''void Solid.Predicate.__init__(Solid.Predicate other)'''
866        def __init__(self, ifaceName, property, value, compOperator = None):
867            '''void Solid.Predicate.__init__(QString ifaceName, QString property, QVariant value, Solid.Predicate.ComparisonOperator compOperator = Solid.Predicate.Equals)'''
868        def __init__(self, ifaceType):
869            '''void Solid.Predicate.__init__(Solid.DeviceInterface.Type ifaceType)'''
870        def __init__(self, ifaceName):
871            '''void Solid.Predicate.__init__(QString ifaceName)'''
872        def secondOperand(self):
873            '''Solid.Predicate Solid.Predicate.secondOperand()'''
874            return Solid.Predicate()
875        def firstOperand(self):
876            '''Solid.Predicate Solid.Predicate.firstOperand()'''
877            return Solid.Predicate()
878        def comparisonOperator(self):
879            '''Solid.Predicate.ComparisonOperator Solid.Predicate.comparisonOperator()'''
880            return Solid.Predicate.ComparisonOperator()
881        def matchingValue(self):
882            '''QVariant Solid.Predicate.matchingValue()'''
883            return QVariant()
884        def propertyName(self):
885            '''QString Solid.Predicate.propertyName()'''
886            return QString()
887        def interfaceType(self):
888            '''Solid.DeviceInterface.Type Solid.Predicate.interfaceType()'''
889            return Solid.DeviceInterface.Type()
890        def type(self):
891            '''Solid.Predicate.Type Solid.Predicate.type()'''
892            return Solid.Predicate.Type()
893        def fromString(self, predicate):
894            '''static Solid.Predicate Solid.Predicate.fromString(QString predicate)'''
895            return Solid.Predicate()
896        def toString(self):
897            '''QString Solid.Predicate.toString()'''
898            return QString()
899        def usedTypes(self):
900            '''unknown-type Solid.Predicate.usedTypes()'''
901            return unknown-type()
902        def matches(self, device):
903            '''bool Solid.Predicate.matches(Solid.Device device)'''
904            return bool()
905        def isValid(self):
906            '''bool Solid.Predicate.isValid()'''
907            return bool()
908        def __ior__(self, other):
909            '''Solid.Predicate Solid.Predicate.__ior__(Solid.Predicate other)'''
910            return Solid.Predicate()
911        def __or__(self, other):
912            '''Solid.Predicate Solid.Predicate.__or__(Solid.Predicate other)'''
913            return Solid.Predicate()
914        def __iand__(self, other):
915            '''Solid.Predicate Solid.Predicate.__iand__(Solid.Predicate other)'''
916            return Solid.Predicate()
917        def __and__(self, other):
918            '''Solid.Predicate Solid.Predicate.__and__(Solid.Predicate other)'''
919            return Solid.Predicate()
920    class GenericInterface(Solid.DeviceInterface):
921        """"""
922        # Enum Solid.GenericInterface.PropertyChange
923        PropertyModified = 0
924        PropertyAdded = 0
925        PropertyRemoved = 0
926
927        conditionRaised = pyqtSignal() # void conditionRaised(const QStringamp;,const QStringamp;) - signal
928        def propertyExists(self, key):
929            '''bool Solid.GenericInterface.propertyExists(QString key)'''
930            return bool()
931        def allProperties(self):
932            '''dict-of-QString-QVariant Solid.GenericInterface.allProperties()'''
933            return dict-of-QString-QVariant()
934        def property(self, key):
935            '''QVariant Solid.GenericInterface.property(QString key)'''
936            return QVariant()
937        def deviceInterfaceType(self):
938            '''static Solid.DeviceInterface.Type Solid.GenericInterface.deviceInterfaceType()'''
939            return Solid.DeviceInterface.Type()
940    class Button(Solid.DeviceInterface):
941        """"""
942        # Enum Solid.Button.ButtonType
943        LidButton = 0
944        PowerButton = 0
945        SleepButton = 0
946        UnknownButtonType = 0
947        TabletButton = 0
948
949        pressed = pyqtSignal() # void pressed(Solid::Button::ButtonType,const QStringamp;) - signal
950        def stateValue(self):
951            '''bool Solid.Button.stateValue()'''
952            return bool()
953        def hasState(self):
954            '''bool Solid.Button.hasState()'''
955            return bool()
956        def type(self):
957            '''Solid.Button.ButtonType Solid.Button.type()'''
958            return Solid.Button.ButtonType()
959        def deviceInterfaceType(self):
960            '''static Solid.DeviceInterface.Type Solid.Button.deviceInterfaceType()'''
961            return Solid.DeviceInterface.Type()
962    class PortableMediaPlayer(Solid.DeviceInterface):
963        """"""
964        def driverHandle(self, driver):
965            '''QVariant Solid.PortableMediaPlayer.driverHandle(QString driver)'''
966            return QVariant()
967        def supportedDrivers(self, protocol = QString()):
968            '''QStringList Solid.PortableMediaPlayer.supportedDrivers(QString protocol = QString())'''
969            return QStringList()
970        def supportedProtocols(self):
971            '''QStringList Solid.PortableMediaPlayer.supportedProtocols()'''
972            return QStringList()
973        def deviceInterfaceType(self):
974            '''static Solid.DeviceInterface.Type Solid.PortableMediaPlayer.deviceInterfaceType()'''
975            return Solid.DeviceInterface.Type()
976
977
978