From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kodemain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kode/kodemain.cpp') diff --git a/kode/kodemain.cpp b/kode/kodemain.cpp index e248a93a..6542c288 100644 --- a/kode/kodemain.cpp +++ b/kode/kodemain.cpp @@ -309,8 +309,8 @@ int codify( KCmdLineArgs *args ) TQTextStream ts( &f ); TQString line; while( !( line = ts.readLine() ).isNull() ) { - line.replace( "\\", "\\\\" ); - line.replace( "\"", "\\\"" ); + line.tqreplace( "\\", "\\\\" ); + line.tqreplace( "\"", "\\\"" ); line = "code += \"" + line; line.append( "\";" ); std::cout << line.local8Bit() << std::endl; @@ -372,7 +372,7 @@ int create( KCmdLineArgs *args ) authorEmail = a.preferredEmail(); } else { KABC::Addressee::List as = - KABC::StdAddressBook::self()->findByEmail( authorEmail ); + KABC::StdAddressBook::self()->tqfindByEmail( authorEmail ); if ( as.isEmpty() ) { kdDebug() << "Unable to find '" << authorEmail << "' in address book." << endl; @@ -384,7 +384,7 @@ int create( KCmdLineArgs *args ) authorName = a.realName(); } if ( !authorEmail.isEmpty() ) { - file.addCopyright( TQDate::currentDate().year(), authorName, authorEmail ); + file.addCopyright( TQDate::tqcurrentDate().year(), authorName, authorEmail ); } KODE::License l; -- cgit v1.2.3