summaryrefslogtreecommitdiff
path: root/noncore/applets/autorotateapplet/autorotate.h
Unidiff
Diffstat (limited to 'noncore/applets/autorotateapplet/autorotate.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/applets/autorotateapplet/autorotate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/applets/autorotateapplet/autorotate.h b/noncore/applets/autorotateapplet/autorotate.h
index e05e7a0..ef322a6 100644
--- a/noncore/applets/autorotateapplet/autorotate.h
+++ b/noncore/applets/autorotateapplet/autorotate.h
@@ -13,26 +13,25 @@
13#ifndef AUTOROTATE_H 13#ifndef AUTOROTATE_H
14#define AUTOROTATE_H 14#define AUTOROTATE_H
15 15
16#include <qwidget.h> 16#include <qwidget.h>
17#include <qpixmap.h> 17#include <qpixmap.h>
18#include <qpopupmenu.h> 18#include <qpopupmenu.h>
19 19
20class AutoRotate : public QWidget { 20class AutoRotate : public QWidget {
21 Q_OBJECT 21 Q_OBJECT
22public: 22public:
23 AutoRotate( QWidget *parent = 0 ); 23 AutoRotate( QWidget *parent = 0 );
24 ~AutoRotate(); 24 ~AutoRotate();
25 25 static int position();
26private slots:
27 26
28protected: 27protected:
29 void paintEvent( QPaintEvent* ); 28 void paintEvent( QPaintEvent* );
30 void mousePressEvent( QMouseEvent * ); 29 void mousePressEvent( QMouseEvent * );
31private: 30private:
32 bool isRotateEnabled(); 31 bool isRotateEnabled();
33 void setRotateEnabled(bool); 32 void setRotateEnabled(bool);
34 QPixmap enabledPm; 33 QPixmap enabledPm;
35 QPixmap disabledPm; 34 QPixmap disabledPm;
36 void iconShow(); 35 void iconShow();
37 QPopupMenu *popupMenu; 36 QPopupMenu *popupMenu;
38 }; 37 };