diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /libkcal/attachmenthandler.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
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
Diffstat (limited to 'libkcal/attachmenthandler.cpp')
-rw-r--r-- | libkcal/attachmenthandler.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libkcal/attachmenthandler.cpp b/libkcal/attachmenthandler.cpp index 4922cb12d..a465a7748 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 ) ); } } |