diff options
Diffstat (limited to 'kontact/plugins/knotes')
-rw-r--r-- | kontact/plugins/knotes/knotes_part.cpp | 2 | ||||
-rw-r--r-- | kontact/plugins/knotes/knotes_part_p.h | 2 | ||||
-rw-r--r-- | kontact/plugins/knotes/knotetip.cpp | 4 | ||||
-rw-r--r-- | kontact/plugins/knotes/summarywidget.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp index 0752ade06..725219f4f 100644 --- a/kontact/plugins/knotes/knotes_part.cpp +++ b/kontact/plugins/knotes/knotes_part.cpp @@ -161,7 +161,7 @@ TQString KNotesPart::newNote( const TQString& name, const TQString& text ) if ( !name.isEmpty() ) journal->setSummary( name ); else - journal->setSummary( KGlobal::locale()->formatDateTime( TQDateTime::currentDateTime() ) ); + journal->setSummary( TDEGlobal::locale()->formatDateTime( TQDateTime::currentDateTime() ) ); // the body of the note journal->setDescription( text ); diff --git a/kontact/plugins/knotes/knotes_part_p.h b/kontact/plugins/knotes/knotes_part_p.h index a9eb11bdb..91c198af2 100644 --- a/kontact/plugins/knotes/knotes_part_p.h +++ b/kontact/plugins/knotes/knotes_part_p.h @@ -68,7 +68,7 @@ class KNotesIconViewItem : public KIconViewItem KIconEffect effect; TQColor color( journal->customProperty( "KNotes", "BgColor" ) ); - TQPixmap icon = KGlobal::iconLoader()->loadIcon( "knotes", KIcon::Desktop ); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "knotes", KIcon::Desktop ); icon = effect.apply( icon, KIconEffect::Colorize, 1, color, false ); setPixmap( icon ); setText( journal->summary() ); diff --git a/kontact/plugins/knotes/knotetip.cpp b/kontact/plugins/knotes/knotetip.cpp index ec77cc509..0c6435341 100644 --- a/kontact/plugins/knotes/knotetip.cpp +++ b/kontact/plugins/knotes/knotetip.cpp @@ -100,7 +100,7 @@ void KNoteTip::setNote( KNotesIconViewItem *item ) while ( w > 60 && h == mPreview->heightForWidth( w - 20 ) ) w -= 20; - TQRect desk = KGlobalSettings::desktopGeometry( mNoteIVI->rect().center() ); + TQRect desk = TDEGlobalSettings::desktopGeometry( mNoteIVI->rect().center() ); resize( w, TQMIN( h, desk.height() / 2 - 20 ) ); hide(); @@ -206,7 +206,7 @@ void KNoteTip::reposition() TQPoint pos = rect.center(); // should the tooltip be shown to the left or to the right of the ivi? - TQRect desk = KGlobalSettings::desktopGeometry( pos ); + TQRect desk = TDEGlobalSettings::desktopGeometry( pos ); if ( rect.center().x() + width() > desk.right() ) { // to the left if ( pos.x() - width() < 0 ) diff --git a/kontact/plugins/knotes/summarywidget.cpp b/kontact/plugins/knotes/summarywidget.cpp index 309904a9b..dd5c78ebe 100644 --- a/kontact/plugins/knotes/summarywidget.cpp +++ b/kontact/plugins/knotes/summarywidget.cpp @@ -50,7 +50,7 @@ KNotesSummaryWidget::KNotesSummaryWidget( Kontact::Plugin *plugin, { TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 ); - TQPixmap icon = KGlobal::iconLoader()->loadIcon( "kontact_notes", + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "kontact_notes", KIcon::Desktop, KIcon::SizeMedium ); TQWidget* header = createHeader( this, icon, i18n( "Notes" ) ); mainLayout->addWidget( header ); |