author | chicken <chicken> | 2004-03-02 15:11:14 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-02 15:11:14 (UTC) |
commit | b48c5437e9631094d15ec7280a9d1cf212b3eb28 (patch) (unidiff) | |
tree | 4c0095e58acc98ba6e8ba40240c491d03b99be92 /noncore/multimedia/showimg | |
parent | 12dd57c04b42d4517061ed847b1aa041dd8af841 (diff) | |
download | opie-b48c5437e9631094d15ec7280a9d1cf212b3eb28.zip opie-b48c5437e9631094d15ec7280a9d1cf212b3eb28.tar.gz opie-b48c5437e9631094d15ec7280a9d1cf212b3eb28.tar.bz2 |
fix includes
-rw-r--r-- | noncore/multimedia/showimg/ImageFileSelector.cpp | 11 | ||||
-rw-r--r-- | noncore/multimedia/showimg/main.cpp | 1 | ||||
-rw-r--r-- | noncore/multimedia/showimg/settingsdialog.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/showimg/settingsdialogbase.cpp | 4 | ||||
-rw-r--r-- | noncore/multimedia/showimg/showimg.cpp | 13 |
5 files changed, 0 insertions, 31 deletions
diff --git a/noncore/multimedia/showimg/ImageFileSelector.cpp b/noncore/multimedia/showimg/ImageFileSelector.cpp index d2b65a9..79ee925 100644 --- a/noncore/multimedia/showimg/ImageFileSelector.cpp +++ b/noncore/multimedia/showimg/ImageFileSelector.cpp | |||
@@ -1,31 +1,20 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | #include "qpe/global.h" | ||
4 | #include "qpe/applnk.h" | ||
5 | #include "qpe/lnkproperties.h" | ||
6 | #include "qpe/applnk.h" | ||
7 | #include "qpe/qpeapplication.h" | 3 | #include "qpe/qpeapplication.h" |
8 | 4 | ||
9 | #include <stdlib.h> | 5 | #include <stdlib.h> |
10 | 6 | ||
11 | #include <qdir.h> | ||
12 | #include <qwidget.h> | ||
13 | #include <qheader.h> | ||
14 | #include <qimage.h> | ||
15 | #include <qpixmap.h> | ||
16 | #include <qlabel.h> | 7 | #include <qlabel.h> |
17 | #include <qfileinfo.h> | 8 | #include <qfileinfo.h> |
18 | #include <qpainter.h> | ||
19 | #include <qscrollview.h> | ||
20 | 9 | ||
21 | #include "ImageFileSelector.h" | 10 | #include "ImageFileSelector.h" |
22 | 11 | ||
23 | 12 | ||
24 | ThumbWidget::ThumbWidget(QPixmap p,QString text,const DocLnk& f,QWidget *parent,int w) | 13 | ThumbWidget::ThumbWidget(QPixmap p,QString text,const DocLnk& f,QWidget *parent,int w) |
25 | : QWidget( parent ),fl(f) | 14 | : QWidget( parent ),fl(f) |
26 | { | 15 | { |
27 | setBackgroundMode(NoBackground); | 16 | setBackgroundMode(NoBackground); |
28 | if ( w!=-1 ) | 17 | if ( w!=-1 ) |
29 | setMinimumSize(w,p.height()+24); | 18 | setMinimumSize(w,p.height()+24); |
30 | else | 19 | else |
31 | setMinimumSize(p.width(),p.height()+24); | 20 | setMinimumSize(p.width(),p.height()+24); |
diff --git a/noncore/multimedia/showimg/main.cpp b/noncore/multimedia/showimg/main.cpp index efb1c68..1c864e9 100644 --- a/noncore/multimedia/showimg/main.cpp +++ b/noncore/multimedia/showimg/main.cpp | |||
@@ -11,17 +11,16 @@ | |||
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 "showimg.h" | 21 | #include "showimg.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | 23 | ||
25 | #include <opie/oapplicationfactory.h> | 24 | #include <opie/oapplicationfactory.h> |
26 | 25 | ||
27 | OPIE_EXPORT_APP( OApplicationFactory<ImageViewer> ) \ No newline at end of file | 26 | OPIE_EXPORT_APP( OApplicationFactory<ImageViewer> ) \ No newline at end of file |
diff --git a/noncore/multimedia/showimg/settingsdialog.cpp b/noncore/multimedia/showimg/settingsdialog.cpp index 55d555a..202bd0c 100644 --- a/noncore/multimedia/showimg/settingsdialog.cpp +++ b/noncore/multimedia/showimg/settingsdialog.cpp | |||
@@ -13,26 +13,24 @@ | |||
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 "settingsdialog.h" | 21 | #include "settingsdialog.h" |
22 | #include <qslider.h> | 22 | #include <qslider.h> |
23 | #include <qlabel.h> | 23 | #include <qlabel.h> |
24 | #include <qcheckbox.h> | 24 | #include <qcheckbox.h> |
25 | #include <qradiobutton.h> | ||
26 | #include <qbuttongroup.h> | ||
27 | 25 | ||
28 | SettingsDialog::SettingsDialog( QWidget *parent, const char *name, bool modal, WFlags f ) | 26 | SettingsDialog::SettingsDialog( QWidget *parent, const char *name, bool modal, WFlags f ) |
29 | : SettingsDialogBase( parent, name, modal, f ) | 27 | : SettingsDialogBase( parent, name, modal, f ) |
30 | { | 28 | { |
31 | connect( delaySlider, SIGNAL(valueChanged(int)), this, SLOT(delayChanged(int)) ); | 29 | connect( delaySlider, SIGNAL(valueChanged(int)), this, SLOT(delayChanged(int)) ); |
32 | } | 30 | } |
33 | 31 | ||
34 | void SettingsDialog::setDelay( int d ) | 32 | void SettingsDialog::setDelay( int d ) |
35 | { | 33 | { |
36 | delaySlider->setValue( d ); | 34 | delaySlider->setValue( d ); |
37 | delayChanged( d ); | 35 | delayChanged( d ); |
38 | } | 36 | } |
diff --git a/noncore/multimedia/showimg/settingsdialogbase.cpp b/noncore/multimedia/showimg/settingsdialogbase.cpp index e0c5bb0..7a64e89 100644 --- a/noncore/multimedia/showimg/settingsdialogbase.cpp +++ b/noncore/multimedia/showimg/settingsdialogbase.cpp | |||
@@ -2,30 +2,26 @@ | |||
2 | ** Form implementation generated from reading ui file 'settingsdialogbase.ui' | 2 | ** Form implementation generated from reading ui file 'settingsdialogbase.ui' |
3 | ** | 3 | ** |
4 | ** Created: Sun Nov 3 07:29:03 2002 | 4 | ** Created: Sun Nov 3 07:29:03 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #include "settingsdialogbase.h" | 9 | #include "settingsdialogbase.h" |
10 | 10 | ||
11 | #include <qcheckbox.h> | 11 | #include <qcheckbox.h> |
12 | #include <qgroupbox.h> | 12 | #include <qgroupbox.h> |
13 | #include <qlabel.h> | 13 | #include <qlabel.h> |
14 | #include <qpushbutton.h> | ||
15 | #include <qslider.h> | 14 | #include <qslider.h> |
16 | #include <qlayout.h> | 15 | #include <qlayout.h> |
17 | #include <qvariant.h> | ||
18 | #include <qtooltip.h> | ||
19 | #include <qwhatsthis.h> | ||
20 | 16 | ||
21 | /* | 17 | /* |
22 | * Constructs a SettingsDialogBase which is a child of 'parent', with the | 18 | * Constructs a SettingsDialogBase which is a child of 'parent', with the |
23 | * name 'name' and widget flags set to 'f' | 19 | * name 'name' and widget flags set to 'f' |
24 | * | 20 | * |
25 | * The dialog will by default be modeless, unless you set 'modal' to | 21 | * The dialog will by default be modeless, unless you set 'modal' to |
26 | * TRUE to construct a modal dialog. | 22 | * TRUE to construct a modal dialog. |
27 | */ | 23 | */ |
28 | SettingsDialogBase::SettingsDialogBase( QWidget* parent, const char* name, bool modal, WFlags fl ) | 24 | SettingsDialogBase::SettingsDialogBase( QWidget* parent, const char* name, bool modal, WFlags fl ) |
29 | : QDialog( parent, name, modal, fl ) | 25 | : QDialog( parent, name, modal, fl ) |
30 | { | 26 | { |
31 | if ( !name ) | 27 | if ( !name ) |
diff --git a/noncore/multimedia/showimg/showimg.cpp b/noncore/multimedia/showimg/showimg.cpp index 02a1d91..82eac33 100644 --- a/noncore/multimedia/showimg/showimg.cpp +++ b/noncore/multimedia/showimg/showimg.cpp | |||
@@ -23,42 +23,29 @@ | |||
23 | // | 23 | // |
24 | 24 | ||
25 | #include "showimg.h" | 25 | #include "showimg.h" |
26 | #include "ImageFileSelector.h" | 26 | #include "ImageFileSelector.h" |
27 | #include "settingsdialog.h" | 27 | #include "settingsdialog.h" |
28 | 28 | ||
29 | 29 | ||
30 | #include <opie/ofiledialog.h> | 30 | #include <opie/ofiledialog.h> |
31 | 31 | ||
32 | #include <qpe/qpeapplication.h> | 32 | #include <qpe/qpeapplication.h> |
33 | #include <qpe/config.h> | 33 | #include <qpe/config.h> |
34 | #include <qpe/resource.h> | 34 | #include <qpe/resource.h> |
35 | #include <qpe/fileselector.h> | ||
36 | #include <qpe/applnk.h> | ||
37 | #include <qfileinfo.h> | ||
38 | #include <math.h> | 35 | #include <math.h> |
39 | #include <qmenubar.h> | 36 | #include <qmenubar.h> |
40 | #include <qwidgetstack.h> | ||
41 | #include <qpe/qpetoolbar.h> | 37 | #include <qpe/qpetoolbar.h> |
42 | #include <qaction.h> | 38 | #include <qaction.h> |
43 | #include <qfiledialog.h> | 39 | #include <qfiledialog.h> |
44 | #include <qmessagebox.h> | ||
45 | #include <qpopupmenu.h> | ||
46 | #include <qscrollview.h> | ||
47 | #include <qlabel.h> | ||
48 | #include <qpainter.h> | ||
49 | #include <qkeycode.h> | ||
50 | #include <qapplication.h> | ||
51 | #include <qclipboard.h> | ||
52 | #include <qtimer.h> | ||
53 | #include <qspinbox.h> | 40 | #include <qspinbox.h> |
54 | 41 | ||
55 | 42 | ||
56 | 43 | ||
57 | ControlsDialog::ControlsDialog(const QString &caption,QImage image,int *brightness,QWidget *parent) | 44 | ControlsDialog::ControlsDialog(const QString &caption,QImage image,int *brightness,QWidget *parent) |
58 | : QDialog(parent,0,true) | 45 | : QDialog(parent,0,true) |
59 | { | 46 | { |
60 | setCaption(caption); | 47 | setCaption(caption); |
61 | 48 | ||
62 | if ( parent ) { | 49 | if ( parent ) { |
63 | setPalette(parent->palette()); | 50 | setPalette(parent->palette()); |
64 | } | 51 | } |