aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-06-16 08:52:22 -0400
committerq5sys <jt@obs-sec.com>2017-06-16 08:52:22 -0400
commita6d75ded15fdb518f54bd5fea11b4e7c285cbc7b (patch)
treea1bd87315015eb36704ef3d0868ec6236a41f27a /src-qt5/desktop-utils/lumina-fm/widgets
parentHTML and Javascript syntax highlighting (diff)
downloadlumina-a6d75ded15fdb518f54bd5fea11b4e7c285cbc7b.tar.gz
lumina-a6d75ded15fdb518f54bd5fea11b4e7c285cbc7b.tar.bz2
lumina-a6d75ded15fdb518f54bd5fea11b4e7c285cbc7b.zip
add dirtreepane connection logic
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp10
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h5
2 files changed, 13 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
index a2adc94f..8e5270bb 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
@@ -1,4 +1,4 @@
- //===========================================
+ //===========================================
// Lumina-DE source code
// Copyright (c) 2015, Ken Moore
// Available under the 3-clause BSD license
@@ -152,6 +152,14 @@
return showdirtree;
}
+ /*
+ void DirWidget::on_folderViewPane_clicked(const QModelIndex &index){
+ QString tPath = dirtreeModel->fileInfo(index).absoluteFilePath(); // get what was clicked
+ ChangeDir(tPath);
+ }
+ */
+
+
// ================
// PUBLIC SLOTS
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
index aca4f0fe..6c63e6aa 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
@@ -55,6 +55,8 @@ public:
void showDirTreePane(bool show);
bool showingDirTreePane();
+
+
public slots:
//void LoadDir(QString dir, LFileInfoList list);
void LoadSnaps(QString basedir, QStringList snaps);
@@ -126,7 +128,8 @@ private slots:
void UpdateContextMenu();
void currentDirectoryChanged(bool widgetonly = false);
void dirStatusChanged(QString);
- void setCurrentBrowser(QString);
+ void setCurrentBrowser(QString);
+// void on_folderViewPane_clicked();
//Context Menu Functions
// - DIRECTORY operations
bgstack15