source: trunk/doc/src/snippets/videomedia.cpp@ 5

Last change on this file since 5 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 276 bytes
Line 
1
2
3#include <QtGui>
4#include <phonon>
5
6
7int main(int argv, char **args)
8{
9 QApplication app(argv, args);
10
11 Phonon::VideoPlayer *player = new Phonon::VideoPlayer(Phonon::VideoCategory, 0);
12
13//![0]
14 player->mediaObject()->isSeekable();
15//![0]
16
17 return app.exec();
18}
19
Note: See TracBrowser for help on using the repository browser.