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

KMediaPlayer

kmediaplayeradaptor_p.h

Go to the documentation of this file.
00001 /*
00002  * This file was generated by dbusidl2cpp version 0.4
00003  * when processing input file org.kde.KMediaPlayer.xml
00004  *
00005  * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
00006  *
00007  * This is an auto-generated file.
00008  */
00009 
00010 #ifndef KMEDIAPLAYERADAPTOR_H_19781146507443
00011 #define KMEDIAPLAYERADAPTOR_H_19781146507443
00012 
00013 #include <QtCore/QObject>
00014 #include <QtDBus/QtDBus>
00015 template<class T> class QList;
00016 template<class Key, class Value> class QMap;
00017 class QString;
00018 
00019 /*
00020  * Adaptor class for interface org.kde.KMediaPlayer
00021  */
00022 class KMediaPlayerAdaptor: public QDBusAbstractAdaptor
00023 {
00024     Q_OBJECT
00025     Q_CLASSINFO("D-Bus Interface", "org.kde.KMediaPlayer")
00026     Q_CLASSINFO("D-Bus Introspection", ""
00027 "  <interface name=\"org.kde.KMediaPlayer\" >"
00028 "    <method name=\"openUrl\" >"
00029 "      <arg direction=\"in\" type=\"s\" name=\"file\" />"
00030 "      <arg direction=\"out\" type=\"b\" />"
00031 "    </method>"
00032 "    <method name=\"pause\" />"
00033 "    <method name=\"play\" />"
00034 "    <method name=\"stop\" />"
00035 "    <method name=\"seek\" >"
00036 "      <arg direction=\"in\" type=\"x\" name=\"msec\" />"
00037 "    </method>"
00038 "    <property access=\"read\" type=\"b\" name=\"seekable\" >"
00039 "      <annotation value=\"isSeekable\" name=\"com.trolltech.QtDBus.propertyGetter\" />"
00040 "    </property>"
00041 "    <property access=\"read\" type=\"x\" name=\"position\" />"
00042 "    <property access=\"read\" type=\"b\" name=\"hasLength\" />"
00043 "    <property access=\"read\" type=\"x\" name=\"length\" />"
00044 "    <property access=\"readwrite\" type=\"b\" name=\"looping\" >"
00045 "      <annotation value=\"isLooping\" name=\"com.trolltech.QtDBus.propertyGetter\" />"
00046 "    </property>"
00047 "    <property access=\"readwrite\" type=\"i\" name=\"state\" />"
00048 "  </interface>"
00049         "")
00050 public:
00051     KMediaPlayerAdaptor(QObject *parent);
00052     virtual ~KMediaPlayerAdaptor();
00053 
00054 public: // PROPERTIES
00055     Q_PROPERTY(bool hasLength READ hasLength)
00056     bool hasLength() const;
00057 
00058     Q_PROPERTY(qlonglong length READ length)
00059     qlonglong length() const;
00060 
00061     Q_PROPERTY(bool looping READ isLooping WRITE setLooping)
00062     bool isLooping() const;
00063     void setLooping(bool value);
00064 
00065     Q_PROPERTY(qlonglong position READ position)
00066     qlonglong position() const;
00067 
00068     Q_PROPERTY(bool seekable READ isSeekable)
00069     bool isSeekable() const;
00070 
00071     Q_PROPERTY(int state READ state WRITE setState)
00072     int state() const;
00073     void setState(int value);
00074 
00075 public Q_SLOTS: // METHODS
00076     bool openUrl(const QString &file);
00077     void pause();
00078     void play();
00079     void seek(qlonglong msec);
00080     void stop();
00081 Q_SIGNALS: // SIGNALS
00082 };
00083 
00084 #endif

KMediaPlayer

Skip menu "KMediaPlayer"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • 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