Solid

frontend/portablemediaplayer.cpp
1/*
2 SPDX-FileCopyrightText: 2006 Davide Bettio <davide.bettio@kdemail.net>
3 SPDX-FileCopyrightText: 2007 Kevin Ottens <ervin@kde.org>
4 SPDX-FileCopyrightText: 2007 Jeff Mitchell <kde-dev@emailgoeshere.com>
5
6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7*/
8
9#include "portablemediaplayer.h"
10#include "portablemediaplayer_p.h"
11
12#include "soliddefs_p.h"
13#include <solid/devices/ifaces/portablemediaplayer.h>
14
15Solid::PortableMediaPlayer::PortableMediaPlayer(QObject *backendObject)
16 : DeviceInterface(*new PortableMediaPlayerPrivate(), backendObject)
17{
18}
19
23
24QStringList Solid::PortableMediaPlayer::supportedProtocols() const
25{
27 return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedProtocols());
28}
29
30QStringList Solid::PortableMediaPlayer::supportedDrivers(QString protocol) const
31{
33 return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedDrivers(protocol));
34}
35
37{
39 return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QVariant(), driverHandle(driver));
40}
41
42#include "moc_portablemediaplayer.cpp"
This class implements Portable Media Player device interface and represents a portable media player a...
This class implements Portable Media Player device interface and represents a portable media player a...
QVariant driverHandle(const QString &driver) const
Retrieves a driver specific string allowing to access the device.
~PortableMediaPlayer() override
Destroys a portable media player object.
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.