summaryrefslogtreecommitdiffstats
path: root/libtdepim/addresseeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/addresseeview.cpp')
-rw-r--r--libtdepim/addresseeview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libtdepim/addresseeview.cpp b/libtdepim/addresseeview.cpp
index b3bccffad..5be001a67 100644
--- a/libtdepim/addresseeview.cpp
+++ b/libtdepim/addresseeview.cpp
@@ -62,7 +62,7 @@ AddresseeView::AddresseeView( TQWidget *parent, const char *name,
TQStyleSheet *sheet = styleSheet();
TQStyleSheetItem *link = sheet->item( "a" );
- link->setColor( KGlobalSettings::linkColor() );
+ link->setColor( TDEGlobalSettings::linkColor() );
connect( this, TQT_SIGNAL( mailClick( const TQString&, const TQString& ) ),
this, TQT_SLOT( slotMailClicked( const TQString&, const TQString& ) ) );
@@ -160,13 +160,13 @@ TQString AddresseeView::vCardAsHTML( const KABC::Addressee& addr, ::KIMProxy *pr
// placeholder where we fill in something else (in this case,
// the global background color).
//
- TQString backgroundColor = KGlobalSettings::alternateBackgroundColor().name();
+ TQString backgroundColor = TDEGlobalSettings::alternateBackgroundColor().name();
TQString cellStyle = TQString::fromLatin1(
"style=\""
"padding-right: 2px; "
"border-right: #000 dashed 1px; "
"background: %1;\"").arg(backgroundColor);
- TQString backgroundColor2 = KGlobalSettings::baseColor().name();
+ TQString backgroundColor2 = TDEGlobalSettings::baseColor().name();
TQString cellStyle2 = TQString::fromLatin1(
"style=\""
"padding-left: 2px; "
@@ -207,7 +207,7 @@ TQString AddresseeView::vCardAsHTML( const KABC::Addressee& addr, ::KIMProxy *pr
} else if ( !pic.url().isEmpty() ) {
image = (pic.url().startsWith( "http://" ) || pic.url().startsWith( "https://" ) ? pic.url() : "http://" + pic.url());
} else {
- image = "file:" + KGlobal::iconLoader()->iconPath( "personal", KIcon::Desktop );
+ image = "file:" + TDEGlobal::iconLoader()->iconPath( "personal", KIcon::Desktop );
}
}
@@ -217,7 +217,7 @@ TQString AddresseeView::vCardAsHTML( const KABC::Addressee& addr, ::KIMProxy *pr
if ( date.isValid() )
dynamicPart += rowFmtStr
.arg( KABC::Addressee::birthdayLabel() )
- .arg( KGlobal::locale()->formatDate( date, true ) );
+ .arg( TDEGlobal::locale()->formatDate( date, true ) );
}
if ( fieldMask & PhoneFields ) {
@@ -532,8 +532,8 @@ void AddresseeView::updateView()
"%3" // dynamic part
"</body>"
"</html>" )
- .arg( KGlobalSettings::textColor().name() )
- .arg( KGlobalSettings::baseColor().name() )
+ .arg( TDEGlobalSettings::textColor().name() )
+ .arg( TDEGlobalSettings::baseColor().name() )
.arg( strAddr );
TQString imageURL = TQString( "contact_%1_image" ).arg( mAddressee.uid() );
@@ -554,7 +554,7 @@ void AddresseeView::updateView()
}
} else {
TQMimeSourceFactory::defaultFactory()->setPixmap( imageURL,
- KGlobal::iconLoader()->loadIcon( "personal", KIcon::Desktop, 128 ) );
+ TDEGlobal::iconLoader()->loadIcon( "personal", KIcon::Desktop, 128 ) );
}
}