summaryrefslogtreecommitdiffstats
path: root/src/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.h')
-rw-r--r--src/widget.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/widget.h b/src/widget.h
index 83404ac..a737412 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -4,12 +4,13 @@
#ifndef WIDGET_H
#define WIDGET_H
-#include <QWidget>
-#include <QtGui>
+#include <QtGui> // for Qt4
+#include <QWidget> // for Qt4
+//#include <QtWidgets> // for Qt5
#include <QDebug>
-#include <QProgressDialog>
-#include <x.h>
+#include <X11/Xlib.h>
+#include <X11/extensions/Xrandr.h>
namespace Ui {
class Widget;
@@ -40,10 +41,8 @@ public:
void handleButton();
private:
- void updateScreenResources();
- // Deprecated, will be deleted after confirmation from above
- //void setResFromConfig();
void timeout();
+ void updateScreenResources();
Ui::Widget * _ui;
Display* _display;