diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
commit | 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch) | |
tree | 4138783f7dad757fc5fbfaa8d66a355288d3125e /kmail/kmedit.cpp | |
parent | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff) | |
download | tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kmail/kmedit.cpp')
-rw-r--r-- | kmail/kmedit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmedit.cpp b/kmail/kmedit.cpp index df9582436..bcc95d0a8 100644 --- a/kmail/kmedit.cpp +++ b/kmail/kmedit.cpp @@ -169,7 +169,7 @@ void KMEdit::contentsDropEvent(TQDropEvent *e) command->start(); } else if( e->provides("image/png") ) { - emit attachPNGImageData(e->tqencodedData("image/png")); + emit attachPNGImageData(e->encodedData("image/png")); } else if( KURLDrag::canDecode( e ) ) { KURL::List urlList; @@ -454,7 +454,7 @@ bool KMEdit::eventFilter(TQObject*o, TQEvent* e) TQT_SLOT(slotExternalEditorDone(KProcess*))); if (!mExtEditorProcess->start()) { - KMessageBox::error( tqtopLevelWidget(), + KMessageBox::error( topLevelWidget(), i18n("Unable to start external editor.") ); killExternalEditor(); } else { @@ -627,7 +627,7 @@ void KMEdit::killExternalEditor() { bool KMEdit::checkExternalEditorFinished() { if ( !mExtEditorProcess ) return true; - switch ( KMessageBox::warningYesNoCancel( tqtopLevelWidget(), + switch ( KMessageBox::warningYesNoCancel( topLevelWidget(), i18n("The external editor is still running.\n" "Abort the external editor or leave it open?"), i18n("External Editor"), @@ -880,7 +880,7 @@ void KMEdit::slotSpellDone() mComposer->sujectLineWidget()->deselect(); if (status == KSpell::Error) { - KMessageBox::sorry( tqtopLevelWidget(), + KMessageBox::sorry( topLevelWidget(), i18n("ISpell/Aspell could not be started. Please " "make sure you have ISpell or Aspell properly " "configured and in your PATH.") ); @@ -889,7 +889,7 @@ void KMEdit::slotSpellDone() else if (status == KSpell::Crashed) { spellcheck_stop(); - KMessageBox::sorry( tqtopLevelWidget(), + KMessageBox::sorry( topLevelWidget(), i18n("ISpell/Aspell seems to have crashed.") ); emit spellcheck_done( KS_CANCEL ); } @@ -898,7 +898,7 @@ void KMEdit::slotSpellDone() if( mSpellLineEdit ) spellcheck(); else if( !mComposer->subjectTextWasSpellChecked() && status == KSpell::FinishedNoMisspellingsEncountered ) - KMessageBox::information( tqtopLevelWidget(), + KMessageBox::information( topLevelWidget(), i18n("No misspellings encountered.") ); } } |