summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/ablabel.cpp
authorchicken <chicken>2004-03-01 17:39:51 (UTC)
committer chicken <chicken>2004-03-01 17:39:51 (UTC)
commitbdac663be648746b868757a6fc9e6c443e6f51b1 (patch) (side-by-side diff)
tree880ee397824e6e99317d8788856bb8cc781b6fe0 /core/pim/addressbook/ablabel.cpp
parent5f6f3f7d9356e24ac5284b7ccc10a75451ea94ee (diff)
downloadopie-bdac663be648746b868757a6fc9e6c443e6f51b1.zip
opie-bdac663be648746b868757a6fc9e6c443e6f51b1.tar.gz
opie-bdac663be648746b868757a6fc9e6c443e6f51b1.tar.bz2
fix includes
Diffstat (limited to 'core/pim/addressbook/ablabel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/ablabel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/pim/addressbook/ablabel.cpp b/core/pim/addressbook/ablabel.cpp
index 1914f71..076e2e0 100644
--- a/core/pim/addressbook/ablabel.cpp
+++ b/core/pim/addressbook/ablabel.cpp
@@ -1,50 +1,47 @@
/**********************************************************************
** 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 "ablabel.h"
-#include <qpe/stringutil.h>
-#include <qregexp.h>
-#include <qstylesheet.h>
AbLabel::AbLabel( QWidget *parent, const char *name ):
QTextView( parent, name ),
m_empty( false )
{
}
AbLabel::~AbLabel()
{
}
void AbLabel::setContacts( const OContactAccess::List& viewList )
{
m_viewList = viewList;
if (m_viewList.count() != 0){
m_empty = false;
m_itCurContact = m_viewList.begin();
sync();
}else{
// m_itCurContact.clear();
m_empty = true;
setText( "" );
}
}