|
|
|
@ -531,7 +531,7 @@ void ArkMenu::compressAs( const TQStringList &name, const KURL & compressed )
|
|
|
|
|
args << "--add-to";
|
|
|
|
|
args += name;
|
|
|
|
|
args << compressed.url();
|
|
|
|
|
kapp->kdeinitExec( "ark", args );
|
|
|
|
|
kapp->tdeinitExec( "ark", args );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ArkMenu::slotAddTo( int pos )
|
|
|
|
@ -544,7 +544,7 @@ void ArkMenu::slotAddTo( int pos )
|
|
|
|
|
archive.setFileName( m_archiveList[ pos ].fileName() );
|
|
|
|
|
|
|
|
|
|
args << archive.url();
|
|
|
|
|
kapp->kdeinitExec( "ark", args );
|
|
|
|
|
kapp->tdeinitExec( "ark", args );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ArkMenu::slotAdd()
|
|
|
|
@ -552,7 +552,7 @@ void ArkMenu::slotAdd()
|
|
|
|
|
TQStringList args( m_urlStringList );
|
|
|
|
|
args.prepend( "--add" );
|
|
|
|
|
|
|
|
|
|
kapp->kdeinitExec( "ark", args );
|
|
|
|
|
kapp->tdeinitExec( "ark", args );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ArkMenu::slotExtractHere()
|
|
|
|
@ -565,7 +565,7 @@ void ArkMenu::slotExtractHere()
|
|
|
|
|
KURL targetDirectory = ( *it ).url();
|
|
|
|
|
targetDirectory.setPath( targetDirectory.directory() );
|
|
|
|
|
args << "--extract-to" << targetDirectory.url() << ( *it ).url();
|
|
|
|
|
kapp->kdeinitExec( "ark", args );
|
|
|
|
|
kapp->tdeinitExec( "ark", args );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -584,7 +584,7 @@ void ArkMenu::slotExtractToSubfolders()
|
|
|
|
|
stripExtension( dirName );
|
|
|
|
|
targetDir.setPath( dirName );
|
|
|
|
|
args << "--extract-to" << targetDir.url() << *it;
|
|
|
|
|
kapp->kdeinitExec( "ark", args );
|
|
|
|
|
kapp->tdeinitExec( "ark", args );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -596,7 +596,7 @@ void ArkMenu::slotExtractTo()
|
|
|
|
|
{
|
|
|
|
|
TQStringList args;
|
|
|
|
|
args << "--extract" << *it;
|
|
|
|
|
kapp->kdeinitExec( "ark", args );
|
|
|
|
|
kapp->tdeinitExec( "ark", args );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|