summaryrefslogtreecommitdiffstats
path: root/kmail/kmcomposewin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r--kmail/kmcomposewin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index f83ac714f..f4ead799a 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -647,15 +647,15 @@ bool KMComposeWin::event(TQEvent *e)
void KMComposeWin::readColorConfig(void)
{
if ( GlobalSettings::self()->useDefaultColors() ) {
- mForeColor = TQColor(kapp->palette().active().text());
- mBackColor = TQColor(kapp->palette().active().base());
+ mForeColor = TQColor(tdeApp->palette().active().text());
+ mBackColor = TQColor(tdeApp->palette().active().base());
} else {
mForeColor = GlobalSettings::self()->foregroundColor();
mBackColor = GlobalSettings::self()->backgroundColor();
}
// Color setup
- mPalette = kapp->palette();
+ mPalette = tdeApp->palette();
TQColorGroup cgrp = mPalette.active();
cgrp.setColor( TQColorGroup::Base, mBackColor);
cgrp.setColor( TQColorGroup::Text, mForeColor);
@@ -2240,7 +2240,7 @@ bool KMComposeWin::queryClose ()
{
if ( !mEditor->checkExternalEditorFinished() )
return false;
- if ( kmkernel->shuttingDown() || kapp->sessionSaving() )
+ if ( kmkernel->shuttingDown() || tdeApp->sessionSaving() )
return true;
if ( mComposer && mComposer->isPerformingSignOperation() ) // since the non-gpg-agent gpg plugin gets a passphrase using TQDialog::exec()
return false; // the user can try to close the window, which destroys mComposer mid-call.
@@ -3830,7 +3830,7 @@ void KMComposeWin::slotCopy()
#endif
TQKeyEvent k(TQEvent::KeyPress, Key_C, 0, ControlButton);
- kapp->notify(fw, &k);
+ tdeApp->notify(fw, &k);
}
@@ -4576,7 +4576,7 @@ void KMComposeWin::insertSignature( SignaturePlacement placement )
//-----------------------------------------------------------------------------
void KMComposeWin::slotHelp()
{
- kapp->invokeHelp();
+ tdeApp->invokeHelp();
}
//-----------------------------------------------------------------------------
@@ -4998,7 +4998,7 @@ void KMComposeWin::slotSpellcheckConfig()
qtd.addTab (&mKSpellConfig, i18n("Spellchecker"));
qtd.setCancelButton ();
- twin.setIcons (qtd.winId(), kapp->icon(), kapp->miniIcon());
+ twin.setIcons (qtd.winId(), tdeApp->icon(), tdeApp->miniIcon());
qtd.setCancelButton(KStdGuiItem::cancel().text());
qtd.setOkButton(KStdGuiItem::ok().text());