-rw-r--r-- | core/multimedia/opieplayer/audiodevice.cpp | 1 | ||||
-rw-r--r-- | core/multimedia/opieplayer/audiowidget.cpp | 6 | ||||
-rw-r--r-- | core/multimedia/opieplayer/mediaplayer.cpp | 7 | ||||
-rw-r--r-- | core/multimedia/opieplayer/mediaplayerstate.cpp | 2 | ||||
-rw-r--r-- | core/multimedia/opieplayer/modplug/load_j2b.cpp | 1 | ||||
-rw-r--r-- | core/multimedia/opieplayer/om3u.cpp | 15 | ||||
-rw-r--r-- | core/multimedia/opieplayer/playlistselection.cpp | 8 | ||||
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 25 | ||||
-rw-r--r-- | core/multimedia/opieplayer/videowidget.cpp | 4 | ||||
-rw-r--r-- | core/opie-login/loginwindowimpl.cpp | 4 | ||||
-rw-r--r-- | core/opie-login/main.cpp | 4 | ||||
-rw-r--r-- | core/opie-login/opie-login.pro | 2 |
12 files changed, 2 insertions, 77 deletions
diff --git a/core/multimedia/opieplayer/audiodevice.cpp b/core/multimedia/opieplayer/audiodevice.cpp index d296d27..355062b 100644 --- a/core/multimedia/opieplayer/audiodevice.cpp +++ b/core/multimedia/opieplayer/audiodevice.cpp | |||
@@ -11,33 +11,32 @@ | |||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | // L.J.Potter added better error code Fri 02-15-2002 14:37:47 | 20 | // L.J.Potter added better error code Fri 02-15-2002 14:37:47 |
21 | 21 | ||
22 | 22 | ||
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
24 | #include <stdio.h> | 24 | #include <stdio.h> |
25 | #include <qpe/qpeapplication.h> | 25 | #include <qpe/qpeapplication.h> |
26 | #include <qpe/config.h> | 26 | #include <qpe/config.h> |
27 | #include <qpe/custom.h> | ||
28 | #include <qmessagebox.h> | 27 | #include <qmessagebox.h> |
29 | 28 | ||
30 | #include "audiodevice.h" | 29 | #include "audiodevice.h" |
31 | 30 | ||
32 | 31 | ||
33 | #include <errno.h> | 32 | #include <errno.h> |
34 | 33 | ||
35 | #if !defined(QT_NO_COP) | 34 | #if !defined(QT_NO_COP) |
36 | #include <qpe/qcopenvelope_qws.h> | 35 | #include <qpe/qcopenvelope_qws.h> |
37 | #endif | 36 | #endif |
38 | 37 | ||
39 | #if defined(Q_WS_X11) || defined(Q_WS_QWS) | 38 | #if defined(Q_WS_X11) || defined(Q_WS_QWS) |
40 | #include <fcntl.h> | 39 | #include <fcntl.h> |
41 | #include <sys/ioctl.h> | 40 | #include <sys/ioctl.h> |
42 | #include <sys/soundcard.h> | 41 | #include <sys/soundcard.h> |
43 | #include <sys/stat.h> | 42 | #include <sys/stat.h> |
diff --git a/core/multimedia/opieplayer/audiowidget.cpp b/core/multimedia/opieplayer/audiowidget.cpp index fbc5072..8bcc567 100644 --- a/core/multimedia/opieplayer/audiowidget.cpp +++ b/core/multimedia/opieplayer/audiowidget.cpp | |||
@@ -8,38 +8,32 @@ | |||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qpe/qpeapplication.h> | 20 | #include <qpe/qpeapplication.h> |
21 | #include <qpe/resource.h> | 21 | #include <qpe/resource.h> |
22 | #include <qpe/config.h> | 22 | #include <qpe/config.h> |
23 | 23 | ||
24 | #include <qwidget.h> | ||
25 | #include <qpixmap.h> | ||
26 | #include <qbutton.h> | ||
27 | #include <qpainter.h> | ||
28 | #include <qframe.h> | ||
29 | #include <qlayout.h> | ||
30 | #include <qdir.h> | 24 | #include <qdir.h> |
31 | #include "audiowidget.h" | 25 | #include "audiowidget.h" |
32 | #include "mediaplayerstate.h" | 26 | #include "mediaplayerstate.h" |
33 | 27 | ||
34 | #include <stdlib.h> | 28 | #include <stdlib.h> |
35 | #include <stdio.h> | 29 | #include <stdio.h> |
36 | 30 | ||
37 | extern MediaPlayerState *mediaPlayerState; | 31 | extern MediaPlayerState *mediaPlayerState; |
38 | 32 | ||
39 | 33 | ||
40 | static const int xo = -2; // movable x offset | 34 | static const int xo = -2; // movable x offset |
41 | static const int yo = 22; // movable y offset | 35 | static const int yo = 22; // movable y offset |
42 | 36 | ||
43 | struct MediaButton { | 37 | struct MediaButton { |
44 | bool isToggle, isHeld, isDown; | 38 | bool isToggle, isHeld, isDown; |
45 | }; | 39 | }; |
diff --git a/core/multimedia/opieplayer/mediaplayer.cpp b/core/multimedia/opieplayer/mediaplayer.cpp index 753b2e3..b77708c 100644 --- a/core/multimedia/opieplayer/mediaplayer.cpp +++ b/core/multimedia/opieplayer/mediaplayer.cpp | |||
@@ -5,41 +5,34 @@ | |||
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include <qpe/qpeapplication.h> | ||
22 | #include <qpe/qlibrary.h> | ||
23 | #include <qpe/resource.h> | ||
24 | #include <qpe/config.h> | ||
25 | 21 | ||
26 | #include <qmainwindow.h> | ||
27 | #include <qmessagebox.h> | 22 | #include <qmessagebox.h> |
28 | #include <qwidgetstack.h> | ||
29 | #include <qfile.h> | ||
30 | 23 | ||
31 | #include "mediaplayer.h" | 24 | #include "mediaplayer.h" |
32 | #include "playlistwidget.h" | 25 | #include "playlistwidget.h" |
33 | #include "audiowidget.h" | 26 | #include "audiowidget.h" |
34 | #include "loopcontrol.h" | 27 | #include "loopcontrol.h" |
35 | #include "audiodevice.h" | 28 | #include "audiodevice.h" |
36 | 29 | ||
37 | #include "mediaplayerstate.h" | 30 | #include "mediaplayerstate.h" |
38 | 31 | ||
39 | 32 | ||
40 | extern AudioWidget *audioUI; | 33 | extern AudioWidget *audioUI; |
41 | extern PlayListWidget *playList; | 34 | extern PlayListWidget *playList; |
42 | extern LoopControl *loopControl; | 35 | extern LoopControl *loopControl; |
43 | extern MediaPlayerState *mediaPlayerState; | 36 | extern MediaPlayerState *mediaPlayerState; |
44 | 37 | ||
45 | 38 | ||
diff --git a/core/multimedia/opieplayer/mediaplayerstate.cpp b/core/multimedia/opieplayer/mediaplayerstate.cpp index 6823076..5bfb87e 100644 --- a/core/multimedia/opieplayer/mediaplayerstate.cpp +++ b/core/multimedia/opieplayer/mediaplayerstate.cpp | |||
@@ -7,34 +7,32 @@ | |||
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qpe/qpeapplication.h> | 20 | #include <qpe/qpeapplication.h> |
21 | #include <qpe/qlibrary.h> | 21 | #include <qpe/qlibrary.h> |
22 | #include <qpe/config.h> | 22 | #include <qpe/config.h> |
23 | #include <qvaluelist.h> | ||
24 | #include <qobject.h> | ||
25 | #include <qdir.h> | 23 | #include <qdir.h> |
26 | #include <qpe/mediaplayerplugininterface.h> | 24 | #include <qpe/mediaplayerplugininterface.h> |
27 | #include "mediaplayerstate.h" | 25 | #include "mediaplayerstate.h" |
28 | 26 | ||
29 | 27 | ||
30 | 28 | ||
31 | #ifdef QT_NO_COMPONENT | 29 | #ifdef QT_NO_COMPONENT |
32 | // Plugins which are compiled in when no plugin architecture available | 30 | // Plugins which are compiled in when no plugin architecture available |
33 | #include "libmad/libmadpluginimpl.h" | 31 | #include "libmad/libmadpluginimpl.h" |
34 | #include "libmpeg3/libmpeg3pluginimpl.h" | 32 | #include "libmpeg3/libmpeg3pluginimpl.h" |
35 | #include "wavplugin/wavpluginimpl.h" | 33 | #include "wavplugin/wavpluginimpl.h" |
36 | #endif | 34 | #endif |
37 | 35 | ||
38 | 36 | ||
39 | //#define MediaPlayerDebug(x) qDebug x | 37 | //#define MediaPlayerDebug(x) qDebug x |
40 | #define MediaPlayerDebug(x) | 38 | #define MediaPlayerDebug(x) |
diff --git a/core/multimedia/opieplayer/modplug/load_j2b.cpp b/core/multimedia/opieplayer/modplug/load_j2b.cpp index 4f0b85c..8b4cccd 100644 --- a/core/multimedia/opieplayer/modplug/load_j2b.cpp +++ b/core/multimedia/opieplayer/modplug/load_j2b.cpp | |||
@@ -1,17 +1,16 @@ | |||
1 | /* | 1 | /* |
2 | * This program is free software; you can redistribute it and modify it | 2 | * This program is free software; you can redistribute it and modify it |
3 | * under the terms of the GNU General Public License as published by the | 3 | * under the terms of the GNU General Public License as published by the |
4 | * Free Software Foundation; either version 2 of the license or (at your | 4 | * Free Software Foundation; either version 2 of the license or (at your |
5 | * option) any later version. | 5 | * option) any later version. |
6 | * | 6 | * |
7 | * Authors: Olivier Lapicque <olivierl@jps.net> | 7 | * Authors: Olivier Lapicque <olivierl@jps.net> |
8 | */ | 8 | */ |
9 | 9 | ||
10 | 10 | ||
11 | /////////////////////////////////////////////////// | 11 | /////////////////////////////////////////////////// |
12 | // | 12 | // |
13 | // J2B module loader | 13 | // J2B module loader |
14 | // | 14 | // |
15 | /////////////////////////////////////////////////// | 15 | /////////////////////////////////////////////////// |
16 | #include "stdafx.h" | ||
17 | 16 | ||
diff --git a/core/multimedia/opieplayer/om3u.cpp b/core/multimedia/opieplayer/om3u.cpp index 778eb22..ae89518 100644 --- a/core/multimedia/opieplayer/om3u.cpp +++ b/core/multimedia/opieplayer/om3u.cpp | |||
@@ -16,48 +16,35 @@ | |||
16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
17 | : .. .:, . . . without even the implied warranty of | 17 | : .. .:, . . . without even the implied warranty of |
18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
20 | ..}^=.= = ; General Public License for more | 20 | ..}^=.= = ; General Public License for more |
21 | ++= -. .` .: details. | 21 | ++= -. .` .: details. |
22 | : = ...= . :.=- | 22 | : = ...= . :.=- |
23 | -. .:....=;==+<; You should have received a copy of the GNU | 23 | -. .:....=;==+<; You should have received a copy of the GNU |
24 | -_. . . )=. = General Public License along with | 24 | -_. . . )=. = General Public License along with |
25 | -- :-=` this library; see the file COPYING.LIB. | 25 | -- :-=` this library; see the file COPYING.LIB. |
26 | If not, write to the Free Software Foundation, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | 27 | Inc., 59 Temple Place - Suite 330, |
28 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
29 | 29 | ||
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include "playlistwidget.h" | ||
33 | #include "om3u.h" | 32 | #include "om3u.h" |
34 | 33 | ||
35 | #include <qpe/applnk.h> | 34 | |
36 | #include <qpe/qpeapplication.h> | ||
37 | #include <qpe/storage.h> | ||
38 | #include <qpe/mimetype.h> | ||
39 | #include <qpe/global.h> | ||
40 | #include <qpe/resource.h> | ||
41 | |||
42 | #include <qdir.h> | ||
43 | #include <qregexp.h> | ||
44 | #include <qstring.h> | ||
45 | #include <qtextstream.h> | ||
46 | #include <qstringlist.h> | ||
47 | #include <qcstring.h> | ||
48 | 35 | ||
49 | static inline QString fullBaseName ( const QFileInfo &fi ) | 36 | static inline QString fullBaseName ( const QFileInfo &fi ) |
50 | { | 37 | { |
51 | QString str = fi. fileName ( ); | 38 | QString str = fi. fileName ( ); |
52 | return str. left ( str. findRev ( '.' )); | 39 | return str. left ( str. findRev ( '.' )); |
53 | } | 40 | } |
54 | 41 | ||
55 | 42 | ||
56 | //extern PlayListWidget *playList; | 43 | //extern PlayListWidget *playList; |
57 | 44 | ||
58 | Om3u::Om3u( const QString &filePath, int mode) | 45 | Om3u::Om3u( const QString &filePath, int mode) |
59 | : QStringList (){ | 46 | : QStringList (){ |
60 | //qDebug("<<<<<<<new m3u "+filePath); | 47 | //qDebug("<<<<<<<new m3u "+filePath); |
61 | f.setName(filePath); | 48 | f.setName(filePath); |
62 | f.open(mode); | 49 | f.open(mode); |
63 | } | 50 | } |
diff --git a/core/multimedia/opieplayer/playlistselection.cpp b/core/multimedia/opieplayer/playlistselection.cpp index 94567f2..ad831cf 100644 --- a/core/multimedia/opieplayer/playlistselection.cpp +++ b/core/multimedia/opieplayer/playlistselection.cpp | |||
@@ -4,42 +4,34 @@ | |||
4 | ** This file is part of the Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qpe/applnk.h> | ||
21 | #include <qpe/resource.h> | ||
22 | #include <qpe/config.h> | ||
23 | 20 | ||
24 | #include <qpainter.h> | ||
25 | #include <qimage.h> | ||
26 | #include <qheader.h> | 21 | #include <qheader.h> |
27 | #include <qlistview.h> | ||
28 | #include <qlist.h> | ||
29 | #include <qpixmap.h> | ||
30 | 22 | ||
31 | #include "playlistselection.h" | 23 | #include "playlistselection.h" |
32 | 24 | ||
33 | #include <stdlib.h> | 25 | #include <stdlib.h> |
34 | 26 | ||
35 | class PlayListSelectionItem : public QListViewItem { | 27 | class PlayListSelectionItem : public QListViewItem { |
36 | public: | 28 | public: |
37 | PlayListSelectionItem( QListView *parent, const DocLnk *f ) : QListViewItem( parent ), fl( f ) { | 29 | PlayListSelectionItem( QListView *parent, const DocLnk *f ) : QListViewItem( parent ), fl( f ) { |
38 | setText( 0, f->name() ); | 30 | setText( 0, f->name() ); |
39 | setPixmap( 0, f->pixmap() ); | 31 | setPixmap( 0, f->pixmap() ); |
40 | } | 32 | } |
41 | 33 | ||
42 | ~PlayListSelectionItem() { | 34 | ~PlayListSelectionItem() { |
43 | }; | 35 | }; |
44 | 36 | ||
45 | const DocLnk *file() const { return fl; } | 37 | const DocLnk *file() const { return fl; } |
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index db99866..a359843 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp | |||
@@ -6,65 +6,40 @@ | |||
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | // code added by L. J. Potter Sat 03-02-2002 06:17:54 | 20 | // code added by L. J. Potter Sat 03-02-2002 06:17:54 |
21 | #define QTOPIA_INTERNAL_FSLP | 21 | #define QTOPIA_INTERNAL_FSLP |
22 | #include <qpe/qcopenvelope_qws.h> | ||
23 | 22 | ||
24 | #include <qmenubar.h> | ||
25 | #include <qtoolbar.h> | 23 | #include <qtoolbar.h> |
26 | #include <qpe/qpemenubar.h> | 24 | #include <qpe/qpemenubar.h> |
27 | #include <qpe/fileselector.h> | ||
28 | #include <qpe/qpeapplication.h> | ||
29 | #include <qpe/lnkproperties.h> | 25 | #include <qpe/lnkproperties.h> |
30 | #include <qpe/storage.h> | ||
31 | 26 | ||
32 | #include <qpe/applnk.h> | ||
33 | #include <qpe/config.h> | ||
34 | #include <qpe/global.h> | ||
35 | #include <qpe/resource.h> | ||
36 | #include <qaction.h> | 27 | #include <qaction.h> |
37 | #include <qcursor.h> | ||
38 | #include <qimage.h> | ||
39 | #include <qfile.h> | ||
40 | #include <qdir.h> | ||
41 | #include <qlayout.h> | 28 | #include <qlayout.h> |
42 | #include <qlabel.h> | ||
43 | #include <qlist.h> | ||
44 | #include <qlistbox.h> | ||
45 | #include <qmainwindow.h> | ||
46 | #include <qmessagebox.h> | 29 | #include <qmessagebox.h> |
47 | #include <qtoolbutton.h> | ||
48 | #include <qtabwidget.h> | ||
49 | #include <qlistview.h> | ||
50 | #include <qpoint.h> | ||
51 | #include <qlineedit.h> | ||
52 | #include <qpushbutton.h> | ||
53 | #include <qregexp.h> | ||
54 | #include <qtextstream.h> | ||
55 | 30 | ||
56 | //#include <qtimer.h> | 31 | //#include <qtimer.h> |
57 | 32 | ||
58 | #include "playlistselection.h" | 33 | #include "playlistselection.h" |
59 | #include "playlistwidget.h" | 34 | #include "playlistwidget.h" |
60 | #include "mediaplayerstate.h" | 35 | #include "mediaplayerstate.h" |
61 | 36 | ||
62 | #include "inputDialog.h" | 37 | #include "inputDialog.h" |
63 | 38 | ||
64 | #include <stdlib.h> | 39 | #include <stdlib.h> |
65 | #include "audiowidget.h" | 40 | #include "audiowidget.h" |
66 | #include "videowidget.h" | 41 | #include "videowidget.h" |
67 | 42 | ||
68 | #include <unistd.h> | 43 | #include <unistd.h> |
69 | #include <sys/file.h> | 44 | #include <sys/file.h> |
70 | #include <sys/ioctl.h> | 45 | #include <sys/ioctl.h> |
diff --git a/core/multimedia/opieplayer/videowidget.cpp b/core/multimedia/opieplayer/videowidget.cpp index 5273ad3..d002c42 100644 --- a/core/multimedia/opieplayer/videowidget.cpp +++ b/core/multimedia/opieplayer/videowidget.cpp | |||
@@ -10,37 +10,33 @@ | |||
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qpe/resource.h> | 20 | #include <qpe/resource.h> |
21 | #include <qpe/mediaplayerplugininterface.h> | 21 | #include <qpe/mediaplayerplugininterface.h> |
22 | #include <qpe/config.h> | 22 | #include <qpe/config.h> |
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | 24 | ||
25 | #include <qdir.h> | 25 | #include <qdir.h> |
26 | #include <qwidget.h> | ||
27 | #include <qpainter.h> | ||
28 | #include <qpixmap.h> | ||
29 | #include <qslider.h> | 26 | #include <qslider.h> |
30 | #include <qdrawutil.h> | ||
31 | #include "videowidget.h" | 27 | #include "videowidget.h" |
32 | #include "mediaplayerstate.h" | 28 | #include "mediaplayerstate.h" |
33 | 29 | ||
34 | 30 | ||
35 | #ifdef Q_WS_QWS | 31 | #ifdef Q_WS_QWS |
36 | # define USE_DIRECT_PAINTER | 32 | # define USE_DIRECT_PAINTER |
37 | # include <qdirectpainter_qws.h> | 33 | # include <qdirectpainter_qws.h> |
38 | # include <qgfxraster_qws.h> | 34 | # include <qgfxraster_qws.h> |
39 | #endif | 35 | #endif |
40 | 36 | ||
41 | 37 | ||
42 | extern MediaPlayerState *mediaPlayerState; | 38 | extern MediaPlayerState *mediaPlayerState; |
43 | 39 | ||
44 | 40 | ||
45 | static const int xo = 2; // movable x offset | 41 | static const int xo = 2; // movable x offset |
46 | static const int yo = 0; // movable y offset | 42 | static const int yo = 0; // movable y offset |
diff --git a/core/opie-login/loginwindowimpl.cpp b/core/opie-login/loginwindowimpl.cpp index 330fac5..3037ba3 100644 --- a/core/opie-login/loginwindowimpl.cpp +++ b/core/opie-login/loginwindowimpl.cpp | |||
@@ -12,44 +12,40 @@ | |||
12 | .i_,=:_. -<s. This file is distributed in the hope that | 12 | .i_,=:_. -<s. This file is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
17 | ..}^=.= = ; Public License for more details. | 17 | ..}^=.= = ; Public License for more details. |
18 | ++= -. .` .: | 18 | ++= -. .` .: |
19 | : = ...= . :.=- You should have received a copy of the GNU | 19 | : = ...= . :.=- You should have received a copy of the GNU |
20 | -. .:....=;==+<; General Public License along with this file; | 20 | -. .:....=;==+<; General Public License along with this file; |
21 | -_. . . )=. = see the file COPYING. If not, write to the | 21 | -_. . . )=. = see the file COPYING. If not, write to the |
22 | -- :-=` Free Software Foundation, Inc., | 22 | -- :-=` Free Software Foundation, Inc., |
23 | 59 Temple Place - Suite 330, | 23 | 59 Temple Place - Suite 330, |
24 | Boston, MA 02111-1307, USA. | 24 | Boston, MA 02111-1307, USA. |
25 | 25 | ||
26 | */ | 26 | */ |
27 | #include <qpe/version.h> | 27 | #include <qpe/version.h> |
28 | #include <qapplication.h> | ||
29 | #include <qpushbutton.h> | 28 | #include <qpushbutton.h> |
30 | #include <qlayout.h> | 29 | #include <qlayout.h> |
31 | #include <qframe.h> | ||
32 | #include <qlineedit.h> | 30 | #include <qlineedit.h> |
33 | #include <qtimer.h> | 31 | #include <qtimer.h> |
34 | #include <qcombobox.h> | 32 | #include <qcombobox.h> |
35 | #include <qpixmap.h> | ||
36 | #include <qlabel.h> | 33 | #include <qlabel.h> |
37 | #include <qpopupmenu.h> | 34 | #include <qpopupmenu.h> |
38 | #include <qmessagebox.h> | 35 | #include <qmessagebox.h> |
39 | #include <qimage.h> | ||
40 | #if QT_VERSION < 300 | 36 | #if QT_VERSION < 300 |
41 | #include <qgfx_qws.h> | 37 | #include <qgfx_qws.h> |
42 | #endif | 38 | #endif |
43 | #include <qwindowsystem_qws.h> | 39 | #include <qwindowsystem_qws.h> |
44 | 40 | ||
45 | #include <qpe/resource.h> | 41 | #include <qpe/resource.h> |
46 | #include <qpe/qcopenvelope_qws.h> | 42 | #include <qpe/qcopenvelope_qws.h> |
47 | #include <qpe/config.h> | 43 | #include <qpe/config.h> |
48 | 44 | ||
49 | #include <opie/odevice.h> | 45 | #include <opie/odevice.h> |
50 | 46 | ||
51 | #include <stdio.h> | 47 | #include <stdio.h> |
52 | #include <stdlib.h> | 48 | #include <stdlib.h> |
53 | 49 | ||
54 | #include "loginwindowimpl.h" | 50 | #include "loginwindowimpl.h" |
55 | #include "loginapplication.h" | 51 | #include "loginapplication.h" |
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp index 7d2ed63..bf98735 100644 --- a/core/opie-login/main.cpp +++ b/core/opie-login/main.cpp | |||
@@ -27,47 +27,43 @@ | |||
27 | 27 | ||
28 | #define _GNU_SOURCE | 28 | #define _GNU_SOURCE |
29 | 29 | ||
30 | #include <sys/types.h> | 30 | #include <sys/types.h> |
31 | #include <time.h> | 31 | #include <time.h> |
32 | #include <sys/time.h> | 32 | #include <sys/time.h> |
33 | #include <sys/resource.h> | 33 | #include <sys/resource.h> |
34 | #include <unistd.h> | 34 | #include <unistd.h> |
35 | #include <syslog.h> | 35 | #include <syslog.h> |
36 | #include <sys/wait.h> | 36 | #include <sys/wait.h> |
37 | #include <stdio.h> | 37 | #include <stdio.h> |
38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
39 | #include <signal.h> | 39 | #include <signal.h> |
40 | #include <getopt.h> | 40 | #include <getopt.h> |
41 | #include <string.h> | 41 | #include <string.h> |
42 | 42 | ||
43 | #include <qpe/qpeapplication.h> | ||
44 | #include <qpe/qcopenvelope_qws.h> | ||
45 | #include <qpe/qpestyle.h> | 43 | #include <qpe/qpestyle.h> |
46 | #include <qpe/power.h> | 44 | #include <qpe/power.h> |
47 | #include <qpe/config.h> | 45 | #include <qpe/config.h> |
48 | 46 | ||
49 | #include <opie/odevice.h> | 47 | #include <opie/odevice.h> |
50 | 48 | ||
51 | #include <qwindowsystem_qws.h> | 49 | #include <qwindowsystem_qws.h> |
52 | #include <qwsmouse_qws.h> | ||
53 | #include <qmessagebox.h> | 50 | #include <qmessagebox.h> |
54 | #include <qlabel.h> | 51 | #include <qlabel.h> |
55 | #include <qtimer.h> | 52 | #include <qtimer.h> |
56 | #include <qfile.h> | 53 | #include <qfile.h> |
57 | #include <qtextstream.h> | ||
58 | 54 | ||
59 | #include "loginapplication.h" | 55 | #include "loginapplication.h" |
60 | #include "loginwindowimpl.h" | 56 | #include "loginwindowimpl.h" |
61 | #include "calibrate.h" | 57 | #include "calibrate.h" |
62 | 58 | ||
63 | using namespace Opie; | 59 | using namespace Opie; |
64 | 60 | ||
65 | int login_main ( int argc, char **argv, pid_t ppid ); | 61 | int login_main ( int argc, char **argv, pid_t ppid ); |
66 | void sigterm ( int sig ); | 62 | void sigterm ( int sig ); |
67 | void sigint ( int sig ); | 63 | void sigint ( int sig ); |
68 | void exit_closelog ( ); | 64 | void exit_closelog ( ); |
69 | 65 | ||
70 | static struct option long_options [] = { | 66 | static struct option long_options [] = { |
71 | { "autologin", 1, 0, 'a' }, | 67 | { "autologin", 1, 0, 'a' }, |
72 | { 0, 0, 0, 0 } | 68 | { 0, 0, 0, 0 } |
73 | }; | 69 | }; |
diff --git a/core/opie-login/opie-login.pro b/core/opie-login/opie-login.pro index f9dbe2b..0fdd8e1 100644 --- a/core/opie-login/opie-login.pro +++ b/core/opie-login/opie-login.pro | |||
@@ -1,18 +1,18 @@ | |||
1 | TEMPLATE = app | 1 | TEMPLATE = app |
2 | CONFIG = qt warn_on debug usepam | 2 | CONFIG = qt warn_on debug |
3 | 3 | ||
4 | HEADERS = loginwindowimpl.h \ | 4 | HEADERS = loginwindowimpl.h \ |
5 | loginapplication.h \ | 5 | loginapplication.h \ |
6 | ../launcher/inputmethods.h \ | 6 | ../launcher/inputmethods.h \ |
7 | ../apps/calibrate/calibrate.h | 7 | ../apps/calibrate/calibrate.h |
8 | 8 | ||
9 | SOURCES = loginwindowimpl.cpp \ | 9 | SOURCES = loginwindowimpl.cpp \ |
10 | loginapplication.cpp \ | 10 | loginapplication.cpp \ |
11 | ../launcher/inputmethods.cpp \ | 11 | ../launcher/inputmethods.cpp \ |
12 | ../apps/calibrate/calibrate.cpp \ | 12 | ../apps/calibrate/calibrate.cpp \ |
13 | main.cpp | 13 | main.cpp |
14 | 14 | ||
15 | INTERFACES = loginwindow.ui | 15 | INTERFACES = loginwindow.ui |
16 | 16 | ||
17 | INCLUDEPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate | 17 | INCLUDEPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate |
18 | DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate | 18 | DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate |