From b97ee238f88e9578da228388210cd8cab5360778 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:18:14 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- libkcal/incidenceformatter.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libkcal') diff --git a/libkcal/incidenceformatter.cpp b/libkcal/incidenceformatter.cpp index 7632b17e..1c1efe1d 100644 --- a/libkcal/incidenceformatter.cpp +++ b/libkcal/incidenceformatter.cpp @@ -221,7 +221,7 @@ static TQString displayViewLinkPerson( const TQString& email, TQString name, TQS mailto.setProtocol( "mailto" ); mailto.setPath( email ); const TQString iconPath = - TDEGlobal::iconLoader()->iconPath( "mail_new", KIcon::Small ); + TDEGlobal::iconLoader()->iconPath( "mail_new", TDEIcon::Small ); tmpString += " " + htmlAddLink( mailto.url(), "" ); @@ -401,38 +401,38 @@ static TQString displayViewFormatHeader( Incidence *incidence ) if ( incidence->customProperty( "KABC", "BIRTHDAY" ) == "YES" ) { if ( incidence->customProperty( "KABC", "ANNIVERSARY" ) == "YES" ) { iconPath = - TDEGlobal::iconLoader()->iconPath( "calendaranniversary", KIcon::Small ); + TDEGlobal::iconLoader()->iconPath( "calendaranniversary", TDEIcon::Small ); } else { - iconPath = TDEGlobal::iconLoader()->iconPath( "calendarbirthday", KIcon::Small ); + iconPath = TDEGlobal::iconLoader()->iconPath( "calendarbirthday", TDEIcon::Small ); } } else { - iconPath = TDEGlobal::iconLoader()->iconPath( "appointment", KIcon::Small ); + iconPath = TDEGlobal::iconLoader()->iconPath( "appointment", TDEIcon::Small ); } tmpStr += ""; } if ( incidence->type() == "Todo" ) { tmpStr += "iconPath( "todo", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "todo", TDEIcon::Small ) + "\">"; } if ( incidence->type() == "Journal" ) { tmpStr += "iconPath( "journal", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "journal", TDEIcon::Small ) + "\">"; } if ( incidence->isAlarmEnabled() ) { tmpStr += "iconPath( "bell", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "bell", TDEIcon::Small ) + "\">"; } if ( incidence->doesRecur() ) { tmpStr += "iconPath( "recur", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "recur", TDEIcon::Small ) + "\">"; } if ( incidence->isReadOnly() ) { tmpStr += "iconPath( "readonlyevent", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "readonlyevent", TDEIcon::Small ) + "\">"; } @@ -1174,7 +1174,7 @@ static TQString invitationPerson( const TQString& email, TQString name, TQString mailto.setProtocol( "mailto" ); mailto.setPath( person.fullName() ); const TQString iconPath = - TDEGlobal::iconLoader()->iconPath( "mail_new", KIcon::Small ); + TDEGlobal::iconLoader()->iconPath( "mail_new", TDEIcon::Small ); tmpString += " " + htmlAddLink( mailto.url(), "" ) ; @@ -2005,7 +2005,7 @@ static TQString invitationAttachments( InvitationFormatterHelper *helper, Incide // Attachment icon KMimeType::Ptr mimeType = KMimeType::mimeType( a->mimeType() ); const TQString iconStr = mimeType ? mimeType->icon( a->uri(), false ) : TQString( "application-octet-stream" ); - const TQString iconPath = TDEGlobal::iconLoader()->iconPath( iconStr, KIcon::Small ); + const TQString iconPath = TDEGlobal::iconLoader()->iconPath( iconStr, TDEIcon::Small ); if ( !iconPath.isEmpty() ) { tmpStr += ""; } -- cgit v1.2.3