diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:44 -0600 |
commit | 799fae5feea55e95876c3722c79fd7dabadd2cd6 (patch) | |
tree | 5fbd41b26e477d4bc6b5aa7ef1aebcc714127def /parts/filecreate/filecreate_listitem.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_listitem.cpp')
-rw-r--r-- | parts/filecreate/filecreate_listitem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/filecreate/filecreate_listitem.cpp b/parts/filecreate/filecreate_listitem.cpp index d792ab26..6dd1e35a 100644 --- a/parts/filecreate/filecreate_listitem.cpp +++ b/parts/filecreate/filecreate_listitem.cpp @@ -82,10 +82,10 @@ namespace FileCreate { setText(0, m_filetype->ext()!="" ? TQString("." + m_filetype->ext()) : TQString("") ); setText(1, "<qt><b>"+m_filetype->name()+"</b>. " + m_filetype->descr() ); - KIconLoader * loader = TDEGlobal::iconLoader(); - TQPixmap iconPix = loader->loadIcon(m_filetype->icon(), KIcon::Desktop, - KIcon::SizeMedium, - KIcon::DefaultState, NULL, + TDEIconLoader * loader = TDEGlobal::iconLoader(); + TQPixmap iconPix = loader->loadIcon(m_filetype->icon(), TDEIcon::Desktop, + TDEIcon::SizeMedium, + TDEIcon::DefaultState, NULL, true); if (!iconPix.isNull()) { setPixmap(0, iconPix); |