summaryrefslogtreecommitdiffstats
path: root/ark/arch.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
commitaef5eada7f51ee48f3d21448db290bd8f06953a8 (patch)
tree9d6e7572ebcc27e402501d6966f9b46361a1702c /ark/arch.cpp
parent95d05392f9bc01594738a1e06ebf23123b3d3e6e (diff)
downloadtdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.tar.gz
tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'ark/arch.cpp')
-rw-r--r--ark/arch.cpp18
1 files changed, 9 insertions, 9 deletions
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 ) );