From dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:08:40 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- src/progs/gui/prog_config_center.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/progs/gui/prog_config_center.cpp') 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(_tabWidget); static_cast(_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); -- cgit v1.2.1