diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:08:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:08:40 -0600 |
commit | dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1 (patch) | |
tree | 18ba70f38844c0b7b78264e28284da691c760e0f /src/progs | |
parent | 08396682f3324c6c1266be6a084793b261ada6a4 (diff) | |
download | piklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.tar.gz piklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/gui/debug_config_center.cpp | 4 | ||||
-rw-r--r-- | src/progs/gui/prog_config_center.cpp | 16 | ||||
-rw-r--r-- | src/progs/gui/prog_group_ui.cpp | 6 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/progs/gui/debug_config_center.cpp b/src/progs/gui/debug_config_center.cpp index a35eeba..c5b1150 100644 --- a/src/progs/gui/debug_config_center.cpp +++ b/src/progs/gui/debug_config_center.cpp @@ -12,6 +12,6 @@ TQPixmap Debugger::OptionsConfigWidget::pixmap() const { - KIconLoader loader; - return loader.loadIcon("piklab_config_debugger", KIcon::Toolbar, KIcon::SizeMedium); + TDEIconLoader loader; + return loader.loadIcon("piklab_config_debugger", TDEIcon::Toolbar, TDEIcon::SizeMedium); } 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); diff --git a/src/progs/gui/prog_group_ui.cpp b/src/progs/gui/prog_group_ui.cpp index b1ecc92..e22a4b0 100644 --- a/src/progs/gui/prog_group_ui.cpp +++ b/src/progs/gui/prog_group_ui.cpp @@ -51,8 +51,8 @@ Programmer::AdvancedDialog::AdvancedDialog(Base &base, TQWidget *parent, const c _base(base), _calEditor(0) { // programmer - KIconLoader loader; - TQPixmap pixmap = loader.loadIcon("piklab_burnchip", KIcon::Toolbar, KIcon::SizeMedium); + TDEIconLoader loader; + TQPixmap pixmap = loader.loadIcon("piklab_burnchip", TDEIcon::Toolbar, TDEIcon::SizeMedium); TQFrame *page = addPage(i18n("Programmer"), _base.group().label(), pixmap); TQVBoxLayout *vbox = new TQVBoxLayout(page); _programmerContainer = new Container(page); @@ -88,7 +88,7 @@ Programmer::AdvancedDialog::AdvancedDialog(Base &base, TQWidget *parent, const c } else _selfTestContainer = 0; // calibration - pixmap = loader.loadIcon("configure", KIcon::Toolbar, KIcon::SizeMedium); + pixmap = loader.loadIcon("configure", TDEIcon::Toolbar, TDEIcon::SizeMedium); page = addPage(i18n("Calibration"), i18n("Calibration"), pixmap); vbox = new TQVBoxLayout(page); _calibrationContainer = new Container(page); |