Diffstat (limited to 'core/pim/today/todayconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/todayconfig.cpp | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp index 864c708..04a16e1 100644 --- a/core/pim/today/todayconfig.cpp +++ b/core/pim/today/todayconfig.cpp | |||
@@ -1,16 +1,30 @@ | |||
1 | /* | 1 | /* |
2 | * todayconfig.cpp | 2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project |
3 | * | 3 | |
4 | * copyright : (c) 2002, 2003, 2004 by Maximilian Reiß | 4 | Copyright (C) Maximilian Reiss <harlekin@handhelds.org> |
5 | * email : harlekin@handhelds.org | 5 | =. |
6 | * | 6 | .=l. |
7 | */ | 7 | Â Â Â Â Â Â .>+-= |
8 | /*************************************************************************** | 8 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can |
9 | * * | 9 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under |
10 | * This program is free software; you can redistribute it and/or modify * | 10 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public |
11 | * it under the terms of the GNU General Public License as published by * | 11 | .="- .-=="i, Â Â .._ License as published by the Free Software |
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, |
13 | * (at your option) any later version. * | 13 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. |
14 | * * | 14 | Â Â .%`+i> Â Â Â _;_. |
15 | ***************************************************************************/ | 15 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that |
16 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | ||
17 | Â Â : .. Â Â .:, Â Â . . . without even the implied warranty of | ||
18 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | ||
19 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | ||
20 | ..}^=.= Â Â Â = Â Â Â ; Library General Public License for more | ||
21 | ++= Â -. Â Â .` Â Â .: details. | ||
22 | Â : Â Â = Â ...= . :.=- | ||
23 | Â -. Â .:....=;==+<; You should have received a copy of the GNU | ||
24 | Â -_. . . Â )=. Â = Library General Public License along with | ||
25 | Â Â -- Â Â Â Â :-=` this library; see the file COPYING.LIB. | ||
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
28 | Boston, MA 02111-1307, USA. | ||
29 | */ | ||
16 | 30 | ||
@@ -20,5 +34,5 @@ | |||
20 | #include <opie2/opluginloader.h> | 34 | #include <opie2/opluginloader.h> |
35 | #include <opie2/oresource.h> | ||
21 | #include <opie2/todayplugininterface.h> | 36 | #include <opie2/todayplugininterface.h> |
22 | 37 | ||
23 | #include <qpe/resource.h> | ||
24 | #include <qpe/qcopenvelope_qws.h> | 38 | #include <qpe/qcopenvelope_qws.h> |
@@ -46,3 +60,4 @@ public: | |||
46 | : QToolButton( parent, name ) { | 60 | : QToolButton( parent, name ) { |
47 | setPixmap( Resource::loadPixmap( icon ) ); | 61 | setUsesBigPixmap( true ); |
62 | setPixmap( Opie::Core::OResource::loadPixmap( icon, Opie::Core::OResource::SmallIcon ) ); | ||
48 | setAutoRaise( TRUE ); | 63 | setAutoRaise( TRUE ); |
@@ -244,3 +259,3 @@ void TodayConfig::pluginManagement( OPluginItem plugItem ) { | |||
244 | TodayPluginInterface* iface = m_pluginLoader->load<TodayPluginInterface>( plugItem, IID_TodayPluginInterface ); | 259 | TodayPluginInterface* iface = m_pluginLoader->load<TodayPluginInterface>( plugItem, IID_TodayPluginInterface ); |
245 | QPixmap icon = Resource::loadPixmap( iface->guiPart()->pixmapNameWidget() ); | 260 | QPixmap icon = Opie::Core::OResource::loadPixmap( iface->guiPart()->pixmapNameWidget(), Opie::Core::OResource::SmallIcon ); |
246 | if ( !icon.isNull() ) { | 261 | if ( !icon.isNull() ) { |