-rw-r--r-- | core/applets/cardmon/cardmon.cpp | 1 | ||||
-rw-r--r-- | core/applets/cardmon/config.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp index 6090b68..ed4bfc7 100644 --- a/core/applets/cardmon/cardmon.cpp +++ b/core/applets/cardmon/cardmon.cpp | |||
@@ -38,24 +38,25 @@ | |||
38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
39 | #include <string.h> | 39 | #include <string.h> |
40 | #include <fcntl.h> | 40 | #include <fcntl.h> |
41 | 41 | ||
42 | #if defined(_OS_LINUX_) || defined(Q_OS_LINUX) | 42 | #if defined(_OS_LINUX_) || defined(Q_OS_LINUX) |
43 | #include <sys/vfs.h> | 43 | #include <sys/vfs.h> |
44 | #include <mntent.h> | 44 | #include <mntent.h> |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | using namespace Opie; | 47 | using namespace Opie; |
48 | 48 | ||
49 | using namespace Opie::Ui; | 49 | using namespace Opie::Ui; |
50 | using namespace Opie::Ui; | ||
50 | using namespace Opie::Core; | 51 | using namespace Opie::Core; |
51 | 52 | ||
52 | CardMonitor::CardMonitor( QWidget * parent ) : QWidget( parent ), | 53 | CardMonitor::CardMonitor( QWidget * parent ) : QWidget( parent ), |
53 | pm( Resource::loadPixmap( "cardmon/pcmcia" ) ) | 54 | pm( Resource::loadPixmap( "cardmon/pcmcia" ) ) |
54 | { | 55 | { |
55 | 56 | ||
56 | QCopChannel * pcmciaChannel = new QCopChannel( "QPE/Card", this ); | 57 | QCopChannel * pcmciaChannel = new QCopChannel( "QPE/Card", this ); |
57 | connect( pcmciaChannel, | 58 | connect( pcmciaChannel, |
58 | SIGNAL( received(const QCString&,const QByteArray&) ), this, | 59 | SIGNAL( received(const QCString&,const QByteArray&) ), this, |
59 | SLOT( cardMessage(const QCString&,const QByteArray&) ) ); | 60 | SLOT( cardMessage(const QCString&,const QByteArray&) ) ); |
60 | 61 | ||
61 | QCopChannel *sdChannel = new QCopChannel( "QPE/Card", this ); | 62 | QCopChannel *sdChannel = new QCopChannel( "QPE/Card", this ); |
diff --git a/core/applets/cardmon/config.in b/core/applets/cardmon/config.in index f3d57fd..8626c75 100644 --- a/core/applets/cardmon/config.in +++ b/core/applets/cardmon/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config CARDMON | 1 | config CARDMON |
2 | boolean "opie-cardmon (monitor cf/sd/mmc card status, and eject function)" | 2 | boolean "opie-cardmon (monitor cf/sd/mmc card status, and eject function)" |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIECORE2 |