aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h b/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h
index c5b552a6..e838c46a 100644
--- a/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h
+++ b/src-qt5/desktop-utils/lumina-pdf/PresentationLabel.h
@@ -15,21 +15,21 @@
#include <QDebug>
class PresentationLabel : public QLabel{
- Q_OBJECT
+ Q_OBJECT
signals:
- void nextSlide();
+ void nextSlide();
public:
- PresentationLabel() : QLabel(0, Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint){
- this->setContextMenuPolicy(Qt::CustomContextMenu);
- }
+ PresentationLabel() : QLabel(0, Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint){
+ this->setContextMenuPolicy(Qt::CustomContextMenu);
+ }
protected:
- void mousePressEvent(QMouseEvent *ev){
- QLabel::mousePressEvent(ev);
- if(ev->button()==Qt::LeftButton){ emit nextSlide(); }
- }
+ void mousePressEvent(QMouseEvent *ev){
+ QLabel::mousePressEvent(ev);
+ if(ev->button()==Qt::LeftButton){ emit nextSlide(); }
+ }
};
#endif
bgstack15