summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorattachments.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /korganizer/koeditorattachments.cpp
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'korganizer/koeditorattachments.cpp')
-rw-r--r--korganizer/koeditorattachments.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp
index b39d5fe53..fe67a54ec 100644
--- a/korganizer/koeditorattachments.cpp
+++ b/korganizer/koeditorattachments.cpp
@@ -232,7 +232,7 @@ AttachmentEditDialog::AttachmentEditDialog( AttachmentListItem *item,
} else {
uint size = item->attachment()->size();
grid->addWidget( new TQLabel( i18n( "Size:" ), topFrame ), 4, 0 );
- grid->addWidget( new TQLabel( TQString::tqfromLatin1( "%1 (%2)" ).
+ grid->addWidget( new TQLabel( TQString::fromLatin1( "%1 (%2)" ).
arg( KIO::convertSize( size ) ).
arg( KGlobal::locale()->formatNumber(
size, 0 ) ), topFrame ), 4, 2 );
@@ -625,7 +625,7 @@ void KOEditorAttachments::handlePasteOrDrop( TQMimeSource* source )
addUriAttachment( (*it).url(), TQString(), label, true );
}
} else { // we take anything
- addDataAttachment( source->tqencodedData( source->format() ),
+ addDataAttachment( source->encodedData( source->format() ),
source->format(),
KMimeType::mimeType( source->format() )->name() );
}