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

KMediaPlayer

  • 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>
15template<class T> class QList;
16template<class Key, class Value> class QMap;
17class QString;
18
19/*
20 * Adaptor class for interface org.kde.KMediaPlayer
21 */
22class 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 "")
50public:
51 KMediaPlayerAdaptor(QObject *parent);
52 virtual ~KMediaPlayerAdaptor();
53
54public: // 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
75public Q_SLOTS: // METHODS
76 bool openUrl(const QString &file);
77 void pause();
78 void play();
79 void seek(qlonglong msec);
80 void stop();
81Q_SIGNALS: // SIGNALS
82};
83
84#endif
KMediaPlayerAdaptor
Definition: kmediaplayeradaptor_p.h:23
KMediaPlayerAdaptor::hasLength
bool hasLength
Definition: kmediaplayeradaptor_p.h:55
KMediaPlayerAdaptor::pause
void pause()
Definition: kmediaplayeradaptor.cpp:94
KMediaPlayerAdaptor::play
void play()
Definition: kmediaplayeradaptor.cpp:103
KMediaPlayerAdaptor::seekable
bool seekable
Definition: kmediaplayeradaptor_p.h:68
KMediaPlayerAdaptor::looping
bool looping
Definition: kmediaplayeradaptor_p.h:61
KMediaPlayerAdaptor::state
int state
Definition: kmediaplayeradaptor_p.h:71
KMediaPlayerAdaptor::seek
void seek(qlonglong msec)
Definition: kmediaplayeradaptor.cpp:112
KMediaPlayerAdaptor::setState
void setState(int value)
Definition: kmediaplayeradaptor.cpp:77
KMediaPlayerAdaptor::length
qlonglong length
Definition: kmediaplayeradaptor_p.h:58
KMediaPlayerAdaptor::position
qlonglong position
Definition: kmediaplayeradaptor_p.h:65
KMediaPlayerAdaptor::stop
void stop()
Definition: kmediaplayeradaptor.cpp:121
KMediaPlayerAdaptor::isLooping
bool isLooping() const
Definition: kmediaplayeradaptor.cpp:47
KMediaPlayerAdaptor::isSeekable
bool isSeekable() const
Definition: kmediaplayeradaptor.cpp:65
KMediaPlayerAdaptor::openUrl
bool openUrl(const QString &file)
Definition: kmediaplayeradaptor.cpp:83
KMediaPlayerAdaptor::setLooping
void setLooping(bool value)
Definition: kmediaplayeradaptor.cpp:53
QDBusAbstractAdaptor
QList
QMap
QObject
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
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