summaryrefslogtreecommitdiffstats
path: root/kdelirc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
commit34ec7cf1e70300eb43f3822ce3261893f9f8ace6 (patch)
treec7fe414e406e16a97e53d9eed0979d9ea85d2915 /kdelirc
parente6b6046f50ea600fc78e00071e2a79e3c8c08ccd (diff)
downloadtdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.tar.gz
tdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kdelirc')
-rw-r--r--kdelirc/irkick/irkick.cpp2
-rw-r--r--kdelirc/kcmlirc/editmode.cpp2
-rw-r--r--kdelirc/kcmlirc/editmodebase.ui2
-rw-r--r--kdelirc/kcmlirc/kcmlirc.cpp4
4 files changed, 5 insertions, 5 deletions
diff --git a/kdelirc/irkick/irkick.cpp b/kdelirc/irkick/irkick.cpp
index b595066..c2ba916 100644
--- a/kdelirc/irkick/irkick.cpp
+++ b/kdelirc/irkick/irkick.cpp
@@ -172,7 +172,7 @@ void IRKick::updateModeIcons()
currentModeIcons[i.key()]->contextMenu()->changeTitle(0, mode.remoteName());
currentModeIcons[i.key()]->actionCollection()->action("file_quit")->setEnabled(false);
}
- currentModeIcons[i.key()]->setPixmap(KIconLoader().loadIcon(mode.iconFile(), KIcon::Panel));
+ currentModeIcons[i.key()]->setPixmap(TDEIconLoader().loadIcon(mode.iconFile(), TDEIcon::Panel));
TQToolTip::add(currentModeIcons[i.key()], mode.remoteName() + ": <b>" + mode.name() + "</b>");
}
}
diff --git a/kdelirc/kcmlirc/editmode.cpp b/kdelirc/kcmlirc/editmode.cpp
index aad27da..a197bb7 100644
--- a/kdelirc/kcmlirc/editmode.cpp
+++ b/kdelirc/kcmlirc/editmode.cpp
@@ -18,7 +18,7 @@
EditMode::EditMode(TQWidget *parent, const char *name, bool modal, WFlags fl) : EditModeBase(parent, name, modal, fl)
{
- theIcon->setIconType(KIcon::Panel, KIcon::Any);
+ theIcon->setIconType(TDEIcon::Panel, TDEIcon::Any);
}
EditMode::~EditMode()
diff --git a/kdelirc/kcmlirc/editmodebase.ui b/kdelirc/kcmlirc/editmodebase.ui
index 8195eaa..b59533b 100644
--- a/kdelirc/kcmlirc/editmodebase.ui
+++ b/kdelirc/kcmlirc/editmodebase.ui
@@ -85,7 +85,7 @@
</size>
</property>
</spacer>
- <widget class="KIconButton">
+ <widget class="TDEIconButton">
<property name="name">
<cstring>theIcon</cstring>
</property>
diff --git a/kdelirc/kcmlirc/kcmlirc.cpp b/kdelirc/kcmlirc/kcmlirc.cpp
index fc42db5..3858937 100644
--- a/kdelirc/kcmlirc/kcmlirc.cpp
+++ b/kdelirc/kcmlirc/kcmlirc.cpp
@@ -413,7 +413,7 @@ void KCMLirc::updateModes()
{ Mode mode = allModes.getMode(*i, "");
TQListViewItem *a = new TDEListViewItem(theKCMLircBase->theModes, RemoteServer::remoteServer()->getRemoteName(*i), allModes.isDefault(mode) ? "Default" : "", mode.iconFile().isNull() ? "" : "");
if(!mode.iconFile().isNull())
- a->setPixmap(2, KIconLoader().loadIcon(mode.iconFile(), KIcon::Panel));
+ a->setPixmap(2, TDEIconLoader().loadIcon(mode.iconFile(), TDEIcon::Panel));
modeMap[a] = mode; // the null mode
if(modeMap[a] == oldCurrent) { a->setSelected(true); theKCMLircBase->theModes->setCurrentItem(a); }
a->setOpen(true);
@@ -422,7 +422,7 @@ void KCMLirc::updateModes()
if(!(*j).name().isEmpty())
{ TQListViewItem *b = new TDEListViewItem(a, (*j).name(), allModes.isDefault(*j) ? i18n("Default") : "", (*j).iconFile().isNull() ? "" : "");
if(!(*j).iconFile().isNull())
- b->setPixmap(2, KIconLoader().loadIcon((*j).iconFile(), KIcon::Panel));
+ b->setPixmap(2, TDEIconLoader().loadIcon((*j).iconFile(), TDEIcon::Panel));
modeMap[b] = *j;
if(*j == oldCurrent) { b->setSelected(true); theKCMLircBase->theModes->setCurrentItem(b); }
}