Diffstat (limited to 'core/applets/rotateapplet/rotate.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/rotateapplet/rotate.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/core/applets/rotateapplet/rotate.h b/core/applets/rotateapplet/rotate.h index 57f9040..5ac7768 100644 --- a/core/applets/rotateapplet/rotate.h +++ b/core/applets/rotateapplet/rotate.h | |||
@@ -11,51 +11,59 @@ | |||
11 | .%+i> _;_. | 11 | .%+i> _;_. |
12 | .i_,=:_. -<s. This library is distributed in the hope that | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=| MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=| MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>: PARTICULAR PURPOSE. See the GNU | 16 | _.=:. : :=>: PARTICULAR PURPOSE. See the GNU |
17 | ..}^=.= = ; Library General Public License for more | 17 | ..}^=.= = ; Library General Public License for more |
18 | ++= -. . .: details. | 18 | ++= -. . .: details. |
19 | : = ...= . :.=- | 19 | : = ...= . :.=- |
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | -_. . . )=. = Library General Public License along with | 21 | -_. . . )=. = Library General Public License along with |
22 | -- :-= this library; see the file COPYING.LIB. | 22 | -- :-= this library; see the file COPYING.LIB. |
23 | If not, write to the Free Software Foundation, | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | 24 | Inc., 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | 29 | ||
30 | 30 | ||
31 | #ifndef __OPIE_ROTATE_APPLET_H__ | 31 | #ifndef __OPIE_ROTATE_APPLET_H__ |
32 | #define __OPIE_ROTATE_APPLET_H__ | 32 | #define __OPIE_ROTATE_APPLET_H__ |
33 | 33 | ||
34 | #include <qpe/menuappletinterface.h> | 34 | #include <qpe/menuappletinterface.h> |
35 | #include <qobject.h> | ||
35 | 36 | ||
36 | class RotateApplet : public QObject, public MenuAppletInterface | 37 | class RotateApplet : public QObject, public MenuAppletInterface |
37 | { | 38 | { |
39 | |||
40 | Q_OBJECT | ||
41 | |||
38 | public: | 42 | public: |
39 | RotateApplet ( ); | 43 | RotateApplet ( ); |
40 | virtual ~RotateApplet ( ); | 44 | virtual ~RotateApplet ( ); |
41 | 45 | ||
42 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | 46 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); |
43 | Q_REFCOUNT | 47 | Q_REFCOUNT |
44 | 48 | ||
45 | virtual int position() const; | 49 | virtual int position() const; |
46 | 50 | ||
47 | virtual QString name ( ) const; | 51 | virtual QString name ( ) const; |
48 | virtual QIconSet icon ( ) const; | 52 | virtual QIconSet icon ( ) const; |
49 | virtual QString text ( ) const; | 53 | virtual QString text ( ) const; |
50 | virtual QString tr( const char* ) const; | 54 | /* virtual QString tr( const char* ) const; |
51 | virtual QString tr( const char*, const char* ) const; | 55 | virtual QString tr( const char*, const char* ) const; |
56 | */ | ||
52 | virtual QPopupMenu *popup ( QWidget *parent ) const; | 57 | virtual QPopupMenu *popup ( QWidget *parent ) const; |
53 | |||
54 | virtual void activated ( ); | 58 | virtual void activated ( ); |
55 | 59 | ||
60 | private slots: | ||
61 | void channelReceived( const QCString &msg, const QByteArray & data ); | ||
62 | |||
56 | private: | 63 | private: |
57 | bool m_flipped; | ||
58 | ulong ref; | 64 | ulong ref; |
65 | bool m_flipped; | ||
66 | |||
59 | }; | 67 | }; |
60 | 68 | ||
61 | #endif | 69 | #endif |