author | harlekin <harlekin> | 2003-04-18 21:20:04 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-18 21:20:04 (UTC) |
commit | 1cdd9c974e621f6992ddc6dfccbc815baebd19ee (patch) (unidiff) | |
tree | c479e851ffc9788e75d12be116fb0b44827a9b45 /core/applets/rotateapplet/rotate.h | |
parent | c667951bfeaa17136bc828380e38062e150b2762 (diff) | |
download | opie-1cdd9c974e621f6992ddc6dfccbc815baebd19ee.zip opie-1cdd9c974e621f6992ddc6dfccbc815baebd19ee.tar.gz opie-1cdd9c974e621f6992ddc6dfccbc815baebd19ee.tar.bz2 |
add a qcop channel
Diffstat (limited to 'core/applets/rotateapplet/rotate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/rotateapplet/rotate.h | 16 |
1 files changed, 12 insertions, 4 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 | |||
@@ -19,43 +19,51 @@ | |||
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 | 58 | virtual void activated ( ); | |
54 | virtual void activated ( ); | 59 | |
60 | private slots: | ||
61 | void channelReceived( const QCString &msg, const QByteArray & data ); | ||
55 | 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 |