summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorattachments.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorattachments.cpp')
-rw-r--r--korganizer/koeditorattachments.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp
index 0672ba092..d6534db3b 100644
--- a/korganizer/koeditorattachments.cpp
+++ b/korganizer/koeditorattachments.cpp
@@ -330,7 +330,7 @@ AttachmentIconView::AttachmentIconView( KOEditorAttachments* tqparent )
KURL AttachmentIconView::tempFileForAttachment( KCal::Attachment *attachment )
{
- if ( mTempFiles.tqcontains( attachment ) ) {
+ if ( mTempFiles.contains( attachment ) ) {
return mTempFiles[attachment];
}
TQStringList patterns = KMimeType::mimeType( attachment->mimeType() )->patterns();
@@ -606,7 +606,7 @@ void KOEditorAttachments::handlePasteOrDrop( TQMimeSource* source )
for ( KURL::List::ConstIterator it = urls.constBegin();
it != urls.constEnd(); ++it ) {
TQString label = (*jt++);
- if ( mAttachments->tqfindItem( label ) ) {
+ if ( mAttachments->findItem( label ) ) {
label += '~' + randomString( 3 );
}
addUriAttachment( (*it).url(), TQString(), label, true );
@@ -619,7 +619,7 @@ void KOEditorAttachments::handlePasteOrDrop( TQMimeSource* source )
if ( label.isEmpty() ) {
label = (*it).prettyURL();
}
- if ( mAttachments->tqfindItem( label ) ) {
+ if ( mAttachments->findItem( label ) ) {
label += '~' + randomString( 3 );
}
addUriAttachment( (*it).url(), TQString(), label, true );