-rw-r--r-- | libkdepim/addresseeview.cpp | 31 |
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 @@ -39,4 +39,4 @@ #ifndef DESKTOP_VERSION -#include <qtopia/qcopenvelope_qws.h> -#include <qpe/qpeapplication.h> +#include <qtopia/qcopenvelope_qws.h> +#include <qpe/qpeapplication.h> #endif @@ -61,3 +61,3 @@ AddresseeView::AddresseeView( QWidget *parent, const char *name ) //US link->setColor( KGlobalSettings::linkColor() ); - + } @@ -90,3 +90,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) if ( kphoneInstalled > 0 ) - kphoneAvail = true; + kphoneAvail = true; #if 0 @@ -97,3 +97,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) #endif - + #endif @@ -146,3 +146,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) - + for ( ; emailIt != emails.end(); ++emailIt ) { @@ -183,3 +183,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) } else { - + dynamicPart += QString( @@ -190,3 +190,3 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) .arg( (*addrIt).label() /*replace( QRegExp("\n"), "<br>" )*/ ); - + } @@ -210,5 +210,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) aRole = "<tr>" - "<td align=\"left\">" + mAddressee.role() + "</td>" + "<td align=\"left\">" + mAddressee.role() + "</td>" "</tr>"; - } + } if ( true /*!mAddressee.organization().isEmpty()*/ ) { @@ -270,3 +270,3 @@ 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 @@ -276,3 +276,3 @@ mText = "<table width=\"100%\">\n"; #endif - + #ifdef DESKTOP_VERSION @@ -289,3 +289,3 @@ mText = "<table width=\"100%\">\n"; .arg( i18n(" ") ) - .arg( name ); + .arg( name ); */ @@ -304,3 +304,3 @@ mText = "<table width=\"100%\">\n"; mText += "</table>"; - + } @@ -309,2 +309,3 @@ mText = "<table width=\"100%\">\n"; setText( mText ); + } @@ -323,3 +324,3 @@ void AddresseeView::addTag(const QString & tag,const QString & text) QString tmpStr=str; - if(number !=-1) + if(number !=-1) { |