summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/sidebar/metabar')
-rw-r--r--konq-plugins/sidebar/metabar/src/configdialog.cpp12
-rw-r--r--konq-plugins/sidebar/metabar/src/protocolplugin.cpp4
2 files changed, 8 insertions, 8 deletions
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);
diff --git a/konq-plugins/sidebar/metabar/src/protocolplugin.cpp b/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
index ce3844a..a08a01c 100644
--- a/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
+++ b/konq-plugins/sidebar/metabar/src/protocolplugin.cpp
@@ -61,10 +61,10 @@ void ProtocolPlugin::setFileItems(const KFileItemList &items)
if(!icon.isNull()){
TQPixmap pix;
if(m_items.count() == 1){
- pix = m_items.getFirst()->pixmap(KIcon::SizeLarge);
+ pix = m_items.getFirst()->pixmap(TDEIcon::SizeLarge);
}
else{
- pix = DesktopIcon("tdemultiple", KIcon::SizeLarge);
+ pix = DesktopIcon("tdemultiple", TDEIcon::SizeLarge);
}
TQByteArray data;