summaryrefslogtreecommitdiffabout
path: root/libkdepim/addresseeview.cpp
Side-by-side diff
Diffstat (limited to 'libkdepim/addresseeview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/addresseeview.cpp31
1 files changed, 16 insertions, 15 deletions
diff --git a/libkdepim/addresseeview.cpp b/libkdepim/addresseeview.cpp
index 547441c..83aba48 100644
--- a/libkdepim/addresseeview.cpp
+++ b/libkdepim/addresseeview.cpp
@@ -38,6 +38,6 @@
#ifndef DESKTOP_VERSION
-#include <qtopia/qcopenvelope_qws.h>
-#include <qpe/qpeapplication.h>
+#include <qtopia/qcopenvelope_qws.h>
+#include <qpe/qpeapplication.h>
#endif
@@ -60,5 +60,5 @@ AddresseeView::AddresseeView( QWidget *parent, const char *name )
//US QStyleSheetItem *link = sheet->item( "a" );
//US link->setColor( KGlobalSettings::linkColor() );
-
+
}
void AddresseeView::setSource(const QString& n)
@@ -89,5 +89,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
}
if ( kphoneInstalled > 0 )
- kphoneAvail = true;
+ kphoneAvail = true;
#if 0
if ( kphoneAvail )
@@ -96,5 +96,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
qDebug("NOOOOOOOOOOOo KPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPone avail ");
#endif
-
+
#endif
mAddressee = addr;
@@ -145,5 +145,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
}
-
+
for ( ; emailIt != emails.end(); ++emailIt ) {
dynamicPart += QString(
@@ -182,5 +182,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
.arg( formattedAddress );
} else {
-
+
dynamicPart += QString(
"<tr><td align=\"right\"><b>%1</b></td>"
@@ -189,5 +189,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
//US .arg( (*addrIt).label().replace( '\n', "<br>" ) );
.arg( (*addrIt).label() /*replace( QRegExp("\n"), "<br>" )*/ );
-
+
}
}
@@ -209,7 +209,7 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
if ( true /*!mAddressee.role().isEmpty()*/ ) {
aRole = "<tr>"
- "<td align=\"left\">" + mAddressee.role() + "</td>"
+ "<td align=\"left\">" + mAddressee.role() + "</td>"
"</tr>";
- }
+ }
if ( true /*!mAddressee.organization().isEmpty()*/ ) {
aOrga = "<tr>"
@@ -269,5 +269,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr )
mText = "<table width=\"100%\">\n";
- //mText += "<tr bgcolor=\"#3679AD\"><td><h2>";
+ //mText += "<tr bgcolor=\"#3679AD\"><td><h2>";
#ifdef DESKTOP_VERSION
mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h1>";
@@ -275,5 +275,5 @@ mText = "<table width=\"100%\">\n";
mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h2>";
#endif
-
+
#ifdef DESKTOP_VERSION
mText += "<font color=\"#FFFFFF\"> <em>" + name+"</em></font></h1>";
@@ -288,5 +288,5 @@ mText = "<table width=\"100%\">\n";
"<td align=\"left\"><b>%2</b></td></tr>" )
.arg( i18n(" ") )
- .arg( name );
+ .arg( name );
*/
if ( ! mAddressee.role().isEmpty() )
@@ -303,9 +303,10 @@ mText = "<table width=\"100%\">\n";
mText += notes;
mText += "</table>";
-
+
}
// at last display it...
setText( mText );
+
}
@@ -322,5 +323,5 @@ void AddresseeView::addTag(const QString & tag,const QString & text)
QString tmpText=text;
QString tmpStr=str;
- if(number !=-1)
+ if(number !=-1)
{
if (number > 0) {