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/ntptabwidget.cpp | |
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/ntptabwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntptabwidget.cpp | 55 |
1 files changed, 30 insertions, 25 deletions
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,34 +1,38 @@ | |||
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> |
@@ -75,8 +79,9 @@ NTPTabWidget::NTPTabWidget( QWidget *parent ) | |||
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 | } |