summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes/knotes_part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kontact/plugins/knotes/knotes_part.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kontact/plugins/knotes/knotes_part.cpp')
-rw-r--r--kontact/plugins/knotes/knotes_part.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/plugins/knotes/knotes_part.cpp b/kontact/plugins/knotes/knotes_part.cpp
index 769c1acf5..a723ef31d 100644
--- a/kontact/plugins/knotes/knotes_part.cpp
+++ b/kontact/plugins/knotes/knotes_part.cpp
@@ -20,7 +20,7 @@
*/
#include <tqpopupmenu.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <kapplication.h>
#include <kdebug.h>
@@ -139,7 +139,7 @@ void KNotesPart::printSelectedNotes()
//printer.setFont( m_config->font() );
//printer.setContext( m_editor->context() );
//printer.setStyleSheet( m_editor->styleSheet() );
- printer.tqsetColorGroup( tqcolorGroup() );
+ printer.setColorGroup( colorGroup() );
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::tqcurrentDateTime() ) );
+ journal->setSummary( KGlobal::locale()->formatDateTime( TQDateTime::currentDateTime() ) );
// the body of the note
journal->setDescription( text );
@@ -201,7 +201,7 @@ TQString KNotesPart::newNote( const TQString& name, const TQString& text )
TQString KNotesPart::newNoteFromClipboard( const TQString& name )
{
- const TQString& text = KApplication::tqclipboard()->text();
+ const TQString& text = KApplication::clipboard()->text();
return newNote( name, text );
}