42 #define YUILogComponent "qt-pkg"
46 #include "YQPkgChangeLogView.h"
47 #include "YQPkgDescriptionDialog.h"
68 _selectable = selectable;
79 ZyppPkg installed = tryCastToZyppPkg( selectable->installedObj() );
87 html +=
"<p><i>" + _(
"Information only available for installed packages." ) +
"</i></p>";
100 for ( zypp::Changelog::const_iterator it = changeLog.begin();
101 it != changeLog.end();
104 QString changes =
htmlEscape( fromUTF8( (*it).text() ) );
105 changes.replace(
"\n",
"<br>" );
106 changes.replace(
" ",
" " );
109 cell( (*it).date() ) +
110 cell( (*it).author() ) +
111 "<td valign='top'>" + changes +
"</td>"
115 return html.isEmpty() ?
"" :
table( html );
119 #include "YQPkgChangeLogView.moc"