Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.cpp b/noncore/multimedia/opieplayer2/mediawidget.cpp new file mode 100644 index 0000000..9d1d7fc --- a/dev/null +++ b/noncore/multimedia/opieplayer2/mediawidget.cpp | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | Copyright (C) 2002 Simon Hausmann <hausmann@kde.org> | ||
3 | |||
4 | This library is free software; you can redistribute it and/or | ||
5 | modify it under the terms of the GNU Library General Public | ||
6 | License as published by the Free Software Foundation; either | ||
7 | version 2 of the License, or (at your option) any later version. | ||
8 | |||
9 | This library is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | Library General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU Library General Public License | ||
15 | along with this library; see the file COPYING.LIB. If not, write to | ||
16 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
17 | Boston, MA 02111-1307, USA. | ||
18 | */ | ||
19 | |||
20 | |||
21 | #include "mediawidget.h" | ||
22 | |||
23 | extern MediaPlayerState *mediaPlayerState; | ||
24 | |||
25 | MediaWidget::MediaWidget( QWidget *parent, const char *name ) | ||
26 | : QWidget( parent, name ) | ||
27 | { | ||
28 | connect( mediaPlayerState, SIGNAL( displayTypeChanged( MediaPlayerState::DisplayType ) ), | ||
29 | this, SLOT( setDisplayType( MediaPlayerState::DisplayType ) ) ); | ||
30 | } | ||
31 | |||
32 | MediaWidget::~MediaWidget() | ||
33 | { | ||
34 | } | ||
35 | |||
36 | /* vim: et sw=4 ts=4 | ||
37 | */ | ||