From b97ee238f88e9578da228388210cd8cab5360778 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:18:14 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kontact/plugins/specialdates/sdsummarywidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kontact/plugins/specialdates') diff --git a/kontact/plugins/specialdates/sdsummarywidget.cpp b/kontact/plugins/specialdates/sdsummarywidget.cpp index e55f19359..80e0f1465 100644 --- a/kontact/plugins/specialdates/sdsummarywidget.cpp +++ b/kontact/plugins/specialdates/sdsummarywidget.cpp @@ -85,7 +85,7 @@ SDSummaryWidget::SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent, TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 ); TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "cookie", - KIcon::Desktop, KIcon::SizeMedium ); + TDEIcon::Desktop, TDEIcon::SizeMedium ); TQWidget *header = createHeader( this, icon, i18n( "Special Dates" ) ); mainLayout->addWidget(header); @@ -219,7 +219,7 @@ void SDSummaryWidget::updateView() mLabels.clear(); mLabels.setAutoDelete( false ); - KIconLoader loader( "tdepim" ); + TDEIconLoader loader( "tdepim" ); KABC::StdAddressBook *ab = KABC::StdAddressBook::self( true ); TQValueList dates; @@ -425,7 +425,7 @@ void SDSummaryWidget::updateView() label = new TQLabel( this ); if ( icon_img.isNull() ) { label->setPixmap( TDEGlobal::iconLoader()->loadIcon( icon_name, - KIcon::Small ) ); + TDEIcon::Small ) ); } else { label->setPixmap( icon_img ); } @@ -575,9 +575,9 @@ void SDSummaryWidget::viewContact( const TQString &uid ) void SDSummaryWidget::popupMenu( const TQString &uid ) { TDEPopupMenu popup( this ); - popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "kmail", KIcon::Small ), + popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "kmail", TDEIcon::Small ), i18n( "Send &Mail" ), 0 ); - popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "kaddressbook", KIcon::Small ), + popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "kaddressbook", TDEIcon::Small ), i18n( "View &Contact" ), 1 ); switch ( popup.exec( TQCursor::pos() ) ) { -- cgit v1.2.1