From a9bde819f2b421dcc44741156e75eca4bb5fb4f4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:49:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kmail/recipientspicker.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmail/recipientspicker.cpp') diff --git a/kmail/recipientspicker.cpp b/kmail/recipientspicker.cpp index d6181a08..de577a7c 100644 --- a/kmail/recipientspicker.cpp +++ b/kmail/recipientspicker.cpp @@ -63,7 +63,7 @@ void RecipientItem::setDistributionList( KPIM::DistributionList &list ) { mDistributionList = list; - mIcon = KGlobal::iconLoader()->loadIcon( "tdmconfig", KIcon::Small ); + mIcon = TDEGlobal::iconLoader()->loadIcon( "tdmconfig", KIcon::Small ); mName = list.name(); mKey = list.name(); @@ -80,7 +80,7 @@ void RecipientItem::setDistributionList( KABC::DistributionList *list ) { mDistributionList = list; - mIcon = KGlobal::iconLoader()->loadIcon( "tdmconfig", KIcon::Small ); + mIcon = TDEGlobal::iconLoader()->loadIcon( "tdmconfig", KIcon::Small ); mName = list->name(); mKey = list->name(); @@ -105,7 +105,7 @@ void RecipientItem::setAddressee( const KABC::Addressee &a, if ( !img.isNull() ) mIcon = img.smoothScale( 20, 20, TQ_ScaleMin ); else - mIcon = KGlobal::iconLoader()->loadIcon( "personal", KIcon::Small ); + mIcon = TDEGlobal::iconLoader()->loadIcon( "personal", KIcon::Small ); mName = mAddressee.realName(); mKey = mAddressee.realName() + '|' + mEmail; @@ -372,7 +372,7 @@ RecipientsPicker::RecipientsPicker( TQWidget *parent ) TQBoxLayout *searchLayout = new TQHBoxLayout( topLayout ); TQToolButton *button = new TQToolButton( this ); - button->setIconSet( KGlobal::iconLoader()->loadIconSet( + button->setIconSet( TDEGlobal::iconLoader()->loadIconSet( TDEApplication::reverseLayout() ? "clear_left":"locationbar_erase", KIcon::Small, 0 ) ); searchLayout->addWidget( button ); connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( resetSearch() ) ); @@ -810,7 +810,7 @@ void RecipientsPicker::keyPressEvent( TQKeyEvent *ev ) void RecipientsPicker::readConfig() { - KConfig *cfg = KGlobal::config(); + KConfig *cfg = TDEGlobal::config(); cfg->setGroup( "RecipientsPicker" ); TQSize size = cfg->readSizeEntry( "Size" ); if ( !size.isEmpty() ) { @@ -825,7 +825,7 @@ void RecipientsPicker::readConfig() void RecipientsPicker::writeConfig() { - KConfig *cfg = KGlobal::config(); + KConfig *cfg = TDEGlobal::config(); cfg->setGroup( "RecipientsPicker" ); cfg->writeEntry( "Size", size() ); cfg->writeEntry( "CurrentCollection", mCollectionCombo->currentItem() ); -- cgit v1.2.3