From f7b7b822a75853f438ed17eabd0fe7f2c0999417 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:13:27 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- konq-plugins/sidebar/metabar/src/configdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'konq-plugins/sidebar/metabar/src/configdialog.cpp') diff --git a/konq-plugins/sidebar/metabar/src/configdialog.cpp b/konq-plugins/sidebar/metabar/src/configdialog.cpp index 45938a9..dc43d8b 100644 --- a/konq-plugins/sidebar/metabar/src/configdialog.cpp +++ b/konq-plugins/sidebar/metabar/src/configdialog.cpp @@ -319,9 +319,9 @@ void ConfigDialog::createLink() TQLineEdit *name = new TQLineEdit(i18n("New link"), main); TQLineEdit *url = new TQLineEdit("file:/", main); - KIconButton *icon = new KIconButton(main); + TDEIconButton *icon = new TDEIconButton(main); icon->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum); - icon->setIconType(KIcon::Small, KIcon::Any); + icon->setIconType(TDEIcon::Small, TDEIcon::Any); icon->setStrictIconSize(true); icon->setIcon("folder"); @@ -351,7 +351,7 @@ void ConfigDialog::createLink() if(!name_str.isEmpty() && !url_str.isEmpty()){ if(icon_str.isEmpty()){ - icon_str = kapp->iconLoader()->iconPath("folder", KIcon::Small); + icon_str = kapp->iconLoader()->iconPath("folder", TDEIcon::Small); } TQPixmap icon(icon_str); @@ -402,9 +402,9 @@ void ConfigDialog::editLink(TQListViewItem *item) TQLineEdit *name = new TQLineEdit(linkList[item]->name, main); TQLineEdit *url = new TQLineEdit(linkList[item]->url, main); - KIconButton *icon = new KIconButton(main); + TDEIconButton *icon = new TDEIconButton(main); icon->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum); - icon->setIconType(KIcon::Small, KIcon::Any); + icon->setIconType(TDEIcon::Small, TDEIcon::Any); icon->setStrictIconSize(true); icon->setIcon(linkList[item]->icon); @@ -434,7 +434,7 @@ void ConfigDialog::editLink(TQListViewItem *item) if(!name_str.isEmpty() && !url_str.isEmpty()){ if(icon_str.isEmpty()){ - icon_str = kapp->iconLoader()->iconPath("folder", KIcon::Small); + icon_str = kapp->iconLoader()->iconPath("folder", TDEIcon::Small); } TQPixmap icon(icon_str); -- cgit v1.2.1