• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

ark

  • Kerfuffle
  • Archive
Public Member Functions | Static Public Member Functions | List of all members
Kerfuffle::Archive Class Reference

#include <archive.h>

Inheritance diagram for Kerfuffle::Archive:
Inheritance graph
[legend]

Public Member Functions

 ~Archive ()
 
AddJob * addFiles (const QStringList &files, const CompressionOptions &options=CompressionOptions())
 
ExtractJob * copyFiles (const QList< QVariant > &files, const QString &destinationDir, ExtractionOptions options=ExtractionOptions())
 
KJob * create ()
 
DeleteJob * deleteFiles (const QList< QVariant > &files)
 
QString fileName () const
 
bool isPasswordProtected ()
 
bool isReadOnly () const
 
bool isSingleFolderArchive ()
 
ListJob * list ()
 
KJob * open ()
 
void setPassword (const QString &password)
 
QString subfolderName ()
 

Static Public Member Functions

static Archive * create (const QString &fileName, QObject *parent=0)
 
static Archive * create (const QString &fileName, const QString &fixedMimeType, QObject *parent=0)
 

Detailed Description

Definition at line 88 of file archive.h.

Constructor & Destructor Documentation

Kerfuffle::Archive::~Archive ( )

Definition at line 131 of file archive.cpp.

Member Function Documentation

AddJob * Kerfuffle::Archive::addFiles ( const QStringList &  files,
const CompressionOptions &  options = CompressionOptions() 
)

Compression options that should be handled by all interfaces:

GlobalWorkDir - Change to this dir before adding the new files. The path names should then be added relative to this directory.

TODO: find a way to actually add files to specific locations in the archive (not supported yet) GlobalPathInArchive - a path relative to the archive root where the files will be added under

Definition at line 174 of file archive.cpp.

ExtractJob * Kerfuffle::Archive::copyFiles ( const QList< QVariant > &  files,
const QString &  destinationDir,
ExtractionOptions  options = ExtractionOptions() 
)

Definition at line 183 of file archive.cpp.

Archive * Kerfuffle::Archive::create ( const QString &  fileName,
QObject *  parent = 0 
)
static

Definition at line 83 of file archive.cpp.

Archive * Kerfuffle::Archive::create ( const QString &  fileName,
const QString &  fixedMimeType,
QObject *  parent = 0 
)
static

Definition at line 88 of file archive.cpp.

KJob * Kerfuffle::Archive::create ( )

Definition at line 145 of file archive.cpp.

DeleteJob * Kerfuffle::Archive::deleteFiles ( const QList< QVariant > &  files)

Definition at line 164 of file archive.cpp.

QString Kerfuffle::Archive::fileName ( ) const

Definition at line 194 of file archive.cpp.

bool Kerfuffle::Archive::isPasswordProtected ( )

Definition at line 262 of file archive.cpp.

bool Kerfuffle::Archive::isReadOnly ( ) const

Definition at line 135 of file archive.cpp.

bool Kerfuffle::Archive::isSingleFolderArchive ( )

Definition at line 256 of file archive.cpp.

ListJob * Kerfuffle::Archive::list ( )

Definition at line 150 of file archive.cpp.

KJob * Kerfuffle::Archive::open ( )

Definition at line 140 of file archive.cpp.

void Kerfuffle::Archive::setPassword ( const QString &  password)

Definition at line 274 of file archive.cpp.

QString Kerfuffle::Archive::subfolderName ( )

Definition at line 268 of file archive.cpp.


The documentation for this class was generated from the following files:
  • archive.h
  • archive.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ark

Skip menu "ark"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal