encfs/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00
..
.gitignore Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
about.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
about.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
about.ui Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
addsplittedfiledialog.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
addsplittedfiledialog.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
addsplittedfiledialog.ui Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
easylogging++.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
file-splitter-and-joiner.pro Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
joinercore.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
joinercore.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
joinerwidget.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
joinerwidget.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
joinerwidget.ui Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
main.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
mainwindow.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
mainwindow.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
partprocessor.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
partprocessor.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
README.md Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
splitablefiledelegate.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
splitablefiledelegate.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
splittercore.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
splittercore.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
splitterwidget.cpp Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
splitterwidget.h Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00
splitterwidget.ui Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master" 2017-08-05 23:23:41 -07:00

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

Splitter

Joiner