diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:19:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:19:44 -0600 |
commit | 799fae5feea55e95876c3722c79fd7dabadd2cd6 (patch) | |
tree | 5fbd41b26e477d4bc6b5aa7ef1aebcc714127def /parts/filecreate/filecreate_part.cpp | |
parent | 9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff) | |
download | tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'parts/filecreate/filecreate_part.cpp')
-rw-r--r-- | parts/filecreate/filecreate_part.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp index 50009952..9b99c83a 100644 --- a/parts/filecreate/filecreate_part.cpp +++ b/parts/filecreate/filecreate_part.cpp @@ -120,7 +120,7 @@ void FileCreatePart::insertConfigWidget( const KDialogBase * dlg, TQWidget * pag void FileCreatePart::slotAboutToShowNewPopupMenu() { - KIconLoader * m_iconLoader = TDEGlobal::iconLoader(); + TDEIconLoader * m_iconLoader = TDEGlobal::iconLoader(); m_newPopupMenu->clear(); delete m_subPopups; m_subPopups = NULL; @@ -133,8 +133,8 @@ void FileCreatePart::slotAboutToShowNewPopupMenu() if (filetype->subtypes().count()==0) { TQPixmap iconPix = m_iconLoader->loadIcon( - filetype->icon(), KIcon::Desktop, KIcon::SizeSmall, - KIcon::DefaultState, NULL, true); + filetype->icon(), TDEIcon::Desktop, TDEIcon::SizeSmall, + TDEIcon::DefaultState, NULL, true); m_newPopupMenu->insertItem(iconPix, filetype->name(), this, TQT_SLOT(slotNewFilePopup(int)), 0, ++id ); m_newPopupMenu->setItemParameter( id, (long)filetype ); @@ -148,8 +148,8 @@ void FileCreatePart::slotAboutToShowNewPopupMenu() if( !subMenu ) subMenu = new TDEPopupMenu(0,0); TQPixmap iconPix = m_iconLoader->loadIcon( - subtype->icon(), KIcon::Desktop, KIcon::SizeSmall, - KIcon::DefaultState, NULL, true); + subtype->icon(), TDEIcon::Desktop, TDEIcon::SizeSmall, + TDEIcon::DefaultState, NULL, true); subMenu->insertItem(iconPix, subtype->name(), this, TQT_SLOT(slotNewFilePopup(int)), 0, ++id ); subMenu->setItemParameter( id, (long)subtype ); |