author | eilers <eilers> | 2002-11-18 09:38:28 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-11-18 09:38:28 (UTC) |
commit | 8401def65aa4f19d91873bc57a3dcf25c358c490 (patch) (side-by-side diff) | |
tree | 3e64bd2d1b6f92c77304cc2d2c0fd06b07d718e5 /core/pim/addressbook/addresssettings.cpp | |
parent | 4d0773414a0fb59e53f30d4d2363f73304f474dc (diff) | |
download | opie-8401def65aa4f19d91873bc57a3dcf25c358c490.zip opie-8401def65aa4f19d91873bc57a3dcf25c358c490.tar.gz opie-8401def65aa4f19d91873bc57a3dcf25c358c490.tar.bz2 |
Back to main tree. Back to main tree.
Back to main tree. Waiting for moving to feature freeze ..
Diffstat (limited to 'core/pim/addressbook/addresssettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/addresssettings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/addressbook/addresssettings.cpp b/core/pim/addressbook/addresssettings.cpp index e7c2210..2a9413c 100644 --- a/core/pim/addressbook/addresssettings.cpp +++ b/core/pim/addressbook/addresssettings.cpp @@ -1,68 +1,68 @@ /********************************************************************** ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** ** This file is part of Qt Palmtop Environment. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "addresssettings.h" #include <qpe/config.h> -#include <qpe/contact.h> +#include <opie/ocontact.h> #include <qfile.h> #include <qlistbox.h> #include <stdlib.h> AddressSettings::AddressSettings( QWidget *parent, const char *name ) : AddressSettingsBase( parent, name, TRUE ) { init(); } AddressSettings::~AddressSettings() { } void AddressSettings::init() { - QStringList slFields = Contact::trfields(); + QStringList slFields = OContact::trfields(); // Make this match what is in initFields slFields.remove( tr("Name Title") ); slFields.remove( tr("First Name") ); slFields.remove( tr("Last Name") ); slFields.remove( tr("File As") ); slFields.remove( tr("Default Email") ); slFields.remove( tr("Notes") ); slFields.remove( tr("Gender") ); for( QStringList::Iterator it = slFields.begin(); it != slFields.end(); ++it ) { fieldListBox->insertItem( *it ); } Config cfg( "AddressBook" ); cfg.setGroup( "Version" ); int version; version = cfg.readNumEntry( "version" ); if ( version >= ADDRESSVERSION ) { int i = 0; int p = 0; cfg.setGroup( "ImportantCategory" ); |