author | drw <drw> | 2005-06-15 18:52:47 (UTC) |
---|---|---|
committer | drw <drw> | 2005-06-15 18:52:47 (UTC) |
commit | c93c8f75bb082c0257ce80f9e8a1eb470bdce397 (patch) (unidiff) | |
tree | 2a83c0cbe4398daf0a141a62b80bd1b926353ce2 /noncore/settings/netsystemtime | |
parent | 1c8aab0c489b9d469646a0e0ab08f500f1bbb507 (diff) | |
download | opie-c93c8f75bb082c0257ce80f9e8a1eb470bdce397.zip opie-c93c8f75bb082c0257ce80f9e8a1eb470bdce397.tar.gz opie-c93c8f75bb082c0257ce80f9e8a1eb470bdce397.tar.bz2 |
Resource -> OResource and fix doc headers
Diffstat (limited to 'noncore/settings/netsystemtime') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/formattabwidget.cpp | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/formattabwidget.h | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/main.cpp | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.cpp | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.h | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntptabwidget.cpp | 55 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntptabwidget.h | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/predicttabwidget.cpp | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/predicttabwidget.h | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/settingstabwidget.cpp | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/settingstabwidget.h | 48 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/timetabwidget.cpp | 60 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/timetabwidget.h | 48 |
13 files changed, 338 insertions, 305 deletions
diff --git a/noncore/settings/netsystemtime/formattabwidget.cpp b/noncore/settings/netsystemtime/formattabwidget.cpp index 982305b..7d01bff 100644 --- a/noncore/settings/netsystemtime/formattabwidget.cpp +++ b/noncore/settings/netsystemtime/formattabwidget.cpp | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #include "formattabwidget.h" | 31 | #include "formattabwidget.h" |
30 | 32 | ||
31 | #include <qpe/config.h> | 33 | #include <qpe/config.h> |
32 | 34 | ||
diff --git a/noncore/settings/netsystemtime/formattabwidget.h b/noncore/settings/netsystemtime/formattabwidget.h index e4073e7..171cd5f 100644 --- a/noncore/settings/netsystemtime/formattabwidget.h +++ b/noncore/settings/netsystemtime/formattabwidget.h | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #ifndef FORMATTABWIDGET_H | 31 | #ifndef FORMATTABWIDGET_H |
30 | #define FORMATTABWIDGET_H | 32 | #define FORMATTABWIDGET_H |
31 | 33 | ||
32 | #include <qpe/timestring.h> | 34 | #include <qpe/timestring.h> |
diff --git a/noncore/settings/netsystemtime/main.cpp b/noncore/settings/netsystemtime/main.cpp index dbcdc17..ef1bc8e 100644 --- a/noncore/settings/netsystemtime/main.cpp +++ b/noncore/settings/netsystemtime/main.cpp | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #include "mainwindow.h" | 31 | #include "mainwindow.h" |
30 | 32 | ||
31 | #include <opie2/oapplicationfactory.h> | 33 | #include <opie2/oapplicationfactory.h> |
32 | 34 | ||
diff --git a/noncore/settings/netsystemtime/mainwindow.cpp b/noncore/settings/netsystemtime/mainwindow.cpp index 1f9f8c3..35d4105 100644 --- a/noncore/settings/netsystemtime/mainwindow.cpp +++ b/noncore/settings/netsystemtime/mainwindow.cpp | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #include "mainwindow.h" | 31 | #include "mainwindow.h" |
30 | #include "timetabwidget.h" | 32 | #include "timetabwidget.h" |
31 | #include "formattabwidget.h" | 33 | #include "formattabwidget.h" |
32 | #include "settingstabwidget.h" | 34 | #include "settingstabwidget.h" |
diff --git a/noncore/settings/netsystemtime/mainwindow.h b/noncore/settings/netsystemtime/mainwindow.h index 8701803..0ef24e0 100644 --- a/noncore/settings/netsystemtime/mainwindow.h +++ b/noncore/settings/netsystemtime/mainwindow.h | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #ifndef MAINWINDOW_H | 31 | #ifndef MAINWINDOW_H |
30 | #define MAINWINDOW_H | 32 | #define MAINWINDOW_H |
31 | 33 | ||
32 | #include <qdialog.h> | 34 | #include <qdialog.h> |
diff --git a/noncore/settings/netsystemtime/ntptabwidget.cpp b/noncore/settings/netsystemtime/ntptabwidget.cpp index 616bc22..16d21cc 100644 --- a/noncore/settings/netsystemtime/ntptabwidget.cpp +++ b/noncore/settings/netsystemtime/ntptabwidget.cpp | |||
@@ -1,37 +1,41 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #include "ntptabwidget.h" | 31 | #include "ntptabwidget.h" |
30 | 32 | ||
31 | #include <qpe/resource.h> | 33 | #include <opie2/oresource.h> |
34 | |||
35 | #include <qpe/applnk.h> | ||
32 | 36 | ||
33 | #include <qlabel.h> | 37 | #include <qlabel.h> |
34 | #include <qlayout.h> | 38 | #include <qlayout.h> |
35 | #include <qmultilineedit.h> | 39 | #include <qmultilineedit.h> |
36 | #include <qpushbutton.h> | 40 | #include <qpushbutton.h> |
37 | #include <qscrollview.h> | 41 | #include <qscrollview.h> |
@@ -72,14 +76,15 @@ NTPTabWidget::NTPTabWidget( QWidget *parent ) | |||
72 | font.setPointSize( 7 ); | 76 | font.setPointSize( 7 ); |
73 | mleNtpOutput->setFont( font ); | 77 | mleNtpOutput->setFont( font ); |
74 | mleNtpOutput->setWordWrap( QMultiLineEdit::WidgetWidth ); | 78 | mleNtpOutput->setWordWrap( QMultiLineEdit::WidgetWidth ); |
75 | layout->addMultiCellWidget( mleNtpOutput, 3, 3, 0, 1 ); | 79 | layout->addMultiCellWidget( mleNtpOutput, 3, 3, 0, 1 ); |
76 | 80 | ||
77 | // Set NTP time button | 81 | // Set NTP time button |
78 | m_ntpBtn = new QPushButton( Resource::loadPixmap( "netsystemtime/ntptab" ), | 82 | m_ntpBtn = new QPushButton( Opie::Core::OResource::loadPixmap( "netsystemtime/ntptab", Opie::Core::OResource::SmallIcon ), |
79 | tr( "Get time from the network" ), container ); | 83 | tr( "Get time from the network" ), container ); |
84 | m_ntpBtn->setMinimumHeight( AppLnk::smallIconSize()+4 ); | ||
80 | connect( m_ntpBtn, SIGNAL(clicked()), this, SIGNAL(getNTPTime()) ); | 85 | connect( m_ntpBtn, SIGNAL(clicked()), this, SIGNAL(getNTPTime()) ); |
81 | layout->addMultiCellWidget( m_ntpBtn, 4, 4, 0, 1 ); | 86 | layout->addMultiCellWidget( m_ntpBtn, 4, 4, 0, 1 ); |
82 | } | 87 | } |
83 | 88 | ||
84 | NTPTabWidget::~NTPTabWidget() | 89 | NTPTabWidget::~NTPTabWidget() |
85 | { | 90 | { |
diff --git a/noncore/settings/netsystemtime/ntptabwidget.h b/noncore/settings/netsystemtime/ntptabwidget.h index f05482e..a7dd02e 100644 --- a/noncore/settings/netsystemtime/ntptabwidget.h +++ b/noncore/settings/netsystemtime/ntptabwidget.h | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #ifndef NTPTABWIDGET_H | 31 | #ifndef NTPTABWIDGET_H |
30 | #define NTPTABWIDGET_H | 32 | #define NTPTABWIDGET_H |
31 | 33 | ||
32 | #include <qwidget.h> | 34 | #include <qwidget.h> |
diff --git a/noncore/settings/netsystemtime/predicttabwidget.cpp b/noncore/settings/netsystemtime/predicttabwidget.cpp index c706add..98e0afd 100644 --- a/noncore/settings/netsystemtime/predicttabwidget.cpp +++ b/noncore/settings/netsystemtime/predicttabwidget.cpp | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #include "predicttabwidget.h" | 31 | #include "predicttabwidget.h" |
30 | 32 | ||
31 | #include <qpe/config.h> | 33 | #include <qpe/config.h> |
32 | #include <qpe/timeconversion.h> | 34 | #include <qpe/timeconversion.h> |
diff --git a/noncore/settings/netsystemtime/predicttabwidget.h b/noncore/settings/netsystemtime/predicttabwidget.h index da1d8ed..a0f1073 100644 --- a/noncore/settings/netsystemtime/predicttabwidget.h +++ b/noncore/settings/netsystemtime/predicttabwidget.h | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #ifndef PREDICTTABWIDGET_H | 31 | #ifndef PREDICTTABWIDGET_H |
30 | #define PREDICTTABWIDGET_H | 32 | #define PREDICTTABWIDGET_H |
31 | 33 | ||
32 | #include <qdatetime.h> | 34 | #include <qdatetime.h> |
diff --git a/noncore/settings/netsystemtime/settingstabwidget.cpp b/noncore/settings/netsystemtime/settingstabwidget.cpp index 9315d2e..3bb0ec3 100644 --- a/noncore/settings/netsystemtime/settingstabwidget.cpp +++ b/noncore/settings/netsystemtime/settingstabwidget.cpp | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #include "settingstabwidget.h" | 31 | #include "settingstabwidget.h" |
30 | 32 | ||
31 | #include <qpe/config.h> | 33 | #include <qpe/config.h> |
32 | #include <qpe/qpeapplication.h> | 34 | #include <qpe/qpeapplication.h> |
diff --git a/noncore/settings/netsystemtime/settingstabwidget.h b/noncore/settings/netsystemtime/settingstabwidget.h index 2901bb3..9578245 100644 --- a/noncore/settings/netsystemtime/settingstabwidget.h +++ b/noncore/settings/netsystemtime/settingstabwidget.h | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #ifndef SETTINGSTABWIDGET_H | 31 | #ifndef SETTINGSTABWIDGET_H |
30 | #define SETTINGSTABWIDGET_H | 32 | #define SETTINGSTABWIDGET_H |
31 | 33 | ||
32 | #include <qwidget.h> | 34 | #include <qwidget.h> |
diff --git a/noncore/settings/netsystemtime/timetabwidget.cpp b/noncore/settings/netsystemtime/timetabwidget.cpp index 905461f..bcfbdf7 100644 --- a/noncore/settings/netsystemtime/timetabwidget.cpp +++ b/noncore/settings/netsystemtime/timetabwidget.cpp | |||
@@ -1,40 +1,44 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #include "timetabwidget.h" | 31 | #include "timetabwidget.h" |
30 | 32 | ||
33 | #include <opie2/oresource.h> | ||
34 | |||
35 | #include <qpe/applnk.h> | ||
31 | #include <qpe/config.h> | 36 | #include <qpe/config.h> |
32 | #include <qpe/datebookmonth.h> | 37 | #include <qpe/datebookmonth.h> |
33 | #include <qpe/global.h> | 38 | #include <qpe/global.h> |
34 | #include <qpe/resource.h> | ||
35 | #include <qpe/tzselect.h> | 39 | #include <qpe/tzselect.h> |
36 | 40 | ||
37 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) | 41 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) |
38 | #include <qpe/qcopenvelope_qws.h> | 42 | #include <qpe/qcopenvelope_qws.h> |
39 | #endif | 43 | #endif |
40 | 44 | ||
@@ -106,20 +110,22 @@ TimeTabWidget::TimeTabWidget( QWidget *parent ) | |||
106 | layout->addMultiCellWidget( selTimeZone, 6, 6, 2, 5 ); | 110 | layout->addMultiCellWidget( selTimeZone, 6, 6, 2, 5 ); |
107 | 111 | ||
108 | // Space filler | 112 | // Space filler |
109 | layout->addItem( new QSpacerItem( 1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding ), 7, 0 ); | 113 | layout->addItem( new QSpacerItem( 1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding ), 7, 0 ); |
110 | 114 | ||
111 | // Set NTP time button | 115 | // Set NTP time button |
112 | m_ntpBtn = new QPushButton( Resource::loadPixmap( "netsystemtime/ntptab" ), | 116 | m_ntpBtn = new QPushButton( Opie::Core::OResource::loadPixmap( "netsystemtime/ntptab", Opie::Core::OResource::SmallIcon ), |
113 | tr( "Get time from the network" ), container ); | 117 | tr( "Get time from the network" ), container ); |
118 | m_ntpBtn->setMinimumHeight( AppLnk::smallIconSize()+4 ); | ||
114 | connect( m_ntpBtn, SIGNAL(clicked()), this, SIGNAL(getNTPTime()) ); | 119 | connect( m_ntpBtn, SIGNAL(clicked()), this, SIGNAL(getNTPTime()) ); |
115 | layout->addMultiCellWidget( m_ntpBtn, 8, 8, 0, 5 ); | 120 | layout->addMultiCellWidget( m_ntpBtn, 8, 8, 0, 5 ); |
116 | 121 | ||
117 | // Set predicted time button | 122 | // Set predicted time button |
118 | QPushButton *pb = new QPushButton( Resource::loadPixmap( "netsystemtime/predicttab" ), tr( "Set predicted time" ), | 123 | QPushButton *pb = new QPushButton( Opie::Core::OResource::loadPixmap( "netsystemtime/predicttab", Opie::Core::OResource::SmallIcon ), |
119 | container ); | 124 | tr( "Set predicted time" ), container ); |
125 | pb->setMinimumHeight( AppLnk::smallIconSize()+4 ); | ||
120 | connect( pb, SIGNAL(clicked()), this, SIGNAL(getPredictedTime()) ); | 126 | connect( pb, SIGNAL(clicked()), this, SIGNAL(getPredictedTime()) ); |
121 | layout->addMultiCellWidget( pb, 9, 9, 0, 5 ); | 127 | layout->addMultiCellWidget( pb, 9, 9, 0, 5 ); |
122 | 128 | ||
123 | // Space filler at bottom of widget | 129 | // Space filler at bottom of widget |
124 | layout->addItem( new QSpacerItem( 1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding ), 10, 0 ); | 130 | layout->addItem( new QSpacerItem( 1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding ), 10, 0 ); |
125 | 131 | ||
diff --git a/noncore/settings/netsystemtime/timetabwidget.h b/noncore/settings/netsystemtime/timetabwidget.h index 949535d..4674c5c8 100644 --- a/noncore/settings/netsystemtime/timetabwidget.h +++ b/noncore/settings/netsystemtime/timetabwidget.h | |||
@@ -1,32 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | |||
4 | Copyright (C) Opie Team <opie-devel@handhelds.org> | ||
3 | =. | 5 | =. |
4 | .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> | 6 | .=l. |
5 | .>+-= | 7 | Â Â Â Â Â Â .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
12 | .%`+i> _;_. | 14 | Â Â .%`+i> Â Â Â _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 17 | : .. Â Â .:, Â Â . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Public License for more details. | 20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more |
19 | ++= -. .` .: | 21 | ++= Â -. Â Â .` Â Â .: details. |
20 | : = ...= . :.=- You should have received a copy of the GNU | 22 | : Â Â = Â ...= . :.=- |
21 | -. .:....=;==+<; General Public License along with this file; | 23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 24 | Â -_. . . Â )=. Â = Library General Public License along with |
23 | -- :-=` Free Software Foundation, Inc., | 25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. |
24 | 59 Temple Place - Suite 330, | 26 | If not, write to the Free Software Foundation, |
27 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | 28 | Boston, MA 02111-1307, USA. |
26 | |||
27 | */ | 29 | */ |
28 | 30 | ||
29 | #ifndef TIMETABWIDGET_H | 31 | #ifndef TIMETABWIDGET_H |
30 | #define TIMETABWIDGET_H | 32 | #define TIMETABWIDGET_H |
31 | 33 | ||
32 | #include <qwidget.h> | 34 | #include <qwidget.h> |