summaryrefslogtreecommitdiff
path: root/noncore/applets/autorotateapplet/autorotateimpl.h
authortreke <treke>2003-12-09 03:23:20 (UTC)
committer treke <treke>2003-12-09 03:23:20 (UTC)
commit1538a521b674d2eff02b926c0d82fa6184dd99db (patch) (side-by-side diff)
treec4e0c870e034275c31c901578f1e09527bc3361d /noncore/applets/autorotateapplet/autorotateimpl.h
parent0526dfbd3053dd89706f615e2549adfea8b87553 (diff)
downloadopie-1538a521b674d2eff02b926c0d82fa6184dd99db.zip
opie-1538a521b674d2eff02b926c0d82fa6184dd99db.tar.gz
opie-1538a521b674d2eff02b926c0d82fa6184dd99db.tar.bz2
Applet for turning on and off automatic rotation
Diffstat (limited to 'noncore/applets/autorotateapplet/autorotateimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/autorotateapplet/autorotateimpl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/applets/autorotateapplet/autorotateimpl.h b/noncore/applets/autorotateapplet/autorotateimpl.h
new file mode 100644
index 0000000..87b0731
--- a/dev/null
+++ b/noncore/applets/autorotateapplet/autorotateimpl.h
@@ -0,0 +1,19 @@
+#include <qpe/taskbarappletinterface.h>
+
+class AutoRotate;
+
+class AutoRotateImpl : public TaskbarAppletInterface {
+public:
+ AutoRotateImpl();
+ virtual ~AutoRotateImpl();
+
+ QRESULT queryInterface( const QUuid&, QUnknownInterface** );
+ Q_REFCOUNT
+
+ virtual QWidget *applet( QWidget *parent );
+ virtual int position() const;
+
+private:
+ AutoRotate *autoRotate;
+ ulong ref;
+};