author | harlekin <harlekin> | 2003-12-10 22:10:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-10 22:10:54 (UTC) |
commit | dffe105588cace5d96792155cee3a32a70a05017 (patch) (unidiff) | |
tree | cf935726a73caba96e22bb0eb180da147c94c829 | |
parent | 7c21195c1dde6cc91c41e5b15ef5acce568a2f54 (diff) | |
download | opie-dffe105588cace5d96792155cee3a32a70a05017.zip opie-dffe105588cace5d96792155cee3a32a70a05017.tar.gz opie-dffe105588cace5d96792155cee3a32a70a05017.tar.bz2 |
less includes
-rw-r--r-- | core/settings/light-and-power/calibration.cpp | 1 | ||||
-rw-r--r-- | core/settings/light-and-power/light.cpp | 2 | ||||
-rw-r--r-- | core/settings/light-and-power/main.cpp | 3 | ||||
-rw-r--r-- | core/settings/light-and-power/sensor.cpp | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/core/settings/light-and-power/calibration.cpp b/core/settings/light-and-power/calibration.cpp index c5377d0..504520e 100644 --- a/core/settings/light-and-power/calibration.cpp +++ b/core/settings/light-and-power/calibration.cpp | |||
@@ -15,33 +15,32 @@ | |||
15 | : .. .:, . . . without even the implied warranty of | 15 | : .. .:, . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
18 | ..}^=.= = ; Public License for more details. | 18 | ..}^=.= = ; Public License for more details. |
19 | ++= -. .` .: | 19 | ++= -. .` .: |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | : = ...= . :.=- You should have received a copy of the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | #include "calibration.h" | 28 | #include "calibration.h" |
29 | 29 | ||
30 | #include <qpainter.h> | 30 | #include <qpainter.h> |
31 | #include <qpalette.h> | ||
32 | #include <qpixmap.h> | 31 | #include <qpixmap.h> |
33 | 32 | ||
34 | #define BRD 3 | 33 | #define BRD 3 |
35 | 34 | ||
36 | Calibration::Calibration ( QWidget *parent, const char *name, WFlags fl ) | 35 | Calibration::Calibration ( QWidget *parent, const char *name, WFlags fl ) |
37 | : QWidget ( parent, name, fl | WRepaintNoErase ) | 36 | : QWidget ( parent, name, fl | WRepaintNoErase ) |
38 | { | 37 | { |
39 | setBackgroundMode ( NoBackground ); | 38 | setBackgroundMode ( NoBackground ); |
40 | 39 | ||
41 | m_scale = QSize ( 256, 256 ); | 40 | m_scale = QSize ( 256, 256 ); |
42 | m_steps = 5; | 41 | m_steps = 5; |
43 | m_dragged = -1; | 42 | m_dragged = -1; |
44 | m_interval = 5; | 43 | m_interval = 5; |
45 | 44 | ||
46 | m_p [0] = QPoint ( 0, 0 ); | 45 | m_p [0] = QPoint ( 0, 0 ); |
47 | m_p [1] = QPoint ( 255, 255 ); | 46 | m_p [1] = QPoint ( 255, 255 ); |
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index eda0c1f..6115178 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp | |||
@@ -16,42 +16,40 @@ | |||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
18 | ..}^=.= = ; Public License for more details. | 18 | ..}^=.= = ; Public License for more details. |
19 | ++= -. .` .: | 19 | ++= -. .` .: |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | : = ...= . :.=- You should have received a copy of the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "light.h" | 29 | #include "light.h" |
30 | 30 | ||
31 | #include <qpe/config.h> | 31 | #include <qpe/config.h> |
32 | #include <qpe/qpeapplication.h> | ||
33 | #include <qpe/power.h> | 32 | #include <qpe/power.h> |
34 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 33 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) |
35 | #include <qpe/qcopenvelope_qws.h> | 34 | #include <qpe/qcopenvelope_qws.h> |
36 | #endif | 35 | #endif |
37 | 36 | ||
38 | #include <qcheckbox.h> | 37 | #include <qcheckbox.h> |
39 | #include <qtabwidget.h> | 38 | #include <qtabwidget.h> |
40 | #include <qslider.h> | 39 | #include <qslider.h> |
41 | #include <qtimer.h> | ||
42 | #include <qspinbox.h> | 40 | #include <qspinbox.h> |
43 | #include <qpushbutton.h> | 41 | #include <qpushbutton.h> |
44 | #include <qgroupbox.h> | 42 | #include <qgroupbox.h> |
45 | #include <qcombobox.h> | 43 | #include <qcombobox.h> |
46 | 44 | ||
47 | #include <opie/odevice.h> | 45 | #include <opie/odevice.h> |
48 | 46 | ||
49 | #include "sensor.h" | 47 | #include "sensor.h" |
50 | 48 | ||
51 | using namespace Opie; | 49 | using namespace Opie; |
52 | 50 | ||
53 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | 51 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) |
54 | : LightSettingsBase( parent, name, false, WStyle_ContextHelp ) | 52 | : LightSettingsBase( parent, name, false, WStyle_ContextHelp ) |
55 | { | 53 | { |
56 | m_bres = ODevice::inst ( )-> displayBrightnessResolution ( ); | 54 | m_bres = ODevice::inst ( )-> displayBrightnessResolution ( ); |
57 | m_cres = ODevice::inst ( )-> displayContrastResolution ( ); | 55 | m_cres = ODevice::inst ( )-> displayContrastResolution ( ); |
diff --git a/core/settings/light-and-power/main.cpp b/core/settings/light-and-power/main.cpp index 68d433b..cb43ce0 100644 --- a/core/settings/light-and-power/main.cpp +++ b/core/settings/light-and-power/main.cpp | |||
@@ -7,23 +7,20 @@ | |||
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 "light.h" | 21 | #include "light.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | #include <qpe/qcopenvelope_qws.h> | ||
25 | #include <qpe/global.h> | ||
26 | #include <opie/oapplicationfactory.h> | 23 | #include <opie/oapplicationfactory.h> |
27 | 24 | ||
28 | 25 | ||
29 | OPIE_EXPORT_APP( OApplicationFactory<LightSettings> ) | 26 | OPIE_EXPORT_APP( OApplicationFactory<LightSettings> ) |
diff --git a/core/settings/light-and-power/sensor.cpp b/core/settings/light-and-power/sensor.cpp index 5ca54d4..41de851 100644 --- a/core/settings/light-and-power/sensor.cpp +++ b/core/settings/light-and-power/sensor.cpp | |||
@@ -12,33 +12,32 @@ | |||
12 | .%`+i> _;_. | 12 | .%`+i> _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 13 | .i_,=:_. -<s. This file is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 15 | : .. .:, . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
18 | ..}^=.= = ; Public License for more details. | 18 | ..}^=.= = ; Public License for more details. |
19 | ++= -. .` .: | 19 | ++= -. .` .: |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | : = ...= . :.=- You should have received a copy of the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | #include <qframe.h> | ||
29 | #include <qlayout.h> | 28 | #include <qlayout.h> |
30 | #include <qslider.h> | 29 | #include <qslider.h> |
31 | #include <qspinbox.h> | 30 | #include <qspinbox.h> |
32 | 31 | ||
33 | #include <opie/odevice.h> | 32 | #include <opie/odevice.h> |
34 | 33 | ||
35 | using namespace Opie; | 34 | using namespace Opie; |
36 | 35 | ||
37 | #include "calibration.h" | 36 | #include "calibration.h" |
38 | #include "sensor.h" | 37 | #include "sensor.h" |
39 | 38 | ||
40 | Sensor::Sensor ( QStringList ¶ms, QWidget *parent, const char *name ) | 39 | Sensor::Sensor ( QStringList ¶ms, QWidget *parent, const char *name ) |
41 | : SensorBase ( parent, name, true, WStyle_ContextHelp ), m_params ( params ) | 40 | : SensorBase ( parent, name, true, WStyle_ContextHelp ), m_params ( params ) |
42 | { | 41 | { |
43 | int steps = 12; | 42 | int steps = 12; |
44 | int inter = 2; | 43 | int inter = 2; |