summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-06-21 14:58:24 (UTC)
committer mickeyl <mickeyl>2005-06-21 14:58:24 (UTC)
commit6d4379546a9ae0ca397463820fe81126703f53c5 (patch) (side-by-side diff)
tree4d729dfa5cfaa460a97ff2041fb189535956d3a1
parentae85d18a1f8a63323ad47631724516f3aa355a75 (diff)
downloadopie-6d4379546a9ae0ca397463820fe81126703f53c5.zip
opie-6d4379546a9ae0ca397463820fe81126703f53c5.tar.gz
opie-6d4379546a9ae0ca397463820fe81126703f53c5.tar.bz2
use own pixmap (s/cardmon/pcmcia/)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/pcmcia/pcmcia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/applets/pcmcia/pcmcia.cpp b/noncore/applets/pcmcia/pcmcia.cpp
index 0787c3c..e435f61 100644
--- a/noncore/applets/pcmcia/pcmcia.cpp
+++ b/noncore/applets/pcmcia/pcmcia.cpp
@@ -55,49 +55,49 @@ using namespace Opie::Ui;
#include <qtimer.h>
/* STD */
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#if defined(_OS_LINUX_) || defined(Q_OS_LINUX)
#include <sys/vfs.h>
#include <mntent.h>
#endif
PcmciaManager::PcmciaManager( QWidget * parent ) : QWidget( parent )
{
QCopChannel * pcmciaChannel = new QCopChannel( "QPE/Card", this );
connect( pcmciaChannel,
SIGNAL( received(const QCString&,const QByteArray&) ), this,
SLOT( cardMessage(const QCString&,const QByteArray&) ) );
setFocusPolicy( NoFocus );
setFixedWidth ( AppLnk::smallIconSize() );
setFixedHeight ( AppLnk::smallIconSize() );
- pm = Opie::Core::OResource::loadPixmap( "cardmon/pcmcia", Opie::Core::OResource::SmallIcon );
+ pm = Opie::Core::OResource::loadPixmap( "pcmcia/pcmcia", Opie::Core::OResource::SmallIcon );
configuring = false;
QCopChannel *channel = new QCopChannel( "QPE/System", this );
connect( channel, SIGNAL(received(const QCString&,const QByteArray&)),
this, SLOT(handleSystemChannel(const QCString&,const QByteArray&)) );
}
PcmciaManager::~PcmciaManager()
{
}
void PcmciaManager::handleSystemChannel( const QCString&msg, const QByteArray& )
{
if ( msg == "returnFromSuspend()" )
{
if ( !OPcmciaSystem::instance()->cardCount() ) return;
OPcmciaSystem* sys = OPcmciaSystem::instance();
OPcmciaSystem::CardIterator it = sys->iterator();
OPcmciaSocket* theCard = 0;
while ( it.current() )
{
if ( it.current()->isEmpty() )