From a9bde819f2b421dcc44741156e75eca4bb5fb4f4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:49:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kmail/kmaccount.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmail/kmaccount.cpp') diff --git a/kmail/kmaccount.cpp b/kmail/kmaccount.cpp index 1ece4c510..e7d884101 100644 --- a/kmail/kmaccount.cpp +++ b/kmail/kmaccount.cpp @@ -51,8 +51,8 @@ KMPrecommand::KMPrecommand(const TQString &precommand, TQObject *parent) mPrecommandProcess.setUseShell(true); mPrecommandProcess << precommand; - connect(&mPrecommandProcess, TQT_SIGNAL(processExited(KProcess *)), - TQT_SLOT(precommandExited(KProcess *))); + connect(&mPrecommandProcess, TQT_SIGNAL(processExited(TDEProcess *)), + TQT_SLOT(precommandExited(TDEProcess *))); } //----------------------------------------------------------------------------- @@ -64,7 +64,7 @@ KMPrecommand::~KMPrecommand() //----------------------------------------------------------------------------- bool KMPrecommand::start() { - bool ok = mPrecommandProcess.start( KProcess::NotifyOnExit ); + bool ok = mPrecommandProcess.start( TDEProcess::NotifyOnExit ); if (!ok) KMessageBox::error(0, i18n("Could not execute precommand '%1'.") .arg(mPrecommand)); return ok; @@ -72,7 +72,7 @@ bool KMPrecommand::start() //----------------------------------------------------------------------------- -void KMPrecommand::precommandExited(KProcess *p) +void KMPrecommand::precommandExited(TDEProcess *p) { int exitCode = p->normalExit() ? p->exitStatus() : -1; if (exitCode) -- cgit v1.2.1