kplayobjectcreator.h
00001     
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 #ifndef KPLAYOBJECTCREATOR_H
00023 #define KPLAYOBJECTCREATOR_H
00024 
00025 #include <kurl.h>
00026 #include <qobject.h>
00027 #include "soundserver.h"
00028 #include "kioinputstream_impl.h"
00029 
00030 namespace KDE {
00031 
00032 class PlayObjectCreator : public QObject
00033 {
00034 Q_OBJECT
00035 public:
00036     PlayObjectCreator(Arts::SoundServerV2 server);
00037     ~PlayObjectCreator();
00038 
00039     bool create(const KURL& url, bool createBUS, const QObject* receiver, const char* slot);
00040 
00041 signals:
00042     void playObjectCreated(Arts::PlayObject playObject);
00043 
00044 private slots:
00045     void slotMimeType(const QString &mimetype);
00046 
00047 private:
00048     Arts::SoundServerV2 m_server;
00049     Arts::KIOInputStream m_instream;
00050     Arts::PlayObject playObject;
00051     bool m_createBUS;
00052 };
00053 
00054 }
00055 #endif
00056 
 
This file is part of the documentation for arts Library Version 3.2.0.