• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Solid

portablemediaplayer.h

Go to the documentation of this file.
00001 /*
00002     Copyright 2006 Davide Bettio <davbet@aliceposta.it>
00003     Copyright 2007 Kevin Ottens <ervin@kde.org>
00004     Copyright 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 Lesser General Public
00008     License as published by the Free Software Foundation; either
00009     version 2.1 of the License, or (at your option) version 3, or any
00010     later version accepted by the membership of KDE e.V. (or its
00011     successor approved by the membership of KDE e.V.), which shall
00012     act as a proxy defined in Section 6 of version 3 of the license.
00013 
00014     This library is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017     Lesser General Public License for more details.
00018 
00019     You should have received a copy of the GNU Lesser General Public
00020     License along with this library. If not, see <http://www.gnu.org/licenses/>.
00021 */
00022 
00023 #ifndef SOLID_PORTABLEMEDIAPLAYER_H
00024 #define SOLID_PORTABLEMEDIAPLAYER_H
00025 
00026 #include <QtCore/QStringList>
00027 #include <QtCore/QVariant>
00028 
00029 #include <solid/solid_export.h>
00030 
00031 #include <solid/deviceinterface.h>
00032 
00033 namespace Solid
00034 {
00035     class PortableMediaPlayerPrivate;
00036     class Device;
00037 
00045     class SOLID_EXPORT PortableMediaPlayer : public DeviceInterface
00046     {
00047         Q_OBJECT
00048         Q_PROPERTY(QStringList supportedProtocols READ supportedProtocols)
00049         Q_PROPERTY(QStringList supportedDrivers READ supportedDrivers)
00050         Q_DECLARE_PRIVATE(PortableMediaPlayer)
00051         friend class Device;
00052 
00053     public:
00054 
00055     private:
00064         explicit PortableMediaPlayer(QObject *backendObject);
00065 
00066     public:
00070         virtual ~PortableMediaPlayer();
00071 
00078         static Type deviceInterfaceType() { return DeviceInterface::PortableMediaPlayer; }
00079 
00086         QStringList supportedProtocols() const;
00087 
00096         QStringList supportedDrivers(QString protocol = QString()) const;
00097 
00106         QVariant driverHandle(const QString &driver) const;
00107     };
00108 }
00109 
00110 #endif

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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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