summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/addresssettings.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/addressbook/addresssettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addresssettings.cpp4
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" );