diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:51 -0600 |
commit | f2bfcad7ffdd09911f282afe2a2051b3708601c9 (patch) | |
tree | ce4bebc206b6f9753745218e6a4c4368df624c16 /knewstuff | |
parent | a14eaa044240517f1f3d7eb5dacbff96fd447ada (diff) | |
download | tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.tar.gz tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'knewstuff')
-rw-r--r-- | knewstuff/downloaddialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knewstuff/downloaddialog.cpp b/knewstuff/downloaddialog.cpp index af5b2c7c3..4ca68fbcb 100644 --- a/knewstuff/downloaddialog.cpp +++ b/knewstuff/downloaddialog.cpp @@ -242,11 +242,11 @@ void DownloadDialog::addProvider(Provider *p) } else { - pix = TDEGlobal::iconLoader()->loadIcon(p->icon().path(), KIcon::Panel); + pix = TDEGlobal::iconLoader()->loadIcon(p->icon().path(), TDEIcon::Panel); ret = true; } } - if(!ret) pix = TDEGlobal::iconLoader()->loadIcon("knewstuff", KIcon::Panel); + if(!ret) pix = TDEGlobal::iconLoader()->loadIcon("knewstuff", TDEIcon::Panel); frame = addPage(p->name(), p->name(), pix); m_frame = frame; @@ -415,8 +415,8 @@ void DownloadDialog::addEntry(Entry *entry, const TQStringList& variants) installed = installStatus(entry); - if(installed > 0) pix = TDEGlobal::iconLoader()->loadIcon("ok", KIcon::Small); - else if(installed < 0) pix = TDEGlobal::iconLoader()->loadIcon("history", KIcon::Small); + if(installed > 0) pix = TDEGlobal::iconLoader()->loadIcon("ok", TDEIcon::Small); + else if(installed < 0) pix = TDEGlobal::iconLoader()->loadIcon("history", TDEIcon::Small); else pix = TQPixmap(); TQString lang = TDEGlobal::locale()->language(); @@ -550,7 +550,7 @@ void DownloadDialog::install(Entry *e) kapp->config()->writeEntry(m_entryname, TQString(e->releaseDate().toString(Qt::ISODate))); kapp->config()->sync(); - TQPixmap pix = TDEGlobal::iconLoader()->loadIcon("ok", KIcon::Small); + TQPixmap pix = TDEGlobal::iconLoader()->loadIcon("ok", TDEIcon::Small); TQString lang = TDEGlobal::locale()->language(); |