Rename KIcon to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent dd0cfce2e9
commit a038714a2f

@ -57,7 +57,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQWidget::setCaption(i18n("TDERadio Logger")); TQWidget::setCaption(i18n("TDERadio Logger"));
TQFrame *info = addPage(i18n("Information"), i18n("Information"), TQFrame *info = addPage(i18n("Information"), i18n("Information"),
TDEGlobal::instance()->iconLoader()->loadIcon( TDEGlobal::instance()->iconLoader()->loadIcon(
"messagebox_info", KIcon::NoGroup, KIcon::SizeMedium "messagebox_info", TDEIcon::NoGroup, TDEIcon::SizeMedium
) )
); );
@ -72,7 +72,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQFrame *warn = addPage(i18n("Warnings"), i18n("Warnings"), TQFrame *warn = addPage(i18n("Warnings"), i18n("Warnings"),
TDEGlobal::instance()->iconLoader()->loadIcon( TDEGlobal::instance()->iconLoader()->loadIcon(
"messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium "messagebox_warning", TDEIcon::NoGroup, TDEIcon::SizeMedium
) )
); );
TQGridLayout *lwarn = new TQGridLayout(warn); TQGridLayout *lwarn = new TQGridLayout(warn);
@ -87,7 +87,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQFrame *err = addPage(i18n("Errors"), i18n("Errors"), TQFrame *err = addPage(i18n("Errors"), i18n("Errors"),
TDEGlobal::instance()->iconLoader()->loadIcon( TDEGlobal::instance()->iconLoader()->loadIcon(
"messagebox_critical", KIcon::NoGroup, KIcon::SizeMedium "messagebox_critical", TDEIcon::NoGroup, TDEIcon::SizeMedium
) )
); );
TQGridLayout *lerr = new TQGridLayout(err); TQGridLayout *lerr = new TQGridLayout(err);
@ -100,7 +100,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQFrame *debug = addPage(i18n("Debugging"), i18n("Debugging"), TQFrame *debug = addPage(i18n("Debugging"), i18n("Debugging"),
TDEGlobal::instance()->iconLoader()->loadIcon( TDEGlobal::instance()->iconLoader()->loadIcon(
"find", KIcon::NoGroup, KIcon::SizeMedium "find", TDEIcon::NoGroup, TDEIcon::SizeMedium
) )
); );

@ -292,7 +292,7 @@ TQFrame *PluginManager::addConfigurationPage (const ConfigPageInfo &info)
TQFrame *f = m_configDialog->addPage( TQFrame *f = m_configDialog->addPage(
info.itemName, info.itemName,
info.pageHeader, info.pageHeader,
TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, KIcon::NoGroup, KIcon::SizeMedium ) TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, TDEIcon::NoGroup, TDEIcon::SizeMedium )
); );
// fill config frame with layout ... // fill config frame with layout ...
@ -371,7 +371,7 @@ void PluginManager::addAboutPage (PluginBase *forWhom,
TQFrame *f = m_aboutDialog->addPage( TQFrame *f = m_aboutDialog->addPage(
info.itemName, info.itemName,
info.pageHeader, info.pageHeader,
TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, KIcon::NoGroup, KIcon::SizeMedium ) TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, TDEIcon::NoGroup, TDEIcon::SizeMedium )
); );
// register this frame and config page // register this frame and config page

Loading…
Cancel
Save