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

ark

Public Member Functions | List of all members
LibArchiveInterface Class Reference

#include <libarchivehandler.h>

Inheritance diagram for LibArchiveInterface:
Inheritance graph
[legend]

Public Member Functions

 LibArchiveInterface (QObject *parent, const QVariantList &args)
 
 ~LibArchiveInterface ()
 
bool addFiles (const QStringList &files, const CompressionOptions &options)
 
bool copyFiles (const QVariantList &files, const QString &destinationDirectory, ExtractionOptions options)
 
bool deleteFiles (const QVariantList &files)
 
bool list ()
 
- Public Member Functions inherited from Kerfuffle::ReadWriteArchiveInterface
 ReadWriteArchiveInterface (QObject *parent, const QVariantList &args)
 
virtual ~ReadWriteArchiveInterface ()
 
virtual bool deleteFiles (const QList< QVariant > &files)=0
 
virtual bool isReadOnly () const
 
- Public Member Functions inherited from Kerfuffle::ReadOnlyArchiveInterface
 ReadOnlyArchiveInterface (QObject *parent, const QVariantList &args)
 
virtual ~ReadOnlyArchiveInterface ()
 
virtual bool copyFiles (const QList< QVariant > &files, const QString &destinationDirectory, ExtractionOptions options)=0
 
virtual bool doKill ()
 
virtual bool doResume ()
 
virtual bool doSuspend ()
 
QString filename () const
 
virtual bool open ()
 
void setPassword (const QString &password)
 
bool waitForFinishedSignal ()
 

Additional Inherited Members

- Signals inherited from Kerfuffle::ReadOnlyArchiveInterface
void entry (const ArchiveEntry &archiveEntry)
 
void entryRemoved (const QString &path)
 
void error (const QString &message, const QString &details=QString())
 
void finished (bool result)
 
void info (const QString &info)
 
void progress (double progress)
 
void userQuery (Query *query)
 
- Protected Member Functions inherited from Kerfuffle::ReadOnlyArchiveInterface
QString password () const
 
void setWaitForFinishedSignal (bool value)
 

Detailed Description

Definition at line 39 of file libarchivehandler.h.

Constructor & Destructor Documentation

LibArchiveInterface::LibArchiveInterface ( QObject *  parent,
const QVariantList &  args 
)
explicit

Definition at line 68 of file libarchivehandler.cpp.

LibArchiveInterface::~LibArchiveInterface ( )

Definition at line 79 of file libarchivehandler.cpp.

Member Function Documentation

bool LibArchiveInterface::addFiles ( const QStringList &  files,
const CompressionOptions &  options 
)
virtual

Implements Kerfuffle::ReadWriteArchiveInterface.

Definition at line 329 of file libarchivehandler.cpp.

bool LibArchiveInterface::copyFiles ( const QVariantList &  files,
const QString &  destinationDirectory,
ExtractionOptions  options 
)

Definition at line 133 of file libarchivehandler.cpp.

bool LibArchiveInterface::deleteFiles ( const QVariantList &  files)

Definition at line 519 of file libarchivehandler.cpp.

bool LibArchiveInterface::list ( )
virtual

List archive contents.

This runs the process of reading archive contents. When subclassing, you can block as long as you need, the function runs in its own thread.

Returns
whether the listing succeeded.
Note
If returning false, make sure to emit the error() signal beforewards to notify the user of the error condition.

Implements Kerfuffle::ReadOnlyArchiveInterface.

Definition at line 83 of file libarchivehandler.cpp.


The documentation for this class was generated from the following files:
  • libarchivehandler.h
  • libarchivehandler.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