summaryrefslogtreecommitdiffstats
path: root/src/progs/gui/prog_config_center.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:08:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:08:40 -0600
commitdca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1 (patch)
tree18ba70f38844c0b7b78264e28284da691c760e0f /src/progs/gui/prog_config_center.cpp
parent08396682f3324c6c1266be6a084793b261ada6a4 (diff)
downloadpiklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.tar.gz
piklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/progs/gui/prog_config_center.cpp')
-rw-r--r--src/progs/gui/prog_config_center.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/progs/gui/prog_config_center.cpp b/src/progs/gui/prog_config_center.cpp
index 5e5ca96..bd876c2 100644
--- a/src/progs/gui/prog_config_center.cpp
+++ b/src/progs/gui/prog_config_center.cpp
@@ -27,8 +27,8 @@
//----------------------------------------------------------------------------
TQPixmap Programmer::OptionsConfigWidget::pixmap() const
{
- KIconLoader loader;
- return loader.loadIcon("piklab_config_programmer", KIcon::Toolbar, KIcon::SizeMedium);
+ TDEIconLoader loader;
+ return loader.loadIcon("piklab_config_programmer", TDEIcon::Toolbar, TDEIcon::SizeMedium);
}
//----------------------------------------------------------------------------
@@ -59,8 +59,8 @@ Programmer::SelectConfigWidget::SelectConfigWidget()
// specific programmer config
_stack = new KeyWidgetStack<TQString>(_tabWidget);
static_cast<TQFrame *>(_stack->widget())->setMargin(10);
- KIconLoader loader;
- TQPixmap icon = loader.loadIcon("configure", KIcon::Small);
+ TDEIconLoader loader;
+ TQPixmap icon = loader.loadIcon("configure", TDEIcon::Small);
_tabWidget->addTab(_stack->widget(), icon, i18n("Specific"));
::Programmer::Lister::ConstIterator it;
for (it=::Programmer::lister().begin(); it!=::Programmer::lister().end(); ++it) {
@@ -91,8 +91,8 @@ void Programmer::SelectConfigWidget::portChanged()
TQPixmap Programmer::SelectConfigWidget::pixmap() const
{
- KIconLoader loader;
- return loader.loadIcon("piklab_config_programmer", KIcon::Toolbar, KIcon::SizeMedium);
+ TDEIconLoader loader;
+ return loader.loadIcon("piklab_config_programmer", TDEIcon::Toolbar, TDEIcon::SizeMedium);
}
void Programmer::SelectConfigWidget::saveConfig()
@@ -111,8 +111,8 @@ void Programmer::SelectConfigWidget::programmerChanged()
bool hasTab = ( _tabWidget->indexOf(_portSelectorContainer)!=-1 );
if (isHardware) {
if ( !hasTab ) {
- KIconLoader loader;
- TQPixmap icon = loader.loadIcon("connect_creating", KIcon::Small);
+ TDEIconLoader loader;
+ TQPixmap icon = loader.loadIcon("connect_creating", TDEIcon::Small);
_tabWidget->insertTab(_portSelectorContainer, icon, i18n("Port Selection"), 0);
}
} else if (hasTab) _tabWidget->removePage(_portSelectorContainer);