author | mickeyl <mickeyl> | 2005-06-09 14:30:24 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-06-09 14:30:24 (UTC) |
commit | 855e272549619c02efac516b2cd17828d7a3ad68 (patch) (side-by-side diff) | |
tree | e16d36f3a0a85ae847b7cf9699061c8990991a55 /noncore/applets/pcmcia/pcmcia.cpp | |
parent | 9a4b3a90fdd4ac0288034657d4818e3d10ed0193 (diff) | |
download | opie-855e272549619c02efac516b2cd17828d7a3ad68.zip opie-855e272549619c02efac516b2cd17828d7a3ad68.tar.gz opie-855e272549619c02efac516b2cd17828d7a3ad68.tar.bz2 |
update dialog and start with code reading possible PCMCIA devices and classes
Diffstat (limited to 'noncore/applets/pcmcia/pcmcia.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/pcmcia/pcmcia.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/applets/pcmcia/pcmcia.cpp b/noncore/applets/pcmcia/pcmcia.cpp index 4fcc189..6c18e86 100644 --- a/noncore/applets/pcmcia/pcmcia.cpp +++ b/noncore/applets/pcmcia/pcmcia.cpp @@ -133,3 +133,3 @@ void PcmciaManager::mousePressEvent( QMouseEvent* ) submenu->insertItem( "&Configure", CONFIGURE+i*100 ); - + submenu->setItemEnabled( EJECT+i*100, !it.current()->isEmpty() ); @@ -139,3 +139,3 @@ void PcmciaManager::mousePressEvent( QMouseEvent* ) submenu->setItemEnabled( CONFIGURE+i*100, !it.current()->isEmpty() ); - + connect( submenu, SIGNAL(activated(int)), this, SLOT(userCardAction(int)) ); @@ -172,3 +172,3 @@ void PcmciaManager::cardMessage( const QCString & msg, const QByteArray & ) OPcmciaSocket* theCard = 0; - + while ( it.current() && newCard ) @@ -236,3 +236,3 @@ void PcmciaManager::paintEvent( QPaintEvent * ) odebug << "sockets = " << OPcmciaSystem::instance()->count() << ", cards = " << OPcmciaSystem::instance()->cardCount() << oendl; - + if ( OPcmciaSystem::instance()->cardCount() ) @@ -260,6 +260,6 @@ void PcmciaManager::userCardAction( int action ) odebug << "user action requested. action = " << action << oendl; - + int socket = action / 100; int what = action % 100; - + switch ( what ) |