author | harlekin <harlekin> | 2003-12-10 22:34:29 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-10 22:34:29 (UTC) |
commit | 35e556fc2a9d07e6e2c73cac6f05cfb4c0c3e4f1 (patch) (unidiff) | |
tree | cf9c57d312570cc8d30946d53d6b0fc8c14d38f5 /core/settings/launcher/tabdialog.cpp | |
parent | dffe105588cace5d96792155cee3a32a70a05017 (diff) | |
download | opie-35e556fc2a9d07e6e2c73cac6f05cfb4c0c3e4f1.zip opie-35e556fc2a9d07e6e2c73cac6f05cfb4c0c3e4f1.tar.gz opie-35e556fc2a9d07e6e2c73cac6f05cfb4c0c3e4f1.tar.bz2 |
less includes
Diffstat (limited to 'core/settings/launcher/tabdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/launcher/tabdialog.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/settings/launcher/tabdialog.cpp b/core/settings/launcher/tabdialog.cpp index de99a09..f79ad40 100644 --- a/core/settings/launcher/tabdialog.cpp +++ b/core/settings/launcher/tabdialog.cpp | |||
@@ -5,60 +5,57 @@ | |||
5 | _;:, .> :=|. This file is free software; you can | 5 | _;:, .> :=|. This file is free software; you can |
6 | .> <`_, > . <= redistribute it and/or modify it under | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ._= =} : or (at your option) any later version. | 10 | ._= =} : or (at your option) any later version. |
11 | .%`+i> _;_. | 11 | .%`+i> _;_. |
12 | .i_,=:_. -<s. This file is distributed in the hope that | 12 | .i_,=:_. -<s. This file is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
17 | ..}^=.= = ; Public License for more details. | 17 | ..}^=.= = ; Public License for more details. |
18 | ++= -. .` .: | 18 | ++= -. .` .: |
19 | : = ...= . :.=- You should have received a copy of the GNU | 19 | : = ...= . :.=- You should have received a copy of the GNU |
20 | -. .:....=;==+<; General Public License along with this file; | 20 | -. .:....=;==+<; General Public License along with this file; |
21 | -_. . . )=. = see the file COPYING. If not, write to the | 21 | -_. . . )=. = see the file COPYING. If not, write to the |
22 | -- :-=` Free Software Foundation, Inc., | 22 | -- :-=` Free Software Foundation, Inc., |
23 | 59 Temple Place - Suite 330, | 23 | 59 Temple Place - Suite 330, |
24 | Boston, MA 02111-1307, USA. | 24 | Boston, MA 02111-1307, USA. |
25 | 25 | ||
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include <qpe/resource.h> | 28 | #include <qpe/resource.h> |
29 | #include <qpe/config.h> | ||
30 | #include <qpe/applnk.h> | ||
31 | 29 | ||
32 | #include <qlayout.h> | 30 | #include <qlayout.h> |
33 | #include <qvbox.h> | 31 | #include <qvbox.h> |
34 | #include <qtabbar.h> | 32 | #include <qtabbar.h> |
35 | #include <qiconview.h> | 33 | #include <qiconview.h> |
36 | #include <qapplication.h> | 34 | #include <qapplication.h> |
37 | #include <qlabel.h> | 35 | #include <qlabel.h> |
38 | #include <qradiobutton.h> | 36 | #include <qradiobutton.h> |
39 | #include <qbuttongroup.h> | 37 | #include <qbuttongroup.h> |
40 | #include <qpushbutton.h> | ||
41 | #include <qwhatsthis.h> | 38 | #include <qwhatsthis.h> |
42 | #include <qcheckbox.h> | 39 | #include <qcheckbox.h> |
43 | 40 | ||
44 | #include <opie/ofontselector.h> | 41 | #include <opie/ofontselector.h> |
45 | #include <opie/otabwidget.h> | 42 | #include <opie/otabwidget.h> |
46 | #include <opie/ocolorbutton.h> | 43 | #include <opie/ocolorbutton.h> |
47 | #include <opie/ofiledialog.h> | 44 | #include <opie/ofiledialog.h> |
48 | 45 | ||
49 | #include "tabdialog.h" | 46 | #include "tabdialog.h" |
50 | 47 | ||
51 | 48 | ||
52 | class SampleItem : public QIconViewItem { | 49 | class SampleItem : public QIconViewItem { |
53 | public: | 50 | public: |
54 | SampleItem ( QIconView *v, const QString &text, const QPixmap &pix ) : QIconViewItem ( v, text ) | 51 | SampleItem ( QIconView *v, const QString &text, const QPixmap &pix ) : QIconViewItem ( v, text ) |
55 | { | 52 | { |
56 | m_large = pix; | 53 | m_large = pix; |
57 | m_small. convertFromImage ( pix. convertToImage ( ). smoothScale ( pix. width ( ) / 2, pix. height ( ) / 2 )); | 54 | m_small. convertFromImage ( pix. convertToImage ( ). smoothScale ( pix. width ( ) / 2, pix. height ( ) / 2 )); |
58 | } | 55 | } |
59 | 56 | ||
60 | void sizeChange ( ) | 57 | void sizeChange ( ) |
61 | { | 58 | { |
62 | calcRect ( ); | 59 | calcRect ( ); |
63 | repaint ( ); | 60 | repaint ( ); |
64 | } | 61 | } |