summaryrefslogtreecommitdiffstats
path: root/kmail/kmedit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
commita9bde819f2b421dcc44741156e75eca4bb5fb4f4 (patch)
treed087071b1e8fcf79698938efec19f8e48bab0799 /kmail/kmedit.cpp
parent5c4a80ead2b1fe57dc6a8c29d0368792344cd61e (diff)
downloadtdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.tar.gz
tdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmail/kmedit.cpp')
-rw-r--r--kmail/kmedit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmedit.cpp b/kmail/kmedit.cpp
index 99382915..e4fb4689 100644
--- a/kmail/kmedit.cpp
+++ b/kmail/kmedit.cpp
@@ -442,7 +442,7 @@ bool KMEdit::eventFilter(TQObject*o, TQEvent* e)
mExtEditorTempFile->close();
// replace %f in the system line
sysLine.replace( "%f", mExtEditorTempFile->name() );
- mExtEditorProcess = new KProcess();
+ mExtEditorProcess = new TDEProcess();
mExtEditorProcess->setUseShell( true );
sysLine += " ";
while (!sysLine.isEmpty())
@@ -450,8 +450,8 @@ bool KMEdit::eventFilter(TQObject*o, TQEvent* e)
*mExtEditorProcess << sysLine.left(sysLine.find(" ")).local8Bit();
sysLine.remove(0, sysLine.find(" ") + 1);
}
- connect(mExtEditorProcess, TQT_SIGNAL(processExited(KProcess*)),
- TQT_SLOT(slotExternalEditorDone(KProcess*)));
+ connect(mExtEditorProcess, TQT_SIGNAL(processExited(TDEProcess*)),
+ TQT_SLOT(slotExternalEditorDone(TDEProcess*)));
if (!mExtEditorProcess->start())
{
KMessageBox::error( topLevelWidget(),
@@ -610,7 +610,7 @@ void KMEdit::slotExternalEditorTempFileChanged( const TQString & fileName ) {
repaint();
}
-void KMEdit::slotExternalEditorDone( KProcess * proc ) {
+void KMEdit::slotExternalEditorDone( TDEProcess * proc ) {
assert(proc == mExtEditorProcess);
// make sure, we update even when KDirWatcher is too slow:
slotExternalEditorTempFileChanged( mExtEditorTempFile->name() );