aboutsummaryrefslogtreecommitdiff
path: root/lumina-screenshot/MainUI.h
diff options
context:
space:
mode:
authorChristopher Roy Bratusek <nano@jpberlin.de>2014-10-10 20:35:08 +0200
committerChristopher Roy Bratusek <nano@jpberlin.de>2014-10-10 20:35:08 +0200
commit6df27ff3c69ec2927241c921c56a2aa6bcc2e30e (patch)
tree383c2d9aad9b7e55b53c4d160dfe7db9ded65e03 /lumina-screenshot/MainUI.h
parentMake sure the directory catch for running lumina-fm happens at the end (in ca... (diff)
downloadlumina-6df27ff3c69ec2927241c921c56a2aa6bcc2e30e.tar.gz
lumina-6df27ff3c69ec2927241c921c56a2aa6bcc2e30e.tar.bz2
lumina-6df27ff3c69ec2927241c921c56a2aa6bcc2e30e.zip
save settings for lumina-screenshot (screenshot-delay and screenshot-target)
Diffstat (limited to 'lumina-screenshot/MainUI.h')
-rw-r--r--lumina-screenshot/MainUI.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-screenshot/MainUI.h b/lumina-screenshot/MainUI.h
index 5ebe20f6..0e60bda6 100644
--- a/lumina-screenshot/MainUI.h
+++ b/lumina-screenshot/MainUI.h
@@ -15,6 +15,7 @@
#include <QDesktopWidget>
#include <QDir>
#include <QInputDialog>
+#include <QSettings>
#include <LuminaXDG.h>
#include <LuminaUtils.h>
@@ -34,6 +35,7 @@ private:
QPixmap cpic; //current picture
QString ppath; //previous file path
WId cwin; //current window to screenshot
+ QSettings *settings;
private slots:
//Button Slots
@@ -48,4 +50,4 @@ private slots:
void getPixmap(); //set the "cpic" variable to the new screenshot
};
-#endif \ No newline at end of file
+#endif
bgstack15