summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ocontact.cpp
authoreilers <eilers>2002-10-01 16:20:40 (UTC)
committer eilers <eilers>2002-10-01 16:20:40 (UTC)
commit541bd9eaebd630a39a9f1df320bf6e46d499c10a (patch) (side-by-side diff)
treeb897e17212c13432b142574ed4e23f59020e5a5d /libopie2/opiepim/ocontact.cpp
parent3352558f31f2f3f5f32730a28f07161fe71787a9 (diff)
downloadopie-541bd9eaebd630a39a9f1df320bf6e46d499c10a.zip
opie-541bd9eaebd630a39a9f1df320bf6e46d499c10a.tar.gz
opie-541bd9eaebd630a39a9f1df320bf6e46d499c10a.tar.bz2
Implementation of some virtual methods
Diffstat (limited to 'libopie2/opiepim/ocontact.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ocontact.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libopie2/opiepim/ocontact.cpp b/libopie2/opiepim/ocontact.cpp
index 66632f5..828a9de 100644
--- a/libopie2/opiepim/ocontact.cpp
+++ b/libopie2/opiepim/ocontact.cpp
@@ -1408,26 +1408,26 @@ bool OContact::match( const QRegExp &r ) const
return match;
}
-// Noch nicht definiert ! :SX
QString OContact::toShortText() const
{
- return ( QString::fromLatin1( "Not defined!") );
+ return ( fullName() );
}
QString OContact::type() const
{
return QString::fromLatin1( "OContact" );
}
-// Noch nicht definiert ! :SX
+// Definition is missing ! (se)
QMap<QString,QString> OContact::toExtraMap() const
{
+ qWarning ("Function not implemented: OContact::toExtraMap()");
QMap <QString,QString> useless;
return useless;
}
-// Noch nicht definiert ! :SX
-class QString OContact::recordField(int) const
+class QString OContact::recordField( int pos ) const
{
- return QString::fromLatin1( "Noch nicht implementiert !" );
+ QStringList SLFIELDS = fields(); // ?? why this ? (se)
+ return SLFIELDS[pos];
}