summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes/knotes_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/knotes/knotes_part.cpp')
-rw-r--r--kontact/plugins/knotes/knotes_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp
index d4a5e8547..ef70e8f56 100644
--- a/kontact/plugins/knotes/knotes_part.cpp
+++ b/kontact/plugins/knotes/knotes_part.cpp
@@ -139,7 +139,7 @@ void KNotesPart::printSelectedNotes()
//printer.setFont( m_config->font() );
//printer.setContext( m_editor->context() );
//printer.setStyleSheet( m_editor->styleSheet() );
- printer.setColorGroup( colorGroup() );
+ printer.tqsetColorGroup( tqcolorGroup() );
printer.printNote( , content );
#endif
}
@@ -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( KGlobal::locale()->formatDateTime( TQDateTime::tqcurrentDateTime() ) );
// the body of the note
journal->setDescription( text );