KMediaPlayer
Go to the documentation of this file. 11 #include <QtCore/QArgument> 12 #include <QtCore/QByteRef> 13 #include <QtCore/QList> 14 #include <QtCore/QMap> 15 #include <QtCore/QString> 16 #include <QtCore/QStringList> 17 #include <QtCore/QVariant> 23 KMediaPlayerAdaptor::KMediaPlayerAdaptor(
QObject *parent)
27 setAutoRelaySignals(
true);
30 KMediaPlayerAdaptor::~KMediaPlayerAdaptor()
38 return qvariant_cast<
bool >(parent()->property(
"hasLength"));
44 return qvariant_cast< qlonglong >(parent()->property(
"length"));
50 return qvariant_cast<
bool >(parent()->property(
"looping"));
56 parent()->setProperty(
"looping", value);
62 return qvariant_cast< qlonglong >(parent()->property(
"position"));
68 return qvariant_cast<
bool >(parent()->property(
"seekable"));
74 return qvariant_cast<
int >(parent()->property(
"state"));
80 parent()->setProperty(
"state", value);
87 QMetaObject::invokeMethod(parent(),
"openUrl", Q_RETURN_ARG(
bool, out0), Q_ARG(QString, file));
97 QMetaObject::invokeMethod(parent(),
"pause");
106 QMetaObject::invokeMethod(parent(),
"play");
115 QMetaObject::invokeMethod(parent(),
"seek", Q_ARG(qlonglong, msec));
124 QMetaObject::invokeMethod(parent(),
"stop");
131 #include "kmediaplayeradaptor_p.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Wed May 10 2017 09:33:36 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.