diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:17:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:17:17 -0600 |
commit | fc02f656b0c119d77b36b1f8d160d525eac44614 (patch) | |
tree | 486f6ade10e107f7b64df60172bb4d605c750cea /arts | |
parent | 53a028a0f6e052a78e045d687d0839db8a0f16f0 (diff) | |
download | tdemultimedia-fc02f656b0c119d77b36b1f8d160d525eac44614.tar.gz tdemultimedia-fc02f656b0c119d77b36b1f8d160d525eac44614.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'arts')
-rw-r--r-- | arts/builder/module.cpp | 10 | ||||
-rw-r--r-- | arts/builder/portposdlg.cpp | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/arts/builder/module.cpp b/arts/builder/module.cpp index 099f01e7..e11da759 100644 --- a/arts/builder/module.cpp +++ b/arts/builder/module.cpp @@ -95,7 +95,7 @@ Module::Module(const Arts::ModuleInfo& minfo, Arts::StructureDesc structuredesc, void Module::initModule() { TQString iconname; - KIconLoader iconloader; + TDEIconLoader iconloader; _selected = false; _visible = false; @@ -107,12 +107,12 @@ void Module::initModule() iconname = _name + ".xpm"; - _pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User)); + _pixmap = new TQPixmap(iconloader.loadIcon(iconname, TDEIcon::User)); if(!_pixmap->height()) { iconname = _name + ".png"; delete _pixmap; - _pixmap = new TQPixmap( iconloader.loadIcon( iconname, KIcon::User ) ); + _pixmap = new TQPixmap( iconloader.loadIcon( iconname, TDEIcon::User ) ); if( !_pixmap->height() ) { delete _pixmap; @@ -125,12 +125,12 @@ void Module::initModule() { iconname = iconname.mid(6); - _pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User)); + _pixmap = new TQPixmap(iconloader.loadIcon(iconname, TDEIcon::User)); if(!_pixmap->height()) { iconname.replace( iconname.length() - 4, 3, "png" ); delete _pixmap; - _pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User)); + _pixmap = new TQPixmap(iconloader.loadIcon(iconname, TDEIcon::User)); if( !_pixmap->height() ) { delete _pixmap; diff --git a/arts/builder/portposdlg.cpp b/arts/builder/portposdlg.cpp index b200d812..021d39f3 100644 --- a/arts/builder/portposdlg.cpp +++ b/arts/builder/portposdlg.cpp @@ -114,13 +114,13 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent, bbox->addButton(KStdGuiItem::help(), TQT_TQOBJECT(this), TQT_SLOT( help() )); bbox->addStretch(1); - KIconLoader iconloader; + TDEIconLoader iconloader; TQButton *raise = bbox->addButton(i18n("&Raise")); - raise->setPixmap(iconloader.loadIcon("up", KIcon::Small)); + raise->setPixmap(iconloader.loadIcon("up", TDEIcon::Small)); connect( raise, TQT_SIGNAL( clicked() ), TQT_SLOT( raise() )); TQButton *lower = bbox->addButton(i18n("&Lower")); - lower->setPixmap(iconloader.loadIcon("down", KIcon::Small)); + lower->setPixmap(iconloader.loadIcon("down", TDEIcon::Small)); connect( lower, TQT_SIGNAL( clicked() ), TQT_SLOT( lower() )); TQButton *rename = bbox->addButton(i18n("R&ename...")); |