From 4c6f8d69e2d1501837affb472c4eb8fec4462240 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/attachmenthandler.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libkcal/attachmenthandler.cpp') diff --git a/libkcal/attachmenthandler.cpp b/libkcal/attachmenthandler.cpp index 4922cb12..a465a774 100644 --- a/libkcal/attachmenthandler.cpp +++ b/libkcal/attachmenthandler.cpp @@ -47,7 +47,7 @@ namespace KCal { -Attachment *AttachmentHandler::tqfind( TQWidget *tqparent, const TQString &attachmentName, +Attachment *AttachmentHandler::find( TQWidget *tqparent, const TQString &attachmentName, Incidence *incidence ) { if ( !incidence ) { @@ -86,7 +86,7 @@ Attachment *AttachmentHandler::tqfind( TQWidget *tqparent, const TQString &attac return a; } -Attachment *AttachmentHandler::tqfind( TQWidget *tqparent, +Attachment *AttachmentHandler::find( TQWidget *tqparent, const TQString &attachmentName, const TQString &uid ) { if ( uid.isEmpty() ) { @@ -105,10 +105,10 @@ Attachment *AttachmentHandler::tqfind( TQWidget *tqparent, return 0; } - return tqfind( tqparent, attachmentName, incidence ); + return find( tqparent, attachmentName, incidence ); } -Attachment *AttachmentHandler::tqfind( TQWidget *tqparent, const TQString &attachmentName, +Attachment *AttachmentHandler::find( TQWidget *tqparent, const TQString &attachmentName, ScheduleMessage *message ) { if ( !message ) { @@ -124,7 +124,7 @@ Attachment *AttachmentHandler::tqfind( TQWidget *tqparent, const TQString &attac return 0; } - return tqfind( tqparent, attachmentName, incidence ); + return find( tqparent, attachmentName, incidence ); } static KTempFile *s_tempFile = 0; @@ -185,18 +185,18 @@ bool AttachmentHandler::view( TQWidget *tqparent, Attachment *attachment ) bool AttachmentHandler::view( TQWidget *tqparent, const TQString &attachmentName, Incidence *incidence ) { - return view( tqparent, tqfind( tqparent, attachmentName, incidence ) ); + return view( tqparent, find( tqparent, attachmentName, incidence ) ); } bool AttachmentHandler::view( TQWidget *tqparent, const TQString &attachmentName, const TQString &uid ) { - return view( tqparent, tqfind( tqparent, attachmentName, uid ) ); + return view( tqparent, find( tqparent, attachmentName, uid ) ); } bool AttachmentHandler::view( TQWidget *tqparent, const TQString &attachmentName, ScheduleMessage *message ) { - return view( tqparent, tqfind( tqparent, attachmentName, message ) ); + return view( tqparent, find( tqparent, attachmentName, message ) ); } bool AttachmentHandler::saveAs( TQWidget *tqparent, Attachment *attachment ) @@ -240,18 +240,18 @@ bool AttachmentHandler::saveAs( TQWidget *tqparent, Attachment *attachment ) bool AttachmentHandler::saveAs( TQWidget *tqparent, const TQString &attachmentName, Incidence *incidence ) { - return saveAs( tqparent, tqfind( tqparent, attachmentName, incidence ) ); + return saveAs( tqparent, find( tqparent, attachmentName, incidence ) ); } bool AttachmentHandler::saveAs( TQWidget *tqparent, const TQString &attachmentName, const TQString &uid ) { - return saveAs( tqparent, tqfind( tqparent, attachmentName, uid ) ); + return saveAs( tqparent, find( tqparent, attachmentName, uid ) ); } bool AttachmentHandler::saveAs( TQWidget *tqparent, const TQString &attachmentName, ScheduleMessage *message ) { - return saveAs( tqparent, tqfind( tqparent, attachmentName, message ) ); + return saveAs( tqparent, find( tqparent, attachmentName, message ) ); } } -- cgit v1.2.3