ark
main.cpp
Go to the documentation of this file.
94 option.add("d").add("dialog", ki18n("Show a dialog for specifying the options for the operation (extract/add)"));
95 option.add("o").add("destination <directory>", ki18n("Destination folder to extract to. Defaults to current path if not specified."));
97 option.add("c").add("add", ki18n("Query the user for an archive filename and add specified files to it. Quit when finished."));
98 option.add("t").add("add-to <filename>", ki18n("Add the specified files to 'filename'. Create archive if it does not exist. Quit when finished."));
99 option.add("p").add("changetofirstpath", ki18n("Change the current dir to the first entry and add all other entries relative to this one."));
100 option.add("f").add("autofilename <suffix>", ki18n("Automatically choose a filename, with the selected suffix (for example rar, tar.gz, zip or any other supported types)"));
102 option.add("b").add("batch", ki18n("Use the batch interface instead of the usual dialog. This option is implied if more than one url is specified."));
103 option.add("e").add("autodestination", ki18n("The destination argument will be set to the path of the first file supplied."));
104 option.add("a").add("autosubfolder", ki18n("Archive contents will be read, and if detected to not be a single folder archive, a subfolder with the name of the archive will be created."));
133 application.connect(addToArchiveJob, SIGNAL(result(KJob*)), SLOT(quit()), Qt::QueuedConnection);
void setAutoFilenameSuffix(const QString &suffix)
Definition: addtoarchive.cpp:57
void setFilename(const KUrl &path)
Definition: addtoarchive.cpp:67
bool addInput(const KUrl &url)
Adds a file to the list of files that will be extracted.
Definition: batchextract.cpp:207
void setAutoSubfolder(bool value)
Set whether a folder should be created when necessary so the archive is extracted to it...
Definition: batchextract.cpp:111
Definition: addtoarchive.h:50
void setChangeToFirstPath(bool value)
Definition: addtoarchive.cpp:62
void start()
A wrapper that calls slotStartJob() when the event loop has started.
Definition: batchextract.cpp:116
void setDestinationFolder(const QString &folder)
Sets the directory the archives will be extracted to.
Definition: batchextract.cpp:240
bool showExtractDialog()
Shows the extract options dialog before extracting the files.
Definition: batchextract.cpp:257
This class schedules the extraction of all given compressed archives.
Definition: batchextract.h:54
Definition: mainwindow.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.