author | harlekin <harlekin> | 2003-03-25 22:03:41 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-25 22:03:41 (UTC) |
commit | c03e0f1199be7b2be111059b57f9e8ce965f5828 (patch) (unidiff) | |
tree | 85d30d63f4823def6bc405c55e52133661c7640b /core/applets/rotateapplet/rotate.h | |
parent | 8e685661d962c10c13efd3c442742c1afe1afd1b (diff) | |
download | opie-c03e0f1199be7b2be111059b57f9e8ce965f5828.zip opie-c03e0f1199be7b2be111059b57f9e8ce965f5828.tar.gz opie-c03e0f1199be7b2be111059b57f9e8ce965f5828.tar.bz2 |
here comes the rotate startmenu applet .-)
Diffstat (limited to 'core/applets/rotateapplet/rotate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/rotateapplet/rotate.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/core/applets/rotateapplet/rotate.h b/core/applets/rotateapplet/rotate.h new file mode 100644 index 0000000..11e2ec9 --- a/dev/null +++ b/core/applets/rotateapplet/rotate.h | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | =. This file is part of the OPIE Project | ||
3 | .=l. Copyright (c) 2003 Maximilian Reiss <harlekin@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This library is free software; you can | ||
6 | .> <_, > . <= redistribute it and/or modify it under | ||
7 | :=1 )Y*s>-.-- : the terms of the GNU Library General Public | ||
8 | .="- .-=="i, .._ License as published by the Free Software | ||
9 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
10 | ._= =} : or (at your option) any later version. | ||
11 | .%+i> _;_. | ||
12 | .i_,=:_. -<s. This library is distributed in the hope that | ||
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
14 | : .. .:, . . . without even the implied warranty of | ||
15 | =_ + =;=| MERCHANTABILITY or FITNESS FOR A | ||
16 | _.=:. : :=>: PARTICULAR PURPOSE. See the GNU | ||
17 | ..}^=.= = ; Library General Public License for more | ||
18 | ++= -. . .: details. | ||
19 | : = ...= . :.=- | ||
20 | -. .:....=;==+<; You should have received a copy of the GNU | ||
21 | -_. . . )=. = Library General Public License along with | ||
22 | -- :-= this library; see the file COPYING.LIB. | ||
23 | If not, write to the Free Software Foundation, | ||
24 | Inc., 59 Temple Place - Suite 330, | ||
25 | Boston, MA 02111-1307, USA. | ||
26 | |||
27 | */ | ||
28 | |||
29 | |||
30 | |||
31 | #ifndef __OPIE_ROTATE_APPLET_H__ | ||
32 | #define __OPIE_ROTATE_APPLET_H__ | ||
33 | |||
34 | #include <qpe/menuappletinterface.h> | ||
35 | |||
36 | class RotateApplet : public QObject, public MenuAppletInterface | ||
37 | { | ||
38 | public: | ||
39 | RotateApplet ( ); | ||
40 | virtual ~RotateApplet ( ); | ||
41 | |||
42 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | ||
43 | Q_REFCOUNT | ||
44 | |||
45 | virtual int position() const; | ||
46 | |||
47 | virtual QString name ( ) const; | ||
48 | virtual QIconSet icon ( ) const; | ||
49 | virtual QString text ( ) const; | ||
50 | virtual QString tr( const char* ) const; | ||
51 | virtual QString tr( const char*, const char* ) const; | ||
52 | virtual QPopupMenu *popup ( QWidget *parent ) const; | ||
53 | |||
54 | virtual void activated ( ); | ||
55 | |||
56 | private: | ||
57 | bool m_native; | ||
58 | int m_startupRot; | ||
59 | ulong ref; | ||
60 | }; | ||
61 | |||
62 | #endif | ||