summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/ablabel.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/addressbook/ablabel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/ablabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/addressbook/ablabel.cpp b/core/pim/addressbook/ablabel.cpp
index 3bf3e12..cf1e39f 100644
--- a/core/pim/addressbook/ablabel.cpp
+++ b/core/pim/addressbook/ablabel.cpp
@@ -13,41 +13,41 @@
**
** 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 )
{
}
AbLabel::~AbLabel()
{
}
-void AbLabel::init( const Contact &entry )
+void AbLabel::init( const OContact &entry )
{
ent = entry;
}
void AbLabel::sync()
{
QString text = ent.toRichText();
setText( text );
}
void AbLabel::keyPressEvent( QKeyEvent *e )
{
if ( e->key() == Qt::Key_F33 ) {
emit okPressed();
}
}