summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorattachments.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /korganizer/koeditorattachments.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'korganizer/koeditorattachments.cpp')
-rw-r--r--korganizer/koeditorattachments.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp
index 08e80b101..b39d5fe53 100644
--- a/korganizer/koeditorattachments.cpp
+++ b/korganizer/koeditorattachments.cpp
@@ -58,14 +58,14 @@
#include <tqcheckbox.h>
#include <tqfile.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlistview.h>
#include <tqpushbutton.h>
#include <tqdragobject.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqapplication.h>
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <cassert>
#include <cstdlib>
@@ -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::fromLatin1( "%1 (%2)" ).
+ grid->addWidget( new TQLabel( TQString::tqfromLatin1( "%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->encodedData( source->format() ),
+ addDataAttachment( source->tqencodedData( source->format() ),
source->format(),
KMimeType::mimeType( source->format() )->name() );
}
@@ -718,7 +718,7 @@ void KOEditorAttachments::slotRemove()
if ( KMessageBox::questionYesNo(
this,
- i18n( "<qt>Do you really want to remove these attachments?<p>%1</qt>" ).arg( labelsStr ),
+ i18n( "<qt>Do you really want to remove these attachments?<p>%1</qt>" ).tqarg( labelsStr ),
i18n( "Remove Attachment?" ),
KStdGuiItem::yes(), KStdGuiItem::no(),
"calendarRemoveAttachments" ) != KMessageBox::Yes ) {
@@ -874,7 +874,7 @@ void KOEditorAttachments::writeIncidence( KCal::Incidence *i )
void KOEditorAttachments::slotCopy()
{
- TQApplication::clipboard()->setData( mAttachments->mimeData(), TQClipboard::Clipboard );
+ TQApplication::tqclipboard()->setData( mAttachments->mimeData(), TQClipboard::Clipboard );
}
void KOEditorAttachments::slotCut()
@@ -885,7 +885,7 @@ void KOEditorAttachments::slotCut()
void KOEditorAttachments::slotPaste()
{
- handlePasteOrDrop( TQApplication::clipboard()->data() );
+ handlePasteOrDrop( TQApplication::tqclipboard()->data() );
}
void KOEditorAttachments::selectionChanged()