summaryrefslogtreecommitdiffstats
path: root/knotes/knotesapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotesapp.cpp')
-rw-r--r--knotes/knotesapp.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knotes/knotesapp.cpp b/knotes/knotesapp.cpp
index 22ee49fd6..26a02465f 100644
--- a/knotes/knotesapp.cpp
+++ b/knotes/knotesapp.cpp
@@ -18,7 +18,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*******************************************************************/
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <tqptrlist.h>
#include <tqtooltip.h>
@@ -138,7 +138,7 @@ KNotesApp::KNotesApp()
// get the most recent XML UI file
TQString xmlFileName = instance()->instanceName() + "ui.rc";
- TQString filter = TQString::tqfromLatin1( instance()->instanceName() + '/' ) + xmlFileName;
+ TQString filter = TQString::fromLatin1( instance()->instanceName() + '/' ) + xmlFileName;
TQStringList fileList = instance()->dirs()->findAllResources( "data", filter ) +
instance()->dirs()->findAllResources( "data", xmlFileName );
@@ -183,7 +183,7 @@ KNotesApp::KNotesApp()
m_manager->load();
// read the old config files, convert and add them
- KCal::CalendarLocal calendar( TQString::tqfromLatin1( "UTC" ) );
+ KCal::CalendarLocal calendar( TQString::fromLatin1( "UTC" ) );
if ( KNotesLegacy::convert( &calendar ) )
{
KCal::Journal::List notes = calendar.journals();
@@ -253,7 +253,7 @@ TQString KNotesApp::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 );
@@ -266,7 +266,7 @@ TQString KNotesApp::newNote( const TQString& name, const TQString& text )
TQString KNotesApp::newNoteFromClipboard( const TQString& name )
{
- const TQString& text = KApplication::tqclipboard()->text();
+ const TQString& text = KApplication::clipboard()->text();
return newNote( name, text );
}