aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-06-16 09:38:22 -0400
committerq5sys <jt@obs-sec.com>2017-06-16 09:38:22 -0400
commite1120d5c0e60d858a1a56bd4233c5f38db29ba3d (patch)
tree9fb048253c34a44e522471fb2149095da45e2196 /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
parentanother crack at openwith menu (diff)
downloadlumina-e1120d5c0e60d858a1a56bd4233c5f38db29ba3d.tar.gz
lumina-e1120d5c0e60d858a1a56bd4233c5f38db29ba3d.tar.bz2
lumina-e1120d5c0e60d858a1a56bd4233c5f38db29ba3d.zip
add prototype for autoextract menu entry
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
index c8148e13..c586e3e9 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
@@ -45,7 +45,7 @@ public:
QString id();
QString currentDir();
QFileSystemModel *dirtreeModel;
- QStringList getPreferredApplications();
+ QStringList PREFAPPS;
//View Settings
void setShowDetails(bool show);
@@ -86,8 +86,8 @@ private:
QMenu *contextMenu, *cNewMenu, *cOpenMenu, *cFModMenu, *cFViewMenu, *cOpenWithMenu;
//The keyboard shortcuts for context menu items
- QShortcut *kZoomIn, *kZoomOut, *kNewFile, *kNewDir, *kNewXDG, *kCut, *kCopy, *kPaste, *kRename, \
- *kFav, *kDel, *kOpSS, *kOpMM, *kOpTerm;
+ QShortcut *kZoomIn, *kZoomOut, *kNewFile, *kNewDir, *kNewXDG, *kCut, *kCopy, *kPaste, *kRename, \
+ *kFav, *kDel, *kOpSS, *kOpMM, *kOpTerm, *kExtract;
//Functions for internal use
void createShortcuts(); //on init only
@@ -96,6 +96,14 @@ private:
BrowserWidget* currentBrowser();
QStringList currentDirFiles(); //all the "files" available within the current dir/browser
+ QProcess *pExtract;
+
+ //OpenWithMenu
+ QString fileEXT, filePath;
+ QStringList mimetypes, keys, files;
+ //QStringList getPreferredApplications();
+
+
private slots:
//UI BUTTONS/Actions
@@ -149,10 +157,12 @@ private slots:
void runFiles();
void runWithFiles();
//void attachToNewEmail();
+ void autoExtractFiles();
// - Context-specific operations
void openInSlideshow();
- void openMultimedia();
+ void openMultimedia();
+
signals:
//Directory loading/finding signals
bgstack15