diff options
author | Ken Moore <moorekou@gmail.com> | 2016-04-25 13:08:12 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-04-25 13:08:12 -0400 |
commit | ed5ecf7ea7a482b4649e66ecb35fbc60af680684 (patch) | |
tree | acc0fa17d228259e847f55c678db9fb0a9b50f0c /lumina-open/LFileDialog.h | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-ed5ecf7ea7a482b4649e66ecb35fbc60af680684.tar.gz lumina-ed5ecf7ea7a482b4649e66ecb35fbc60af680684.tar.bz2 lumina-ed5ecf7ea7a482b4649e66ecb35fbc60af680684.zip |
Rearrange the Lumina source tree quite a bit:
Now the utilites are arranged by category (core, core-utils, desktop-utils), so all the -utils may be excluded by a package system (or turned into separate packages) as needed.
Diffstat (limited to 'lumina-open/LFileDialog.h')
-rw-r--r-- | lumina-open/LFileDialog.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/lumina-open/LFileDialog.h b/lumina-open/LFileDialog.h deleted file mode 100644 index 96016cf2..00000000 --- a/lumina-open/LFileDialog.h +++ /dev/null @@ -1,75 +0,0 @@ -//=========================================== -// Lumina-DE source code -// Copyright (c) 2013, Ken Moore -// Available under the 3-clause BSD license -// See the LICENSE file for full details -//=========================================== -#ifndef _LUMINA_OPEN_FILE_DIALOG_H -#define _LUMINA_OPEN_FILE_DIALOG_H - -#include <QSettings> -#include <QDialog> -#include <QString> -#include <QStringList> -#include <QIcon> -#include <QFileDialog> -#include <QDir> -#include <QFile> -#include <QFileInfo> -#include <QSettings> -#include <QTextStream> -#include <QTreeWidgetItem> -#include <QAction> - -#include <LuminaXDG.h> //From libLuminaUtils -#include <LuminaUtils.h> - -namespace Ui{ - class LFileDialog; -}; - -class LFileDialog : public QDialog{ - Q_OBJECT -public: - LFileDialog(QWidget *parent = 0); - ~LFileDialog(); - - //inputs - void setFileInfo(QString filename, QString extension, bool isFile = true); - - //outputs - bool appSelected, setDefault; - QString appExec; - QString appPath; - QString appFile; - - //static functions - static QString getDefaultApp(QString extension); - static void setDefaultApp(QString extension, QString appFile); - -private: - Ui::LFileDialog *ui; - QString fileEXT; - QSettings *settings; - QStringList PREFAPPS; - - //DB set/get - QStringList getPreferredApplications(); - void setPreferredApplication(QString); - - QString translateCat(QString); - -private slots: - void updateUI(); - void generateAppList(bool shownetwork = false); - //Internal UI slots - void radioChanged(); - //void on_group_binary_toggled(bool checked); - void on_tool_ok_clicked(); - void on_tool_cancel_clicked(); - void on_tool_findBin_clicked(); - void on_line_bin_textChanged(); - -}; - -#endif |