diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:50:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:50:20 -0600 |
commit | aef5eada7f51ee48f3d21448db290bd8f06953a8 (patch) | |
tree | 9d6e7572ebcc27e402501d6966f9b46361a1702c /ark/arkwidget.cpp | |
parent | 95d05392f9bc01594738a1e06ebf23123b3d3e6e (diff) | |
download | tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.tar.gz tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'ark/arkwidget.cpp')
-rw-r--r-- | ark/arkwidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ark/arkwidget.cpp b/ark/arkwidget.cpp index 0935e38..6a40e4a 100644 --- a/ark/arkwidget.cpp +++ b/ark/arkwidget.cpp @@ -1611,17 +1611,17 @@ ArkWidget::editStart() { kdDebug(1601) << "Edit in progress..." << endl; KURL::List list; - // edit will be in progress until the KProcess terminates. + // edit will be in progress until the TDEProcess terminates. KOpenWithDlg l( list, i18n("Edit with:"), TQString(), (TQWidget*)0L ); if ( l.exec() ) { - KProcess *kp = new KProcess; + TDEProcess *kp = new TDEProcess; *kp << l.text() << m_strFileToView; - connect( kp, TQT_SIGNAL(processExited(KProcess *)), - this, TQT_SLOT(slotEditFinished(KProcess *)) ); - if ( kp->start(KProcess::NotifyOnExit, KProcess::AllOutput) == false ) + connect( kp, TQT_SIGNAL(processExited(TDEProcess *)), + this, TQT_SLOT(slotEditFinished(TDEProcess *)) ); + if ( kp->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) == false ) { KMessageBox::error(0, i18n("Trouble editing the file...")); } @@ -1629,7 +1629,7 @@ ArkWidget::editStart() } void -ArkWidget::slotEditFinished(KProcess *kp) +ArkWidget::slotEditFinished(TDEProcess *kp) { kdDebug(1601) << "+ArkWidget::slotEditFinished" << endl; connect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( editSlotAddDone( bool ) ) ); @@ -1841,7 +1841,7 @@ ArkWidget::updateStatusSelection() else if (m_nNumSelectedFiles != 1) { strInfo = i18n("%1 files selected %2") - .arg(KGlobal::locale()->formatNumber(m_nNumSelectedFiles, 0)) + .arg(TDEGlobal::locale()->formatNumber(m_nNumSelectedFiles, 0)) .arg(KIO::convertSize(m_nSizeOfSelectedFiles)); } else |