summaryrefslogtreecommitdiffstats
path: root/kode/kodemain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kodemain.cpp')
-rw-r--r--kode/kodemain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kode/kodemain.cpp b/kode/kodemain.cpp
index e248a93a6..6542c2881 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;