equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the demonstration applications of the Qt Toolkit. |
7 ** This file is part of the demonstration applications of the Qt Toolkit. |
8 ** |
8 ** |
48 #include <QtGui/QShowEvent> |
48 #include <QtGui/QShowEvent> |
49 #include <QtGui/QIcon> |
49 #include <QtGui/QIcon> |
50 #include <QtCore/QBasicTimer> |
50 #include <QtCore/QBasicTimer> |
51 #include <QtGui/QAction> |
51 #include <QtGui/QAction> |
52 |
52 |
53 #include <Phonon/AudioOutput> |
53 #include <phonon/audiooutput.h> |
54 #include <Phonon/BackendCapabilities> |
54 #include <phonon/backendcapabilities.h> |
55 #include <Phonon/Effect> |
55 #include <phonon/effect.h> |
56 #include <Phonon/EffectParameter> |
56 #include <phonon/effectparameter.h> |
57 #include <Phonon/EffectWidget> |
57 #include <phonon/effectwidget.h> |
58 #include <Phonon/MediaObject> |
58 #include <phonon/mediaobject.h> |
59 #include <Phonon/SeekSlider> |
59 #include <phonon/seekslider.h> |
60 #include <Phonon/VideoWidget> |
60 #include <phonon/videowidget.h> |
61 #include <Phonon/VolumeSlider> |
61 #include <phonon/volumeslider.h> |
62 |
62 |
63 QT_BEGIN_NAMESPACE |
63 QT_BEGIN_NAMESPACE |
64 class QPushButton; |
64 class QPushButton; |
65 class QLabel; |
65 class QLabel; |
66 class QSlider; |
66 class QSlider; |
110 void dragEnterEvent(QDragEnterEvent *e); |
110 void dragEnterEvent(QDragEnterEvent *e); |
111 void dragMoveEvent(QDragMoveEvent *e); |
111 void dragMoveEvent(QDragMoveEvent *e); |
112 void dropEvent(QDropEvent *e); |
112 void dropEvent(QDropEvent *e); |
113 void handleDrop(QDropEvent *e); |
113 void handleDrop(QDropEvent *e); |
114 void setFile(const QString &text); |
114 void setFile(const QString &text); |
|
115 void setLocation(const QString &location); |
115 void initVideoWindow(); |
116 void initVideoWindow(); |
116 void initSettingsDialog(); |
117 void initSettingsDialog(); |
117 |
118 |
118 public slots: |
119 public slots: |
119 void openFile(); |
120 void openFile(); |