From aef5eada7f51ee48f3d21448db290bd8f06953a8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:50:20 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- ark/arch.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ark/arch.cpp') diff --git a/ark/arch.cpp b/ark/arch.cpp index b4fc0e8..18a589a 100644 --- a/ark/arch.cpp +++ b/ark/arch.cpp @@ -88,7 +88,7 @@ Arch::~Arch() void Arch::verifyCompressUtilityIsAvailable( const TQString &utility ) { // see if the utility is in the PATH of the user. - TQString cmd = KGlobal::dirs()->findExe( utility ); + TQString cmd = TDEGlobal::dirs()->findExe( utility ); m_bArchUtilityIsAvailable = !cmd.isEmpty(); } @@ -96,11 +96,11 @@ void Arch::verifyCompressUtilityIsAvailable( const TQString &utility ) void Arch::verifyUncompressUtilityIsAvailable( const TQString &utility ) { // see if the utility is in the PATH of the user. - TQString cmd = KGlobal::dirs()->findExe( utility ); + TQString cmd = TDEGlobal::dirs()->findExe( utility ); m_bUnarchUtilityIsAvailable = !cmd.isEmpty(); } -void Arch::slotOpenExited( KProcess* _kp ) +void Arch::slotOpenExited( TDEProcess* _kp ) { bool success = ( _kp->normalExit() && ( _kp->exitStatus() == 0 ) ); @@ -148,7 +148,7 @@ void Arch::slotOpenExited( KProcess* _kp ) _kp = m_currentProcess = 0; } -void Arch::slotDeleteExited( KProcess *_kp ) +void Arch::slotDeleteExited( TDEProcess *_kp ) { bool success = ( _kp->normalExit() && ( _kp->exitStatus() == 0 ) ); @@ -175,7 +175,7 @@ void Arch::slotDeleteExited( KProcess *_kp ) _kp = m_currentProcess = 0; } -void Arch::slotExtractExited( KProcess *_kp ) +void Arch::slotExtractExited( TDEProcess *_kp ) { bool success = ( _kp->normalExit() && ( _kp->exitStatus() == 0 ) ); @@ -234,7 +234,7 @@ void Arch::unarchFile( TQStringList *fileList, const TQString & destDir, unarchFileInternal(); } -void Arch::slotAddExited( KProcess *_kp ) +void Arch::slotAddExited( TDEProcess *_kp ) { bool success = ( _kp->normalExit() && ( _kp->exitStatus() == 0 ) ); @@ -261,7 +261,7 @@ void Arch::slotAddExited( KProcess *_kp ) _kp = m_currentProcess = 0; } -void Arch::slotReceivedOutput( KProcess*, char* data, int length ) +void Arch::slotReceivedOutput( TDEProcess*, char* data, int length ) { char c = data[ length ]; data[ length ] = '\0'; @@ -271,7 +271,7 @@ void Arch::slotReceivedOutput( KProcess*, char* data, int length ) } -void Arch::slotReceivedTOC( KProcess*, char* data, int length ) +void Arch::slotReceivedTOC( TDEProcess*, char* data, int length ) { char c = data[ length ]; data[ length ] = '\0'; @@ -400,7 +400,7 @@ void Arch::test() KMessageBox::information(0, i18n("Not implemented.")); } -void Arch::slotTestExited( KProcess *_kp ) +void Arch::slotTestExited( TDEProcess *_kp ) { bool success = ( _kp->normalExit() && ( _kp->exitStatus() == 0 ) ); -- cgit v1.2.1