mirror of
https://github.com/vgough/encfs.git
synced 2025-01-02 20:19:11 +01:00
5f0806c5cc
git-vendor-name: easylogging git-vendor-dir: vendor/github.com/muflihun/easyloggingpp git-vendor-repository: https://github.com/muflihun/easyloggingpp git-vendor-ref: master |
||
---|---|---|
.. | ||
.gitignore | ||
about.cpp | ||
about.h | ||
about.ui | ||
addsplittedfiledialog.cpp | ||
addsplittedfiledialog.h | ||
addsplittedfiledialog.ui | ||
easylogging++.h | ||
file-splitter-and-joiner.pro | ||
joinercore.cpp | ||
joinercore.h | ||
joinerwidget.cpp | ||
joinerwidget.h | ||
joinerwidget.ui | ||
main.cpp | ||
mainwindow.cpp | ||
mainwindow.h | ||
partprocessor.cpp | ||
partprocessor.h | ||
README.md | ||
splitablefiledelegate.cpp | ||
splitablefiledelegate.h | ||
splittercore.cpp | ||
splittercore.h | ||
splitterwidget.cpp | ||
splitterwidget.h | ||
splitterwidget.ui |
File splitter/joiner sample
About
This is multi-threaded application that uses threads in order to split/merge part/s. The idea is not to show how to use threading in Qt, in fact, I might have done it wrong (this document can be helpful to make thread-use better), the idea behind this sample is to show you a possible usage of Easylogging++ is fairly large scale i.e, multiple files project using multi-threading.
Usage
Once you successfully compile the project using minimum of Qt 4.6.2, you can use this in two ways;
-
Using command-line
Split:
./file-splitter-joiner split [source_file] [total_parts] [destination_dir]
Join:
./file-splitter-joiner join [destination_file] [parts...]
-
Using GUI
When you don't provide enough parameters, a GUI based program will be launched
Screen Shots