-rw-r--r-- | kabc/addresseeview.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp index 0564e85..90be928 100644 --- a/kabc/addresseeview.cpp +++ b/kabc/addresseeview.cpp | |||
@@ -263,33 +263,30 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) | |||
263 | .arg( name ) | 263 | .arg( name ) |
264 | .arg( aRole ) | 264 | .arg( aRole ) |
265 | .arg( aOrga ) | 265 | .arg( aOrga ) |
266 | .arg( dynamicPart ) | 266 | .arg( dynamicPart ) |
267 | .arg( notes ); | 267 | .arg( notes ); |
268 | 268 | ||
269 | } else { // no picture! | 269 | } else { // no picture! |
270 | 270 | ||
271 | mText = "<table width=\"100%\">\n"; | 271 | mText = "<table width=\"100%\">\n"; |
272 | //mText += "<tr bgcolor=\"#3679AD\"><td><h2>"; | 272 | //mText += "<tr bgcolor=\"#3679AD\"><td><h2>"; |
273 | #ifdef DESKTOP_VERSION | 273 | #ifdef DESKTOP_VERSION |
274 | mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h1>"; | 274 | mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h1>"; |
275 | mText += "<font color=\"#FFFFFF\">" + name +"</font></h1>"; | ||
275 | #else | 276 | #else |
276 | mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h2>"; | 277 | mText += "<tr bgcolor=\"#5699CD\"><td align=\"left\"><h3>"; |
278 | mText += "<font color=\"#FFFFFF\"> " + name +"</font></h3>"; | ||
277 | #endif | 279 | #endif |
278 | 280 | ||
279 | #ifdef DESKTOP_VERSION | ||
280 | mText += "<font color=\"#FFFFFF\"> <em>" + name+"</em></font></h1>"; | ||
281 | #else | ||
282 | mText += "<font color=\"#FFFFFF\"> <em>" + name +"</em></font></h2>"; | ||
283 | #endif | ||
284 | mText += "</td></tr>\n<tr bgcolor=\"#EAF8FA\"><td>"; | 281 | mText += "</td></tr>\n<tr bgcolor=\"#EAF8FA\"><td>"; |
285 | 282 | ||
286 | mText += "<table><td colspan=\"2\"> </td>"; | 283 | mText += "<table><td colspan=\"2\"> </td>"; |
287 | /* | 284 | /* |
288 | mText += QString("<tr><td align=\"right\"><b2>%1</b2></td>" | 285 | mText += QString("<tr><td align=\"right\"><b2>%1</b2></td>" |
289 | "<td align=\"left\"><b>%2</b></td></tr>" ) | 286 | "<td align=\"left\"><b>%2</b></td></tr>" ) |
290 | .arg( i18n(" ") ) | 287 | .arg( i18n(" ") ) |
291 | .arg( name ); | 288 | .arg( name ); |
292 | */ | 289 | */ |
293 | if ( ! mAddressee.role().isEmpty() ) | 290 | if ( ! mAddressee.role().isEmpty() ) |
294 | mText += QString("<tr><td align=\"right\"><b>%1</b></td>" | 291 | mText += QString("<tr><td align=\"right\"><b>%1</b></td>" |
295 | "<td align=\"left\">%2</td></tr>" ) | 292 | "<td align=\"left\">%2</td></tr>" ) |