From 7bc058d1bffbd79bf9d9416f879ccb4873b6045e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:18:40 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- cervisia/addremovedlg.cpp | 6 +++--- cervisia/settingsdlg.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cervisia') diff --git a/cervisia/addremovedlg.cpp b/cervisia/addremovedlg.cpp index c55e34ac..39a9eb9e 100644 --- a/cervisia/addremovedlg.cpp +++ b/cervisia/addremovedlg.cpp @@ -59,9 +59,9 @@ AddRemoveDialog::AddRemoveDialog(ActionType action, TQWidget* parent, const char TQBoxLayout *warningLayout = new TQHBoxLayout; TQLabel *warningIcon = new TQLabel(mainWidget); - KIconLoader *loader = kapp->iconLoader(); - warningIcon->setPixmap(loader->loadIcon("messagebox_warning", KIcon::NoGroup, - KIcon::SizeMedium, KIcon::DefaultState, + TDEIconLoader *loader = kapp->iconLoader(); + warningIcon->setPixmap(loader->loadIcon("messagebox_warning", TDEIcon::NoGroup, + TDEIcon::SizeMedium, TDEIcon::DefaultState, 0, true)); warningLayout->addWidget(warningIcon); diff --git a/cervisia/settingsdlg.cpp b/cervisia/settingsdlg.cpp index dd11da4f..98a3e012 100644 --- a/cervisia/settingsdlg.cpp +++ b/cervisia/settingsdlg.cpp @@ -51,9 +51,9 @@ namespace // helper method to load icons for configuration pages inline TQPixmap LoadIcon(const char* iconName) { - KIconLoader* loader = TDEGlobal::instance()->iconLoader(); - return loader->loadIcon(TQString::fromLatin1(iconName), KIcon::NoGroup, - KIcon::SizeMedium); + TDEIconLoader* loader = TDEGlobal::instance()->iconLoader(); + return loader->loadIcon(TQString::fromLatin1(iconName), TDEIcon::NoGroup, + TDEIcon::SizeMedium); } } -- cgit v1.2.1