Rename KDE_VERSION to TDE_VERSION

pull/21/head
Timothy Pearson 13 years ago
parent 0953e163d4
commit c0fc75368b

@ -221,7 +221,7 @@ void AddressEditWidget::updateAddressEdit()
if ( it != mAddressList.end() ) {
KABC::Address a = *it;
if ( !a.isEmpty() ) {
#if KDE_VERSION >= 319
#if TDE_VERSION >= 319
if ( a.type() & KABC::Address::Work && mAddressee.realName() != mAddressee.organization() ) {
mAddressField->setText( a.formattedAddress( mAddressee.realName(),
mAddressee.organization() ) );

@ -78,7 +78,7 @@ TQString LocationMap::createUrl( const KABC::Address &addr )
return TQString();
}
#if KDE_VERSION >= 319
#if TDE_VERSION >= 319
return urlTemplate.replace( "%s", addr.street() ).
replace( "%r", addr.region() ).
replace( "%l", addr.locality() ).

@ -44,7 +44,7 @@ void SearchManager::search( const TQString &pattern, const KABC::Field::List &fi
KABC::Addressee::List allContacts;
mContacts.clear();
#if KDE_VERSION >= 319
#if TDE_VERSION >= 319
KABC::AddresseeList list( mAddressBook->allAddressees() );
if ( !fields.isEmpty() )
list.sortByField( fields.first() );

@ -565,7 +565,7 @@ int ViewManager::filterPosition( const TQString &name ) const
void ViewManager::initActions()
{
mActionSelectView = new KSelectAction( i18n( "Select View" ), 0, mCore->actionCollection(), "select_view" );
#if KDE_VERSION >= 309
#if TDE_VERSION >= 309
mActionSelectView->setMenuAccelsEnabled( false );
#endif
connect( mActionSelectView, TQT_SIGNAL( activated( const TQString& ) ),

@ -167,7 +167,7 @@ TQString ContactListViewItem::key(int column, bool ascending) const
if ( column >= parentListView->columns() )
return TQString();
#if KDE_VERSION >= 319
#if TDE_VERSION >= 319
Q_UNUSED( ascending )
if ( parentListView->showIM() ) {
// in this case, one column is reserved for IM presence

Loading…
Cancel
Save