summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabssettings.cpp
Unidiff
Diffstat (limited to 'core/settings/launcher/tabssettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/tabssettings.cpp49
1 files changed, 28 insertions, 21 deletions
diff --git a/core/settings/launcher/tabssettings.cpp b/core/settings/launcher/tabssettings.cpp
index ae78733..0faaea3 100644
--- a/core/settings/launcher/tabssettings.cpp
+++ b/core/settings/launcher/tabssettings.cpp
@@ -1,22 +1,29 @@
1/********************************************************************** 1/*
2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 2               =. This file is part of the OPIE Project
3** 3             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4** This file is part of the Qtopia Environment. 4           .>+-=
5** 5 _;:,     .>    :=|. This file is free software; you can
6** This file may be distributed and/or modified under the terms of the 6.> <`_,   >  .   <= redistribute it and/or modify it under
7** GNU General Public License version 2 as published by the Free Software 7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8** Foundation and appearing in the file LICENSE.GPL included in the 8.="- .-=="i,     .._ License as published by the Free Software
9** packaging of this file. 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10** 10     ._= =}       : or (at your option) any later version.
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11    .%`+i>       _;_.
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12    .i_,=:_.      -<s. This file is distributed in the hope that
13** 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14    : ..    .:,     . . . without even the implied warranty of
15** 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16** Contact info@trolltech.com if any conditions of this licensing are 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17** not clear to you. 17..}^=.=       =       ; Public License for more details.
18** 18++=   -.     .`     .:
19**********************************************************************/ 19 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` Free Software Foundation, Inc.,
23 59 Temple Place - Suite 330,
24 Boston, MA 02111-1307, USA.
25
26*/
20 27
21#include "tabssettings.h" 28#include "tabssettings.h"
22 29
@@ -114,8 +121,8 @@ void TabsSettings::readTabSettings ( )
114 tc. m_bg_type = TabConfig::Image; 121 tc. m_bg_type = TabConfig::Image;
115 122
116 tc. m_bg_image = cfg. readEntry ( "BackgroundImage", "wallpaper/opie" ); 123 tc. m_bg_image = cfg. readEntry ( "BackgroundImage", "wallpaper/opie" );
117 tc. m_bg_color = cfg. readEntry ( "BackgroundColor" ); 124 tc. m_bg_color = cfg. readEntry ( "BackgroundColor", colorGroup ( ). color ( QColorGroup::Base ). name ( ));
118 tc. m_text_color = cfg. readEntry ( "TextColor" ); 125 tc. m_text_color = cfg. readEntry ( "TextColor", colorGroup ( ). color ( QColorGroup::Text ). name ( ));
119 QStringList f = cfg. readListEntry ( "Font", ',' ); 126 QStringList f = cfg. readListEntry ( "Font", ',' );
120 if ( f. count ( ) == 4 ) { 127 if ( f. count ( ) == 4 ) {
121 tc. m_font_family = f [0]; 128 tc. m_font_family = f [0];