diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-22 11:58:35 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-22 11:58:35 +0900 |
| commit | ef5d32c49ddf0e3536e3a1a06f8fc84e56a8f42e (patch) | |
| tree | 1b2d4c4e28e640b2a5415510afe926471ebaa759 /kaddressbook/addresseditwidget.cpp | |
| parent | aaf564ace324cba8f96be63c505293f3f893bcd8 (diff) | |
| download | tdepim-master.tar.gz tdepim-master.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaddressbook/addresseditwidget.cpp')
| -rw-r--r-- | kaddressbook/addresseditwidget.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/kaddressbook/addresseditwidget.cpp b/kaddressbook/addresseditwidget.cpp index 173411f4..60b81820 100644 --- a/kaddressbook/addresseditwidget.cpp +++ b/kaddressbook/addresseditwidget.cpp @@ -221,35 +221,12 @@ void AddressEditWidget::updateAddressEdit() if ( it != mAddressList.end() ) { TDEABC::Address a = *it; if ( !a.isEmpty() ) { -#if TDE_VERSION >= 319 if ( a.type() & TDEABC::Address::Work && mAddressee.realName() != mAddressee.organization() ) { mAddressField->setText( a.formattedAddress( mAddressee.realName(), mAddressee.organization() ) ); } else { mAddressField->setText( a.formattedAddress( mAddressee.realName() ) ); } -#else - TQString text; - if ( !a.street().isEmpty() ) - text += a.street() + "\n"; - - if ( !a.postOfficeBox().isEmpty() ) - text += a.postOfficeBox() + "\n"; - - text += a.locality() + TQString(" ") + a.region(); - - if ( !a.postalCode().isEmpty() ) - text += TQString(", ") + a.postalCode(); - - text += "\n"; - - if ( !a.country().isEmpty() ) - text += a.country() + "\n"; - - text += a.extended(); - - mAddressField->setText( text ); -#endif } } |
