diff options
author | Ken Moore <moorekou@gmail.com> | 2015-08-31 14:22:07 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-08-31 14:22:07 -0400 |
commit | d8139ce95ae39cd2b4cf6c7fd08cc6dcb119a485 (patch) | |
tree | 9259e2302c33a133bf37e41957f63d34bfa7d382 /lumina-fileinfo/dialog.h | |
parent | Add a new "PathToAbsolute()" function to LuminaUtils for converting a possibl... (diff) | |
download | lumina-d8139ce95ae39cd2b4cf6c7fd08cc6dcb119a485.tar.gz lumina-d8139ce95ae39cd2b4cf6c7fd08cc6dcb119a485.tar.bz2 lumina-d8139ce95ae39cd2b4cf6c7fd08cc6dcb119a485.zip |
Completely overhaul lumina-fileinfo so that it is just a front-end to the XDGDesktop structure now, instead of using the regex's and template files like before. This also makes it easier to update later, since there are more information fields in the XDGDesktop structure than lumina-fileinfo currently handles (TryExec, Actions, ShowIn, etc).
Diffstat (limited to 'lumina-fileinfo/dialog.h')
-rw-r--r-- | lumina-fileinfo/dialog.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/lumina-fileinfo/dialog.h b/lumina-fileinfo/dialog.h deleted file mode 100644 index 785cb52e..00000000 --- a/lumina-fileinfo/dialog.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef DIALOG_H -#define DIALOG_H - -#include <QDialog> -#include <LuminaXDG.h> - -namespace Ui { -class Dialog; -} - -class Dialog : public QDialog -{ - Q_OBJECT - -public: - explicit Dialog(QWidget *parent = 0); - - XDGDesktop DF ; - QString inMemoryFile; - - QString desktopFileName ; - QString iconFileName; - QString desktopType; - - void Initialise(QString); - void MissingInputs(); - void LoadDesktopFile(QString); - - ~Dialog(); - -public slots: - void setupIcons(); - -private slots: - - void on_pbCommand_clicked(); - void on_pbWorkingDir_clicked(); - void on_pbApply_clicked(); - void on_pbIcon_clicked(); - - void textReplace(QString &origin, QString from, QString to, QString topic); - void copyTemplate(QString templateType); - - void on_lName_textChanged(QString text); - void on_lComment_textChanged(QString text); - -private: - Ui::Dialog *ui; -}; - -#endif // DIALOG_H |