author | llornkcor <llornkcor> | 2004-04-20 21:43:43 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-20 21:43:43 (UTC) |
commit | 4348554f74290f477af9a338cdabf363883c9472 (patch) (unidiff) | |
tree | 19f6dea2670ef6205ed3553d3c3b6584feec3f03 | |
parent | 78b24a190d51a21cceded6d7869e256441aa6262 (diff) | |
download | opie-4348554f74290f477af9a338cdabf363883c9472.zip opie-4348554f74290f477af9a338cdabf363883c9472.tar.gz opie-4348554f74290f477af9a338cdabf363883c9472.tar.bz2 |
correct copyright and license
-rw-r--r-- | libopie/oticker.cpp | 8 | ||||
-rw-r--r-- | libopie/oticker.h | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/libopie/oticker.cpp b/libopie/oticker.cpp index c05c2a8..b41cab6 100644 --- a/libopie/oticker.cpp +++ b/libopie/oticker.cpp | |||
@@ -1,48 +1,50 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> | 3 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> |
4 | Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | ||
5 | |||
4 | =. | 6 | =. |
5 | .=l. | 7 | .=l. |
6 | .>+-= | 8 | .>+-= |
7 | _;:, .> :=|. This program is free software; you can | 9 | _;:, .> :=|. This program is free software; you can |
8 | .> <`_, > . <= redistribute it and/or modify it under | 10 | .> <`_, > . <= redistribute it and/or modify it under |
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 11 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
10 | .="- .-=="i, .._ License as published by the Free Software | 12 | .="- .-=="i, .._ License as published by the Free Software |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 13 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | ._= =} : or (at your option) any later version. | 14 | ._= =} : or (at your option) any later version. |
13 | .%`+i> _;_. | 15 | .%`+i> _;_. |
14 | .i_,=:_. -<s. This program is distributed in the hope that | 16 | .i_,=:_. -<s. This program is distributed in the hope that |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 17 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | : .. .:, . . . without even the implied warranty of | 18 | : .. .:, . . . without even the implied warranty of |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 19 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 20 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
19 | ..}^=.= = ; Library General Public License for more | 21 | ..}^=.= = ; General Public License for more |
20 | ++= -. .` .: details. | 22 | ++= -. .` .: details. |
21 | : = ...= . :.=- | 23 | : = ...= . :.=- |
22 | -. .:....=;==+<; You should have received a copy of the GNU | 24 | -. .:....=;==+<; You should have received a copy of the GNU |
23 | -_. . . )=. = Library General Public License along with | 25 | -_. . . )=. = General Public License along with |
24 | -- :-=` this library; see the file COPYING.LIB. | 26 | -- :-=` this; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 27 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 28 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
28 | 30 | ||
29 | */ | 31 | */ |
30 | 32 | ||
31 | #include <qpe/config.h> | 33 | #include <qpe/config.h> |
32 | 34 | ||
33 | #include <stdlib.h> | 35 | #include <stdlib.h> |
34 | #include <stdio.h> | 36 | #include <stdio.h> |
35 | 37 | ||
36 | #include "oticker.h" | 38 | #include "oticker.h" |
37 | 39 | ||
38 | OTicker::OTicker( QWidget* parent ) | 40 | OTicker::OTicker( QWidget* parent ) |
39 | : QLabel( parent ) { | 41 | : QLabel( parent ) { |
40 | // : QFrame( parent ) { | 42 | // : QFrame( parent ) { |
41 | setTextFormat(Qt::RichText); | 43 | setTextFormat(Qt::RichText); |
42 | Config cfg("qpe"); | 44 | Config cfg("qpe"); |
43 | cfg.setGroup("Appearance"); | 45 | cfg.setGroup("Appearance"); |
44 | backgroundcolor = QColor( cfg.readEntry( "Background", "#E5E1D5" ) ); | 46 | backgroundcolor = QColor( cfg.readEntry( "Background", "#E5E1D5" ) ); |
45 | foregroundcolor= Qt::black; | 47 | foregroundcolor= Qt::black; |
46 | updateTimerTime = 50; | 48 | updateTimerTime = 50; |
47 | scrollLength = 1; | 49 | scrollLength = 1; |
48 | } | 50 | } |
diff --git a/libopie/oticker.h b/libopie/oticker.h index 4026eb5..45bf7ce 100644 --- a/libopie/oticker.h +++ b/libopie/oticker.h | |||
@@ -1,48 +1,50 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> | 3 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> |
4 | Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | ||
5 | |||
4 | =. | 6 | =. |
5 | .=l. | 7 | .=l. |
6 | .>+-= | 8 | .>+-= |
7 | _;:, .> :=|. This program is free software; you can | 9 | _;:, .> :=|. This program is free software; you can |
8 | .> <`_, > . <= redistribute it and/or modify it under | 10 | .> <`_, > . <= redistribute it and/or modify it under |
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 11 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
10 | .="- .-=="i, .._ License as published by the Free Software | 12 | .="- .-=="i, .._ License as published by the Free Software |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 13 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | ._= =} : or (at your option) any later version. | 14 | ._= =} : or (at your option) any later version. |
13 | .%`+i> _;_. | 15 | .%`+i> _;_. |
14 | .i_,=:_. -<s. This program is distributed in the hope that | 16 | .i_,=:_. -<s. This program is distributed in the hope that |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 17 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | : .. .:, . . . without even the implied warranty of | 18 | : .. .:, . . . without even the implied warranty of |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 19 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 20 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
19 | ..}^=.= = ; Library General Public License for more | 21 | ..}^=.= = ; General Public License for more |
20 | ++= -. .` .: details. | 22 | ++= -. .` .: details. |
21 | : = ...= . :.=- | 23 | : = ...= . :.=- |
22 | -. .:....=;==+<; You should have received a copy of the GNU | 24 | -. .:....=;==+<; You should have received a copy of the GNU |
23 | -_. . . )=. = Library General Public License along with | 25 | -_. . . )=. = General Public License along with |
24 | -- :-=` this library; see the file COPYING.LIB. | 26 | -- :-=` this; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 27 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 28 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
28 | 30 | ||
29 | */ | 31 | */ |
30 | 32 | ||
31 | #ifndef OTICKER_H | 33 | #ifndef OTICKER_H |
32 | #define OTICKER_H | 34 | #define OTICKER_H |
33 | 35 | ||
34 | #include <qwidget.h> | 36 | #include <qwidget.h> |
35 | #include <qpainter.h> | 37 | #include <qpainter.h> |
36 | #include <qdrawutil.h> | 38 | #include <qdrawutil.h> |
37 | #include <qpixmap.h> | 39 | #include <qpixmap.h> |
38 | #include <qstring.h> | 40 | #include <qstring.h> |
39 | #include <qslider.h> | 41 | #include <qslider.h> |
40 | #include <qlabel.h> | 42 | #include <qlabel.h> |
41 | #include <qframe.h> | 43 | #include <qframe.h> |
42 | #include <qcolor.h> | 44 | #include <qcolor.h> |
43 | 45 | ||
44 | /** | 46 | /** |
45 | * @class OTicker | 47 | * @class OTicker |
46 | * @brief The OTicker class provides a QLabel widget that scroll its contents | 48 | * @brief The OTicker class provides a QLabel widget that scroll its contents |
47 | * | 49 | * |
48 | */ | 50 | */ |