/* * This file was generated by dbusidl2cpp version 0.4 * when processing input file org.kde.KMediaPlayer.xml * * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved. * * This is an auto-generated file. */ #ifndef KMEDIAPLAYERADAPTOR_H_19781146507443 #define KMEDIAPLAYERADAPTOR_H_19781146507443 #include #include template class QList; template class QMap; class QString; /* * Adaptor class for interface org.kde.KMediaPlayer */ class KMediaPlayerAdaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.kde.KMediaPlayer") Q_CLASSINFO("D-Bus Introspection", "" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "") public: KMediaPlayerAdaptor(QObject *parent); virtual ~KMediaPlayerAdaptor(); public: // PROPERTIES Q_PROPERTY(bool hasLength READ hasLength) bool hasLength() const; Q_PROPERTY(qlonglong length READ length) qlonglong length() const; Q_PROPERTY(bool looping READ isLooping WRITE setLooping) bool isLooping() const; void setLooping(bool value); Q_PROPERTY(qlonglong position READ position) qlonglong position() const; Q_PROPERTY(bool seekable READ isSeekable) bool isSeekable() const; Q_PROPERTY(int state READ state WRITE setState) int state() const; void setState(int value); public Q_SLOTS: // METHODS bool openUrl(const QString &file); void pause(); void play(); void seek(qlonglong msec); void stop(); Q_SIGNALS: // SIGNALS }; #endif