summaryrefslogtreecommitdiffstats
path: root/cervisia
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:40 -0600
commit7bc058d1bffbd79bf9d9416f879ccb4873b6045e (patch)
tree829c8e24b6d0e8f1113abff459b7a58dd284d488 /cervisia
parenta50010465ab0fa1ded54efb4f41d342d9d49971e (diff)
downloadtdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.tar.gz
tdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'cervisia')
-rw-r--r--cervisia/addremovedlg.cpp6
-rw-r--r--cervisia/settingsdlg.cpp6
2 files changed, 6 insertions, 6 deletions
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);
}
}