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

Solid

portablemediaplayer.h

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 #ifndef SOLID_PORTABLEMEDIAPLAYER_H
00023 #define SOLID_PORTABLEMEDIAPLAYER_H
00024 
00025 #include <QtCore/QStringList>
00026 #include <QtCore/QVariant>
00027 
00028 #include <solid/solid_export.h>
00029 
00030 #include <solid/deviceinterface.h>
00031 
00032 namespace Solid
00033 {
00034     class PortableMediaPlayerPrivate;
00035     class Device;
00036 
00044     class SOLID_EXPORT PortableMediaPlayer : public DeviceInterface
00045     {
00046         Q_OBJECT
00047         Q_PROPERTY(QStringList supportedProtocols READ supportedProtocols)
00048         Q_PROPERTY(QStringList supportedDrivers READ supportedDrivers)
00049         Q_DECLARE_PRIVATE(PortableMediaPlayer)
00050         friend class Device;
00051 
00052     public:
00053 
00054     private:
00063         explicit PortableMediaPlayer(QObject *backendObject);
00064 
00065     public:
00069         virtual ~PortableMediaPlayer();
00070 
00077         static Type deviceInterfaceType() { return DeviceInterface::PortableMediaPlayer; }
00078 
00085         QStringList supportedProtocols() const;
00086 
00095         QStringList supportedDrivers(QString protocol = QString()) const;
00096 
00105         QVariant driverHandle(const QString &driver) const;
00106     };
00107 }
00108 
00109 #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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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