diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:20:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:20:11 -0600 |
commit | 1c53bf78a70a66d8ec15a77cbf98606694d7e6e7 (patch) | |
tree | b7ec7a54f705aa5ef6388b9818ae394ba3ca2b9c /lib | |
parent | c46f36d00839916c8b6cde8ed2ca54aeb40dba19 (diff) | |
download | tdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.tar.gz tdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compatibility/knewstuff/downloaddialog.cpp | 8 | ||||
-rw-r--r-- | lib/compatibility/tdemdi/qextmdi/ktabbar.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/compatibility/knewstuff/downloaddialog.cpp b/lib/compatibility/knewstuff/downloaddialog.cpp index 54d82d6e..196b4832 100644 --- a/lib/compatibility/knewstuff/downloaddialog.cpp +++ b/lib/compatibility/knewstuff/downloaddialog.cpp @@ -197,7 +197,7 @@ void DownloadDialog::addProvider(Provider *p) if(!p->icon().isValid()) ret = false; else ret = TDEIO::NetAccess::download(p->icon(), tmp, this); if(ret) pix = TQPixmap(tmp); - else pix = TDEGlobal::iconLoader()->loadIcon("knewstuff", KIcon::Panel); + else pix = TDEGlobal::iconLoader()->loadIcon("knewstuff", TDEIcon::Panel); frame = addPage(p->name(), p->name(), pix); m_frame = frame; @@ -359,8 +359,8 @@ void DownloadDialog::addEntry(Entry *entry) }*/ 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(); TDEListViewItem *tmp_r = new TDEListViewItem(lv_r, @@ -457,7 +457,7 @@ void DownloadDialog::install(Entry *e) kapp->config()->writeEntry(m_entryname, e->releaseDate().toString(Qt::ISODate)); kapp->config()->sync(); - TQPixmap pix = TDEGlobal::iconLoader()->loadIcon("ok", KIcon::Small); + TQPixmap pix = TDEGlobal::iconLoader()->loadIcon("ok", TDEIcon::Small); m_entryitem = lv_r->findItem(m_entryname, 0); if(m_entryitem) m_entryitem->setPixmap(0, pix); m_entryitem = lv_d->findItem(m_entryname, 0); diff --git a/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp b/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp index a3fa51c8..6ef95971 100644 --- a/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp +++ b/lib/compatibility/tdemdi/qextmdi/ktabbar.cpp @@ -190,7 +190,7 @@ void KTabBar::mouseMoveEvent( TQMouseEvent *e ) } mHoverCloseButton = new TQPushButton( this ); - mHoverCloseButton->setIconSet( TDEGlobal::iconLoader()->loadIconSet("fileclose", KIcon::Toolbar, KIcon::SizeSmall) ); + mHoverCloseButton->setIconSet( TDEGlobal::iconLoader()->loadIconSet("fileclose", TDEIcon::Toolbar, TDEIcon::SizeSmall) ); mHoverCloseButton->setGeometry( rect ); TQToolTip::add(mHoverCloseButton,i18n("Close this tab")); mHoverCloseButton->setFlat(true); |