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 --- kresources/egroupware/debugdialog.cpp | 10 +++++----- kresources/egroupware/kcal_resourcexmlrpc.cpp | 4 ++-- kresources/egroupware/knotes_resourcexmlrpc.cpp | 4 ++-- kresources/egroupware/todostatemapper.cpp | 2 +- kresources/egroupware/xmlrpciface.cpp | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'kresources/egroupware') diff --git a/kresources/egroupware/debugdialog.cpp b/kresources/egroupware/debugdialog.cpp index 9d45dab75..1660c85e0 100644 --- a/kresources/egroupware/debugdialog.cpp +++ b/kresources/egroupware/debugdialog.cpp @@ -38,10 +38,10 @@ DebugDialog::DebugDialog() User1 | User2 | Ok, Ok, true ) { TQWidget *page = plainPage(); - TQVBoxLayout *layout = new TQVBoxLayout( page, marginHint(), spacingHint() ); + TQVBoxLayout *tqlayout = new TQVBoxLayout( page, marginHint(), spacingHint() ); mView = new KTextBrowser( page ); - layout->addWidget( mView ); + tqlayout->addWidget( mView ); setButtonText( User1, "Save As..." ); setButtonText( User2, "Clear" ); @@ -109,9 +109,9 @@ void DebugDialog::slotUser2() void DebugDialog::addText( const TQString &text, Type type ) { TQString htmlCode( text ); - htmlCode.replace( "<", "<" ); - htmlCode.replace( ">", ">" ); - htmlCode.replace( "\n", "
" ); + htmlCode.tqreplace( "<", "<" ); + htmlCode.tqreplace( ">", ">" ); + htmlCode.tqreplace( "\n", "
" ); mMessages.append( text ); if ( type == Input ) diff --git a/kresources/egroupware/kcal_resourcexmlrpc.cpp b/kresources/egroupware/kcal_resourcexmlrpc.cpp index 9072b1666..15864a374 100644 --- a/kresources/egroupware/kcal_resourcexmlrpc.cpp +++ b/kresources/egroupware/kcal_resourcexmlrpc.cpp @@ -239,8 +239,8 @@ bool ResourceXMLRPC::doLoad() mTodoStateMapper.load(); TQMap args, columns; - args.insert( "start", TQDateTime( TQDate::currentDate().addDays( -12 ) ) ); - args.insert( "end", TQDateTime( TQDate::currentDate().addDays( 2000 ) ) ); + args.insert( "start", TQDateTime( TQDate::tqcurrentDate().addDays( -12 ) ) ); + args.insert( "end", TQDateTime( TQDate::tqcurrentDate().addDays( 2000 ) ) ); mServer->call( SearchEventsCommand, args, this, TQT_SLOT( listEventsFinished( const TQValueList&, const TQVariant& ) ), diff --git a/kresources/egroupware/knotes_resourcexmlrpc.cpp b/kresources/egroupware/knotes_resourcexmlrpc.cpp index 774115d27..6446a833d 100644 --- a/kresources/egroupware/knotes_resourcexmlrpc.cpp +++ b/kresources/egroupware/knotes_resourcexmlrpc.cpp @@ -50,7 +50,7 @@ static const TQString DeleteNoteCommand = "infolog.boinfolog.delete"; static const TQString LoadNoteCategoriesCommand = "infolog.boinfolog.categories"; ResourceXMLRPC::ResourceXMLRPC( const KConfig* config ) - : ResourceNotes( config ), mCalendar( TQString::fromLatin1("UTC") ), + : ResourceNotes( config ), mCalendar( TQString::tqfromLatin1("UTC") ), mServer( 0 ) { init(); @@ -65,7 +65,7 @@ ResourceXMLRPC::ResourceXMLRPC( const KConfig* config ) } ResourceXMLRPC::ResourceXMLRPC( ) - : ResourceNotes( 0 ), mCalendar( TQString::fromLatin1("UTC") ), + : ResourceNotes( 0 ), mCalendar( TQString::tqfromLatin1("UTC") ), mServer( 0 ) { init(); diff --git a/kresources/egroupware/todostatemapper.cpp b/kresources/egroupware/todostatemapper.cpp index e983c3c99..5c8fcf84d 100644 --- a/kresources/egroupware/todostatemapper.cpp +++ b/kresources/egroupware/todostatemapper.cpp @@ -139,7 +139,7 @@ int TodoStateMapper::toLocal( const TQString &remoteState ) return 100; else { TQString number( remoteState ); - number.replace( "%", "" ); + number.tqreplace( "%", "" ); return number.toInt(); } } diff --git a/kresources/egroupware/xmlrpciface.cpp b/kresources/egroupware/xmlrpciface.cpp index 2d91edbde..68bade033 100644 --- a/kresources/egroupware/xmlrpciface.cpp +++ b/kresources/egroupware/xmlrpciface.cpp @@ -202,10 +202,10 @@ TQString Query::marshal( const TQVariant &arg ) const case TQVariant::CString: { TQString result = arg.toString(); - result = result.replace( "&", "&" ); - result = result.replace( "\"", """ ); - result = result.replace( "<", "<" ); - result = result.replace( ">", ">" ); + result = result.tqreplace( "&", "&" ); + result = result.tqreplace( "\"", """ ); + result = result.tqreplace( "<", "<" ); + result = result.tqreplace( ">", ">" ); return "" + result + "\r\n"; } case TQVariant::Int: -- cgit v1.2.1