aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
diff options
context:
space:
mode:
authorq5sys <jt@ixsystems.com>2017-09-08 20:02:49 -0400
committerq5sys <jt@ixsystems.com>2017-09-08 20:02:49 -0400
commit958283d503b123a2b53c8b8ceee3bcf83f76e15f (patch)
tree5d1e32d7f0a11ebf71417d82e8d08d6108529e94 /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
parentremove whitespacing (diff)
parentTurn off the mouse override cursor when launching apps. The new "ExternalProc... (diff)
downloadlumina-958283d503b123a2b53c8b8ceee3bcf83f76e15f.tar.gz
lumina-958283d503b123a2b53c8b8ceee3bcf83f76e15f.tar.bz2
lumina-958283d503b123a2b53c8b8ceee3bcf83f76e15f.zip
Merge branch 'master' of http://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
index bff8cb74..8dd367df 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
@@ -32,7 +32,7 @@ class DirWidget : public QWidget{
Q_OBJECT
public:
enum DETAILTYPES{ NAME, SIZE, TYPE, DATEMOD, DATECREATE};
- DirWidget(QString objID, QWidget *parent = 0); //needs a unique ID (to distinguish from other DirWidgets)
+ DirWidget(QString objID, QSettings *settings, QWidget *parent = 0); //needs a unique ID (to distinguish from other DirWidgets)
~DirWidget();
void cleanup(); //called before the browser is closed down
@@ -75,6 +75,7 @@ private:
QString ID, cBID; //unique ID assigned by the parent, and currently active browser widget
QString normalbasedir, snapbasedir, snaprelpath; //for maintaining directory context while moving between snapshots
QStringList snapshots, needThumbs, tmpSel;
+ QSettings *settings;
bool canmodify;
//The Toolbar and associated items
@@ -95,13 +96,11 @@ 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();
-
+ //QProcess *pExtract;
+ //OpenWithMenu
+ QString fileEXT, filePath;
+ QStringList mimetypes, keys, files;
+ //QStringList getPreferredApplications();
private slots:
//UI BUTTONS/Actions
bgstack15