summaryrefslogtreecommitdiffstats
path: root/ark/tar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ark/tar.cpp')
-rw-r--r--ark/tar.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/ark/tar.cpp b/ark/tar.cpp
index 6e599c9..e3be8b0 100644
--- a/ark/tar.cpp
+++ b/ark/tar.cpp
@@ -208,6 +208,12 @@ TQString TarArch::getCompressor()
if ( m_fileMimeType == "application/x-tbz" )
return TQString( "bzip2" );
+ if ( m_fileMimeType == "application/x-lzma" )
+ return TQString( "lzma" );
+
+ if ( m_fileMimeType == "application/x-xz" )
+ return TQString( "xz" );
+
if( m_fileMimeType == "application/x-tzo" )
return TQString( "lzop" );
@@ -226,6 +232,12 @@ TQString TarArch::getUnCompressor()
if ( m_fileMimeType == "application/x-tbz" )
return TQString( "bunzip2" );
+ if ( m_fileMimeType == "application/x-lzma" )
+ return TQString( "unlzma" );
+
+ if ( m_fileMimeType == "application/x-xz" )
+ return TQString( "unxz" );
+
if( m_fileMimeType == "application/x-tzo" )
return TQString( "lzop" );