• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Solid

portablemediaplayer.cpp

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2006 Davide Bettio <davbet@aliceposta.it>
00003     Copyright (C) 2007 Kevin Ottens <ervin@kde.org>
00004     Copyright (C) 2007 Jeff Mitchell <kde-dev@emailgoeshere.com>
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License version 2 as published by the Free Software Foundation.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 
00020 */
00021 
00022 #include "portablemediaplayer.h"
00023 #include "portablemediaplayer_p.h"
00024 
00025 #include "soliddefs_p.h"
00026 #include <solid/ifaces/portablemediaplayer.h>
00027 
00028 Solid::PortableMediaPlayer::PortableMediaPlayer(QObject *backendObject)
00029     : DeviceInterface(*new PortableMediaPlayerPrivate(), backendObject)
00030 {
00031 }
00032 
00033 Solid::PortableMediaPlayer::~PortableMediaPlayer()
00034 {
00035 
00036 }
00037 
00038 QStringList Solid::PortableMediaPlayer::supportedProtocols() const
00039 {
00040     Q_D(const PortableMediaPlayer);
00041     return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedProtocols());
00042 }
00043 
00044 QStringList Solid::PortableMediaPlayer::supportedDrivers(QString protocol) const
00045 {
00046     Q_D(const PortableMediaPlayer);
00047     return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QStringList(), supportedDrivers(protocol));
00048 }
00049 
00050 QVariant Solid::PortableMediaPlayer::driverHandle(const QString &driver) const
00051 {
00052     Q_D(const PortableMediaPlayer);
00053     return_SOLID_CALL(Ifaces::PortableMediaPlayer *, d->backendObject(), QVariant(), driverHandle(driver));
00054 }
00055 
00056 #include "portablemediaplayer.moc"

Solid

Skip menu "Solid"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal