summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes/knotetip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/knotes/knotetip.cpp')
-rw-r--r--kontact/plugins/knotes/knotetip.cpp4
1 files changed, 2 insertions, 2 deletions
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 )