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

KMediaPlayer

  • sources
  • kde-4.14
  • kdelibs
  • interfaces
  • kmediaplayer
kmediaplayeradaptor_p.h
Go to the documentation of this file.
1 /*
2  * This file was generated by dbusidl2cpp version 0.4
3  * when processing input file org.kde.KMediaPlayer.xml
4  *
5  * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
6  *
7  * This is an auto-generated file.
8  */
9 
10 #ifndef KMEDIAPLAYERADAPTOR_H_19781146507443
11 #define KMEDIAPLAYERADAPTOR_H_19781146507443
12 
13 #include <QtCore/QObject>
14 #include <QtDBus/QtDBus>
15 template<class T> class QList;
16 template<class Key, class Value> class QMap;
17 class QString;
18 
19 /*
20  * Adaptor class for interface org.kde.KMediaPlayer
21  */
22 class KMediaPlayerAdaptor: public QDBusAbstractAdaptor
23 {
24  Q_OBJECT
25  Q_CLASSINFO("D-Bus Interface", "org.kde.KMediaPlayer")
26  Q_CLASSINFO("D-Bus Introspection", ""
27 " <interface name=\"org.kde.KMediaPlayer\" >"
28 " <method name=\"openUrl\" >"
29 " <arg direction=\"in\" type=\"s\" name=\"file\" />"
30 " <arg direction=\"out\" type=\"b\" />"
31 " </method>"
32 " <method name=\"pause\" />"
33 " <method name=\"play\" />"
34 " <method name=\"stop\" />"
35 " <method name=\"seek\" >"
36 " <arg direction=\"in\" type=\"x\" name=\"msec\" />"
37 " </method>"
38 " <property access=\"read\" type=\"b\" name=\"seekable\" >"
39 " <annotation value=\"isSeekable\" name=\"com.trolltech.QtDBus.propertyGetter\" />"
40 " </property>"
41 " <property access=\"read\" type=\"x\" name=\"position\" />"
42 " <property access=\"read\" type=\"b\" name=\"hasLength\" />"
43 " <property access=\"read\" type=\"x\" name=\"length\" />"
44 " <property access=\"readwrite\" type=\"b\" name=\"looping\" >"
45 " <annotation value=\"isLooping\" name=\"com.trolltech.QtDBus.propertyGetter\" />"
46 " </property>"
47 " <property access=\"readwrite\" type=\"i\" name=\"state\" />"
48 " </interface>"
49  "")
50 public:
51  KMediaPlayerAdaptor(QObject *parent);
52  virtual ~KMediaPlayerAdaptor();
53 
54 public: // PROPERTIES
55  Q_PROPERTY(bool hasLength READ hasLength)
56  bool hasLength() const;
57 
58  Q_PROPERTY(qlonglong length READ length)
59  qlonglong length() const;
60 
61  Q_PROPERTY(bool looping READ isLooping WRITE setLooping)
62  bool isLooping() const;
63  void setLooping(bool value);
64 
65  Q_PROPERTY(qlonglong position READ position)
66  qlonglong position() const;
67 
68  Q_PROPERTY(bool seekable READ isSeekable)
69  bool isSeekable() const;
70 
71  Q_PROPERTY(int state READ state WRITE setState)
72  int state() const;
73  void setState(int value);
74 
75 public Q_SLOTS: // METHODS
76  bool openUrl(const QString &file);
77  void pause();
78  void play();
79  void seek(qlonglong msec);
80  void stop();
81 Q_SIGNALS: // SIGNALS
82 };
83 
84 #endif
KMediaPlayerAdaptor::isSeekable
bool isSeekable() const
Definition: kmediaplayeradaptor.cpp:65
KMediaPlayerAdaptor::isLooping
bool isLooping() const
Definition: kmediaplayeradaptor.cpp:47
KMediaPlayerAdaptor::seek
void seek(qlonglong msec)
Definition: kmediaplayeradaptor.cpp:112
QMap
Definition: kmediaplayeradaptor_p.h:16
KMediaPlayerAdaptor
Definition: kmediaplayeradaptor_p.h:22
KMediaPlayerAdaptor::pause
void pause()
Definition: kmediaplayeradaptor.cpp:94
KMediaPlayerAdaptor::seekable
bool seekable
Definition: kmediaplayeradaptor_p.h:68
KMediaPlayerAdaptor::setLooping
void setLooping(bool value)
Definition: kmediaplayeradaptor.cpp:53
QDBusAbstractAdaptor
KMediaPlayerAdaptor::openUrl
bool openUrl(const QString &file)
Definition: kmediaplayeradaptor.cpp:83
QObject
KMediaPlayerAdaptor::hasLength
bool hasLength() const
KMediaPlayerAdaptor::play
void play()
Definition: kmediaplayeradaptor.cpp:103
KMediaPlayerAdaptor::position
qlonglong position() const
QString
QList
Definition: kmediaplayeradaptor_p.h:15
KMediaPlayerAdaptor::stop
void stop()
Definition: kmediaplayeradaptor.cpp:121
KMediaPlayerAdaptor::state
int state() const
KMediaPlayerAdaptor::setState
void setState(int value)
Definition: kmediaplayeradaptor.cpp:77
KMediaPlayerAdaptor::looping
bool looping
Definition: kmediaplayeradaptor_p.h:61
KMediaPlayerAdaptor::length
qlonglong length() const
QObject::parent
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMediaPlayer

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • 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

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal