author | zecke <zecke> | 2003-10-07 12:50:00 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-10-07 12:50:00 (UTC) |
commit | 37ddd7628c5406f05806b97471db72e2ee943d86 (patch) (unidiff) | |
tree | 862d50ae45f2cab53d2106c83f4b1c6bff6ea91c /core/applets/rotateapplet/rotate.cpp | |
parent | bff4ae322275e910125cd8d9bd22feefbbab2477 (diff) | |
download | opie-37ddd7628c5406f05806b97471db72e2ee943d86.zip opie-37ddd7628c5406f05806b97471db72e2ee943d86.tar.gz opie-37ddd7628c5406f05806b97471db72e2ee943d86.tar.bz2 |
kill un-needed QCOP checking
Diffstat (limited to 'core/applets/rotateapplet/rotate.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/rotateapplet/rotate.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/applets/rotateapplet/rotate.cpp b/core/applets/rotateapplet/rotate.cpp index 62567ed..ac6b259 100644 --- a/core/applets/rotateapplet/rotate.cpp +++ b/core/applets/rotateapplet/rotate.cpp | |||
@@ -37,31 +37,29 @@ | |||
37 | 37 | ||
38 | #include <opie/odevice.h> | 38 | #include <opie/odevice.h> |
39 | 39 | ||
40 | #include "rotate.h" | 40 | #include "rotate.h" |
41 | 41 | ||
42 | using namespace Opie; | 42 | using namespace Opie; |
43 | 43 | ||
44 | 44 | ||
45 | RotateApplet::RotateApplet ( ) | 45 | RotateApplet::RotateApplet ( ) |
46 | : QObject ( 0, "RotateApplet" ), ref ( 0 ), m_flipped( false ) | 46 | : QObject ( 0, "RotateApplet" ), ref ( 0 ), m_flipped( false ) |
47 | { | 47 | { |
48 | 48 | ||
49 | #if defined(Q_WS_QWS) | ||
50 | #if !defined(QT_NO_COP) | 49 | #if !defined(QT_NO_COP) |
51 | QCopChannel *rotateChannel = new QCopChannel( "QPE/Rotation" , this ); | 50 | QCopChannel *rotateChannel = new QCopChannel( "QPE/Rotation" , this ); |
52 | connect ( rotateChannel, SIGNAL( received( const QCString &, const QByteArray &) ), | 51 | connect ( rotateChannel, SIGNAL( received( const QCString &, const QByteArray &) ), |
53 | this, SLOT ( channelReceived( const QCString &, const QByteArray &) ) ); | 52 | this, SLOT ( channelReceived( const QCString &, const QByteArray &) ) ); |
54 | #endif | 53 | #endif |
55 | #endif | ||
56 | 54 | ||
57 | } | 55 | } |
58 | 56 | ||
59 | RotateApplet::~RotateApplet ( ) | 57 | RotateApplet::~RotateApplet ( ) |
60 | { | 58 | { |
61 | } | 59 | } |
62 | 60 | ||
63 | 61 | ||
64 | /** | 62 | /** |
65 | * Qcop receive method. | 63 | * Qcop receive method. |
66 | */ | 64 | */ |
67 | void RotateApplet::channelReceived( const QCString &msg, const QByteArray & data ) { | 65 | void RotateApplet::channelReceived( const QCString &msg, const QByteArray & data ) { |