diff options
Diffstat (limited to 'libkcal')
-rw-r--r-- | libkcal/incidenceformatter.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libkcal/incidenceformatter.cpp b/libkcal/incidenceformatter.cpp index 7632b17ee..1c1efe1da 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(), "<img valign=\"top\" src=\"" + iconPath + "\">" ); @@ -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 += "<img valign=\"top\" src=\"" + iconPath + "\">"; } if ( incidence->type() == "Todo" ) { tmpStr += "<img valign=\"top\" src=\"" + - TDEGlobal::iconLoader()->iconPath( "todo", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "todo", TDEIcon::Small ) + "\">"; } if ( incidence->type() == "Journal" ) { tmpStr += "<img valign=\"top\" src=\"" + - TDEGlobal::iconLoader()->iconPath( "journal", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "journal", TDEIcon::Small ) + "\">"; } if ( incidence->isAlarmEnabled() ) { tmpStr += "<img valign=\"top\" src=\"" + - TDEGlobal::iconLoader()->iconPath( "bell", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "bell", TDEIcon::Small ) + "\">"; } if ( incidence->doesRecur() ) { tmpStr += "<img valign=\"top\" src=\"" + - TDEGlobal::iconLoader()->iconPath( "recur", KIcon::Small ) + + TDEGlobal::iconLoader()->iconPath( "recur", TDEIcon::Small ) + "\">"; } if ( incidence->isReadOnly() ) { tmpStr += "<img valign=\"top\" src=\"" + - TDEGlobal::iconLoader()->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(), "<img src=\"" + iconPath + "\">" ) ; @@ -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 += "<img valign=\"top\" src=\"" + iconPath + "\">"; } |