summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kresources/egroupware
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
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
Diffstat (limited to 'kresources/egroupware')
-rw-r--r--kresources/egroupware/debugdialog.cpp10
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpc.cpp4
-rw-r--r--kresources/egroupware/knotes_resourcexmlrpc.cpp4
-rw-r--r--kresources/egroupware/todostatemapper.cpp2
-rw-r--r--kresources/egroupware/xmlrpciface.cpp8
5 files changed, 14 insertions, 14 deletions
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( "<", "&lt;" );
- htmlCode.replace( ">", "&gt;" );
- htmlCode.replace( "\n", "<br>" );
+ htmlCode.tqreplace( "<", "&lt;" );
+ htmlCode.tqreplace( ">", "&gt;" );
+ htmlCode.tqreplace( "\n", "<br>" );
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<TQString, TQVariant> 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<TQVariant>&, 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( "&", "&amp;" );
- result = result.replace( "\"", "&quot;" );
- result = result.replace( "<", "&lt;" );
- result = result.replace( ">", "&gt;" );
+ result = result.tqreplace( "&", "&amp;" );
+ result = result.tqreplace( "\"", "&quot;" );
+ result = result.tqreplace( "<", "&lt;" );
+ result = result.tqreplace( ">", "&gt;" );
return "<value><string>" + result + "</string></value>\r\n";
}
case TQVariant::Int: