diff options
author | wi <william.os4y@gmail.com> | 2015-04-12 21:59:39 +0200 |
---|---|---|
committer | wi <william.os4y@gmail.com> | 2015-04-12 21:59:39 +0200 |
commit | 64f8f190c27f5880982353a7dac57b92793090b1 (patch) | |
tree | 4b201a9794f15ed6d7ed57868576aca4f1bcb573 /lumina-fileinfo/dialog.h | |
parent | have a config directory to store templates (diff) | |
download | lumina-64f8f190c27f5880982353a7dac57b92793090b1.tar.gz lumina-64f8f190c27f5880982353a7dac57b92793090b1.tar.bz2 lumina-64f8f190c27f5880982353a7dac57b92793090b1.zip |
refactring of lumina-fileinfo:
- detect if a field exist in different language and inform the user
- add the inMemoryFile which contains the whole lines of the config. every modifications are stored in there and once the user click "apply" the whole content goes to disk
- adapt the changes requested by the user in the inMemoryFile (no more when the user click on "Apply").
Diffstat (limited to 'lumina-fileinfo/dialog.h')
-rw-r--r-- | lumina-fileinfo/dialog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-fileinfo/dialog.h b/lumina-fileinfo/dialog.h index e58f0938..1dfbd64c 100644 --- a/lumina-fileinfo/dialog.h +++ b/lumina-fileinfo/dialog.h @@ -16,6 +16,7 @@ public: explicit Dialog(QWidget *parent = 0); XDGDesktop DF ; + QString inMemoryFile; QString desktopFileName ; QString iconFileName; @@ -38,6 +39,9 @@ private slots: void on_pbIcon_clicked(); void textReplace(QString &origin, QString from, QString to, QString topic); + + void on_lName_textChanged(QString text); + void on_lComment_textChanged(QString text); private: Ui::Dialog *ui; |