diff options
author | Ken Moore <ken@ixsystems.com> | 2017-10-04 09:51:31 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-10-04 09:51:31 -0400 |
commit | d731985427420c462d845b4279b14238e5527cae (patch) | |
tree | 95099dcbdd86c999f439b6cde76748fdd8784863 /src-qt5/desktop-utils/lumina-archiver/MainUI.h | |
parent | Commit some minor updates/tests to the GL widgets. need to avoid QPainter if ... (diff) | |
download | lumina-d731985427420c462d845b4279b14238e5527cae.tar.gz lumina-d731985427420c462d845b4279b14238e5527cae.tar.bz2 lumina-d731985427420c462d845b4279b14238e5527cae.zip |
Finish up the auto archive/extract within lumina-archiver (with JT)
Diffstat (limited to 'src-qt5/desktop-utils/lumina-archiver/MainUI.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-archiver/MainUI.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/MainUI.h b/src-qt5/desktop-utils/lumina-archiver/MainUI.h index a2687895..a16d5862 100644 --- a/src-qt5/desktop-utils/lumina-archiver/MainUI.h +++ b/src-qt5/desktop-utils/lumina-archiver/MainUI.h @@ -10,6 +10,7 @@ #include <QMainWindow> #include <QString> #include <QTreeWidgetItem> +#include <QTimer> #include "TarBackend.h" @@ -24,20 +25,20 @@ public: ~MainUI(); void LoadArguments(QStringList); - void loadIcons(); - //QStringList aaFileList; + void loadIcons(); private: Ui::MainUI *ui; Backend *BACKEND; - bool auto_extract_close; + QStringList aaFileList; + QTimer *delayClose; QTreeWidgetItem* findItem(QString path, QTreeWidgetItem *start = 0); bool cleanItems(QStringList list, QTreeWidgetItem *start = 0); //returns true if anything gets cleaned //Functions for setting the valid file extensions ("tar" limitations) QString CreateFileTypes(); - QString OpenFileTypes(); + QString OpenFileTypes(); private slots: void NewArchive(); @@ -45,14 +46,14 @@ private slots: void addFiles(); void addDirs(); void remFiles(); - void extractFiles(); - void autoextractFiles(); - //void autoArchiveFiles(QStringList aaFileList); + void extractFiles(); + void autoextractFiles(); + void autoArchiveFiles(); void extractSelection(); void ViewFile(QTreeWidgetItem *it); void UpdateTree(); - void BurnImgToUSB(); + void BurnImgToUSB(); //Backend Handling void ProcStarting(); |