Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src.3rdparty.kdelibs.phonon.mediasource.h

//! [0]

 * MediaObject m;
 * QString fileName("/home/foo/bar.ogg");
 * QUrl url("http://www.example.com/stream.mp3");
 * QBuffer *someBuffer;
 * m.setCurrentSource(fileName);
 * m.setCurrentSource(url);
 * m.setCurrentSource(someBuffer);
 * m.setCurrentSource(Phonon::Cd);
 * //! [0]



Generated by  Doxygen 1.6.0   Back to index