/dports/devel/kf5-solid/solid-5.89.0/src/solid/devices/frontend/ |
H A D | battery.cpp | 15 Solid::Battery::Battery(QObject *backendObject) in Battery() argument 16 : DeviceInterface(*new BatteryPrivate(), backendObject) in Battery() 54 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), false, isPresent()); in isPresent() 66 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), 0, chargePercent()); in chargePercent() 72 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), 100, capacity()); in capacity() 96 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), 0, timeToEmpty()); in timeToEmpty() 102 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), 0, timeToFull()); in timeToFull() 114 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), 0.0, energy()); in energy() 120 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), 0.0, energyFull()); in energyFull() 132 return_SOLID_CALL(Ifaces::Battery *, d->backendObject(), 0.0, energyRate()); in energyRate() [all …]
|
H A D | storageaccess.cpp | 13 Solid::StorageAccess::StorageAccess(QObject *backendObject) in StorageAccess() argument 14 : DeviceInterface(*new StorageAccessPrivate(), backendObject) in StorageAccess() 24 Solid::StorageAccess::StorageAccess(StorageAccessPrivate &dd, QObject *backendObject) in StorageAccess() argument 25 : DeviceInterface(dd, backendObject) in StorageAccess() 27 connect(backendObject, in StorageAccess() 31 connect(backendObject, in StorageAccess() 48 return_SOLID_CALL(Ifaces::StorageAccess *, d->backendObject(), false, isAccessible()); in isAccessible() 60 return_SOLID_CALL(Ifaces::StorageAccess *, d->backendObject(), false, setup()); in setup() 66 return_SOLID_CALL(Ifaces::StorageAccess *, d->backendObject(), false, teardown()); in teardown() 72 return_SOLID_CALL(Ifaces::StorageAccess *, d->backendObject(), true, isIgnored()); in isIgnored() [all …]
|
H A D | storagevolume.cpp | 14 Solid::StorageVolume::StorageVolume(QObject *backendObject) in StorageVolume() argument 15 : DeviceInterface(*new StorageVolumePrivate(), backendObject) in StorageVolume() 19 Solid::StorageVolume::StorageVolume(StorageVolumePrivate &dd, QObject *backendObject) in StorageVolume() argument 20 : DeviceInterface(dd, backendObject) in StorageVolume() 31 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), true, isIgnored()); in isIgnored() 37 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), Unused, usage()); in usage() 43 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), QString(), fsType()); in fsType() 49 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), QString(), label()); in label() 55 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), QString(), uuid().toLower()); in uuid() 61 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), 0, size()); in size() [all …]
|
H A D | opticaldrive.cpp | 13 Solid::OpticalDrive::OpticalDrive(QObject *backendObject) in OpticalDrive() argument 14 : StorageDrive(*new OpticalDrivePrivate(), backendObject) in OpticalDrive() 16 connect(backendObject, SIGNAL(ejectPressed(QString)), this, SIGNAL(ejectPressed(QString))); in OpticalDrive() 17 …connect(backendObject, SIGNAL(ejectDone(Solid::ErrorType, QVariant, QString)), this, SIGNAL(ejectD… in OpticalDrive() 18 connect(backendObject, SIGNAL(ejectRequested(QString)), this, SIGNAL(ejectRequested(QString))); in OpticalDrive() 28 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), MediumTypes(), supportedMedia()); in supportedMedia() 34 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), 0, readSpeed()); in readSpeed() 40 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), 0, writeSpeed()); in writeSpeed() 46 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), QList<int>(), writeSpeeds()); in writeSpeeds() 52 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), false, eject()); in eject()
|
H A D | genericinterface.cpp | 13 Solid::GenericInterface::GenericInterface(QObject *backendObject) in GenericInterface() argument 14 : DeviceInterface(*new GenericInterfacePrivate(), backendObject) in GenericInterface() 16 if (backendObject) { in GenericInterface() 17 …connect(backendObject, SIGNAL(propertyChanged(QMap<QString, int>)), this, SIGNAL(propertyChanged(Q… in GenericInterface() 18 …connect(backendObject, SIGNAL(conditionRaised(QString, QString)), this, SIGNAL(conditionRaised(QSt… in GenericInterface() 29 return_SOLID_CALL(Ifaces::GenericInterface *, d->backendObject(), QVariant(), property(key)); in property() 35 … return_SOLID_CALL(Ifaces::GenericInterface *, d->backendObject(), QVariantMap(), allProperties()); in allProperties() 41 return_SOLID_CALL(Ifaces::GenericInterface *, d->backendObject(), false, propertyExists(key)); in propertyExists()
|
H A D | storagedrive.cpp | 17 Solid::StorageDrive::StorageDrive(QObject *backendObject) in StorageDrive() argument 18 : DeviceInterface(*new StorageDrivePrivate(), backendObject) in StorageDrive() 22 Solid::StorageDrive::StorageDrive(StorageDrivePrivate &dd, QObject *backendObject) in StorageDrive() argument 23 : DeviceInterface(dd, backendObject) in StorageDrive() 34 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), Platform, bus()); in bus() 40 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), HardDisk, driveType()); in driveType() 46 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), false, isRemovable()); in isRemovable() 52 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), false, isHotpluggable()); in isHotpluggable() 58 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), false, size()); in size()
|
H A D | opticaldisc.cpp | 13 Solid::OpticalDisc::OpticalDisc(QObject *backendObject) in OpticalDisc() argument 14 : StorageVolume(*new OpticalDiscPrivate(), backendObject) in OpticalDisc() 25 … return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), ContentTypes(), availableContent()); in availableContent() 31 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), UnknownDiscType, discType()); in discType() 37 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), false, isAppendable()); in isAppendable() 43 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), false, isBlank()); in isBlank() 49 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), false, isRewritable()); in isRewritable() 55 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), 0, capacity()); in capacity()
|
H A D | device.cpp | 65 return d->backendObject() != nullptr; in isValid() 75 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), parentUdi()); in parentUdi() 91 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), vendor()); in vendor() 96 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), product()); in product() 101 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), icon()); in icon() 106 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QStringList(), emblems()); in emblems() 111 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), displayName()); in displayName() 116 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), description()); in description() 121 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), false, queryDeviceInterface(type)); in isDeviceInterface() 124 …nterface_cast(IfaceType, DevType, backendObject) (qobject_cast<IfaceType *>(backendObject) ? new D… argument [all …]
|
H A D | processor.cpp | 13 Solid::Processor::Processor(QObject *backendObject) in Processor() argument 14 : DeviceInterface(*new ProcessorPrivate(), backendObject) in Processor() 25 return_SOLID_CALL(Ifaces::Processor *, d->backendObject(), 0, number()); in number() 31 return_SOLID_CALL(Ifaces::Processor *, d->backendObject(), 0, maxSpeed()); in maxSpeed() 37 return_SOLID_CALL(Ifaces::Processor *, d->backendObject(), false, canChangeFrequency()); in canChangeFrequency() 43 … return_SOLID_CALL(Ifaces::Processor *, d->backendObject(), InstructionSets(), instructionSets()); in instructionSets()
|
H A D | block.cpp | 13 Solid::Block::Block(QObject *backendObject) in Block() argument 14 : DeviceInterface(*new BlockPrivate(), backendObject) in Block() 25 return_SOLID_CALL(Ifaces::Block *, d->backendObject(), 0, deviceMajor()); in deviceMajor() 31 return_SOLID_CALL(Ifaces::Block *, d->backendObject(), 0, deviceMinor()); in deviceMinor() 37 return_SOLID_CALL(Ifaces::Block *, d->backendObject(), QString(), device()); in device()
|
H A D | portablemediaplayer.cpp | 15 Solid::PortableMediaPlayer::PortableMediaPlayer(QObject *backendObject) in PortableMediaPlayer() argument 16 : DeviceInterface(*new PortableMediaPlayerPrivate(), backendObject) in PortableMediaPlayer() 27 …return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedProto… in supportedProtocols() 33 …return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedDrive… in supportedDrivers() 39 …return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QVariant(), driverHandle(driv… in driverHandle()
|
/dports/audio/cantata/cantata-2.4.2/3rdparty/solid-lite/ |
H A D | storageaccess.cpp | 27 Solid::StorageAccess::StorageAccess(QObject *backendObject) in StorageAccess() argument 28 : DeviceInterface(*new StorageAccessPrivate(), backendObject) in StorageAccess() 30 connect(backendObject, SIGNAL(setupDone(Solid::ErrorType,QVariant,QString)), in StorageAccess() 32 connect(backendObject, SIGNAL(teardownDone(Solid::ErrorType,QVariant,QString)), in StorageAccess() 34 connect(backendObject, SIGNAL(setupRequested(QString)), in StorageAccess() 36 connect(backendObject, SIGNAL(teardownRequested(QString)), in StorageAccess() 39 connect(backendObject, SIGNAL(accessibilityChanged(bool,QString)), in StorageAccess() 44 : DeviceInterface(dd, backendObject) in StorageAccess() 50 connect(backendObject, SIGNAL(setupRequested(QString)), in StorageAccess() 52 connect(backendObject, SIGNAL(teardownRequested(QString)), in StorageAccess() [all …]
|
H A D | storagevolume.cpp | 28 Solid::StorageVolume::StorageVolume(QObject *backendObject) in StorageVolume() argument 29 : DeviceInterface(*new StorageVolumePrivate(), backendObject) in StorageVolume() 33 Solid::StorageVolume::StorageVolume(StorageVolumePrivate &dd, QObject *backendObject) in StorageVolume() argument 34 : DeviceInterface(dd, backendObject) in StorageVolume() 46 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), true, isIgnored()); in isIgnored() 52 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), Unused, usage()); in usage() 58 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), QString(), fsType()); in fsType() 64 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), QString(), label()); in label() 70 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), QString(), uuid().toLower()); in uuid() 76 return_SOLID_CALL(Ifaces::StorageVolume *, d->backendObject(), 0, size()); in size() [all …]
|
H A D | opticaldrive.cpp | 27 Solid::OpticalDrive::OpticalDrive(QObject *backendObject) in OpticalDrive() argument 28 : StorageDrive(*new OpticalDrivePrivate(), backendObject) in OpticalDrive() 30 connect(backendObject, SIGNAL(ejectPressed(QString)), in OpticalDrive() 32 connect(backendObject, SIGNAL(ejectDone(Solid::ErrorType,QVariant,QString)), in OpticalDrive() 34 connect(backendObject, SIGNAL(ejectRequested(QString)), in OpticalDrive() 46 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), MediumTypes(), supportedMedia()); in supportedMedia() 52 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), 0, readSpeed()); in readSpeed() 58 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), 0, writeSpeed()); in writeSpeed() 64 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), QList<int>(), writeSpeeds()); in writeSpeeds() 70 return_SOLID_CALL(Ifaces::OpticalDrive *, d->backendObject(), false, eject()); in eject()
|
H A D | genericinterface.cpp | 28 Solid::GenericInterface::GenericInterface(QObject *backendObject) in GenericInterface() argument 29 : DeviceInterface(*new GenericInterfacePrivate(), backendObject) in GenericInterface() 31 if (backendObject) { in GenericInterface() 32 connect(backendObject, SIGNAL(propertyChanged(QMap<QString,int>)), in GenericInterface() 34 connect(backendObject, SIGNAL(conditionRaised(QString,QString)), in GenericInterface() 48 return_SOLID_CALL(Ifaces::GenericInterface *, d->backendObject(), QVariant(), property(key)); in property() 54 … return_SOLID_CALL(Ifaces::GenericInterface *, d->backendObject(), QVariantMap(), allProperties()); in allProperties() 60 return_SOLID_CALL(Ifaces::GenericInterface *, d->backendObject(), false, propertyExists(key)); in propertyExists()
|
H A D | storagedrive.cpp | 31 Solid::StorageDrive::StorageDrive(QObject *backendObject) in StorageDrive() argument 32 : DeviceInterface(*new StorageDrivePrivate(), backendObject) in StorageDrive() 36 Solid::StorageDrive::StorageDrive(StorageDrivePrivate &dd, QObject *backendObject) in StorageDrive() argument 37 : DeviceInterface(dd, backendObject) in StorageDrive() 50 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), Platform, bus()); in bus() 56 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), HardDisk, driveType()); in driveType() 62 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), false, isRemovable()); in isRemovable() 68 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), false, isHotpluggable()); in isHotpluggable() 74 return_SOLID_CALL(Ifaces::StorageDrive *, d->backendObject(), false, size()); in size()
|
H A D | opticaldisc.cpp | 27 Solid::OpticalDisc::OpticalDisc(QObject *backendObject) in OpticalDisc() argument 28 : StorageVolume(*new OpticalDiscPrivate(), backendObject) in OpticalDisc() 40 … return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), ContentTypes(), availableContent()); in availableContent() 46 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), UnknownDiscType, discType()); in discType() 52 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), false, isAppendable()); in isAppendable() 58 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), false, isBlank()); in isBlank() 64 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), false, isRewritable()); in isRewritable() 70 return_SOLID_CALL(Ifaces::OpticalDisc *, d->backendObject(), 0, capacity()); in capacity()
|
H A D | device.cpp | 99 return d->backendObject()!=nullptr; in isValid() 109 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), parentUdi()); in parentUdi() 128 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), vendor()); in vendor() 133 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), product()); in product() 138 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), icon()); in icon() 143 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QStringList(), emblems()); in emblems() 148 return_SOLID_CALL(Ifaces::Device *, d->backendObject(), QString(), description()); in description() 156 #define deviceinterface_cast(IfaceType, DevType, backendObject) \ argument 157 (qobject_cast<IfaceType *>(backendObject) ? new DevType(backendObject) : 0) 167 Ifaces::Device *device = qobject_cast<Ifaces::Device *>(d->backendObject()); in asDeviceInterface() [all …]
|
H A D | block.cpp | 27 Solid::Block::Block(QObject *backendObject) in Block() argument 28 : DeviceInterface(*new BlockPrivate(), backendObject) in Block() 40 return_SOLID_CALL(Ifaces::Block *, d->backendObject(), 0, deviceMajor()); in deviceMajor() 46 return_SOLID_CALL(Ifaces::Block *, d->backendObject(), 0, deviceMinor()); in deviceMinor() 52 return_SOLID_CALL(Ifaces::Block *, d->backendObject(), QString(), device()); in device()
|
H A D | portablemediaplayer.cpp | 29 Solid::PortableMediaPlayer::PortableMediaPlayer(QObject *backendObject) in PortableMediaPlayer() argument 30 : DeviceInterface(*new PortableMediaPlayerPrivate(), backendObject) in PortableMediaPlayer() 42 …return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedProto… in supportedProtocols() 48 …return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedDrive… in supportedDrivers() 54 …return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QVariant(), driverHandle(driv… in driverHandle()
|
/dports/devel/kf5-solid/solid-5.89.0/src/solid/power/ |
H A D | inhibition.cpp | 15 AbstractInhibition *backendObject; member in Solid::InhibitionPrivate 22 d_ptr->backendObject = backend; in Inhibition() 23 … connect(d_ptr->backendObject, &AbstractInhibition::stateChanged, this, &Inhibition::stateChanged); in Inhibition() 28 delete d_ptr->backendObject; in ~Inhibition() 34 d_ptr->backendObject->start(); in start() 39 d_ptr->backendObject->stop(); in stop() 44 return d_ptr->backendObject->state(); in state()
|
/dports/multimedia/phonon-designerplugin/phonon-4.11.1/phonon/ |
H A D | path.cpp | 116 leftNode = d->sourceNode->k_ptr->backendObject(); in insertEffect() 123 rightNode = d->sinkNode->k_ptr->backendObject(); in insertEffect() 126 rightNode = insertBefore->k_ptr->backendObject(); in insertEffect() 156 if (!source || !sink || !source->k_ptr->backendObject() || !sink->k_ptr->backendObject()) { in reconnect() 163 QObject *bnewSource = source->k_ptr->backendObject(); in reconnect() 164 QObject *bnewSink = sink->k_ptr->backendObject(); in reconnect() 175 QObject *bnext = next->k_ptr->backendObject(); in reconnect() 232 list << d->sourceNode->k_ptr->backendObject(); in disconnect() 235 list << d->effects.at(i)->k_ptr->backendObject(); in disconnect() 239 list << d->sinkNode->k_ptr->backendObject(); in disconnect() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/phonon/phonon/ |
H A D | path.cpp | 118 leftNode = d->sourceNode->k_ptr->backendObject(); in insertEffect() 125 rightNode = d->sinkNode->k_ptr->backendObject(); in insertEffect() 128 rightNode = insertBefore->k_ptr->backendObject(); in insertEffect() 158 if (!source || !sink || !source->k_ptr->backendObject() || !sink->k_ptr->backendObject()) { in reconnect() 165 QObject *bnewSource = source->k_ptr->backendObject(); in reconnect() 166 QObject *bnewSink = sink->k_ptr->backendObject(); in reconnect() 177 QObject *bnext = next->k_ptr->backendObject(); in reconnect() 234 list << d->sourceNode->k_ptr->backendObject(); in disconnect() 237 list << d->effects.at(i)->k_ptr->backendObject(); in disconnect() 241 list << d->sinkNode->k_ptr->backendObject(); in disconnect() [all …]
|
/dports/multimedia/phonon/phonon-4.11.1/phonon/ |
H A D | path.cpp | 116 leftNode = d->sourceNode->k_ptr->backendObject(); in insertEffect() 123 rightNode = d->sinkNode->k_ptr->backendObject(); in insertEffect() 126 rightNode = insertBefore->k_ptr->backendObject(); in insertEffect() 156 if (!source || !sink || !source->k_ptr->backendObject() || !sink->k_ptr->backendObject()) { in reconnect() 163 QObject *bnewSource = source->k_ptr->backendObject(); in reconnect() 164 QObject *bnewSink = sink->k_ptr->backendObject(); in reconnect() 175 QObject *bnext = next->k_ptr->backendObject(); in reconnect() 232 list << d->sourceNode->k_ptr->backendObject(); in disconnect() 235 list << d->effects.at(i)->k_ptr->backendObject(); in disconnect() 239 list << d->sinkNode->k_ptr->backendObject(); in disconnect() [all …]
|
/dports/www/typo3-9/typo3_src-9.5.31/typo3/sysext/rsaauth/Classes/Backend/ |
H A D | BackendFactory.php | 63 $backendObject = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($backend); 65 if ($backendObject instanceof AbstractBackend) { 67 if ($backendObject->isAvailable()) { 69 self::$selectedBackend = $backendObject; 74 unset($backendObject);
|