summaryrefslogtreecommitdiff
path: root/libopie2
authormickeyl <mickeyl>2005-06-24 12:51:12 (UTC)
committer mickeyl <mickeyl>2005-06-24 12:51:12 (UTC)
commit0fa3d7e26d0c1571e27cd05916043c72dc254077 (patch) (unidiff)
tree561ddc2d965411f9ca629b912e522f9f481c90d4 /libopie2
parentfac3dd32424a22ae6ded78a8d9eaaaf318aae2f3 (diff)
downloadopie-0fa3d7e26d0c1571e27cd05916043c72dc254077.zip
opie-0fa3d7e26d0c1571e27cd05916043c72dc254077.tar.gz
opie-0fa3d7e26d0c1571e27cd05916043c72dc254077.tar.bz2
s,cardmon/pcmcia,pcmcia,
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/fileselector/ofileselector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector.cpp b/libopie2/opieui/fileselector/ofileselector.cpp
index a30bd8b..02404e5 100644
--- a/libopie2/opieui/fileselector/ofileselector.cpp
+++ b/libopie2/opieui/fileselector/ofileselector.cpp
@@ -340,65 +340,65 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
340 btn->setUsesBigPixmap(bigicons); 340 btn->setUsesBigPixmap(bigicons);
341 btn->setPixmap( Opie::Core::OResource::loadPixmap( "up", Opie::Core::OResource::SmallIcon ) ); 341 btn->setPixmap( Opie::Core::OResource::loadPixmap( "up", Opie::Core::OResource::SmallIcon ) );
342 connect(btn, SIGNAL(clicked() ), 342 connect(btn, SIGNAL(clicked() ),
343 this, SLOT( cdUP() ) ); 343 this, SLOT( cdUP() ) );
344 344
345 btn = new QToolButton( box ); 345 btn = new QToolButton( box );
346 btn->setUsesBigPixmap(bigicons); 346 btn->setUsesBigPixmap(bigicons);
347 btn->setPixmap( Opie::Core::OResource::loadPixmap( "home", Opie::Core::OResource::SmallIcon ) ); 347 btn->setPixmap( Opie::Core::OResource::loadPixmap( "home", Opie::Core::OResource::SmallIcon ) );
348 connect(btn, SIGNAL(clicked() ), 348 connect(btn, SIGNAL(clicked() ),
349 this, SLOT( cdHome() ) ); 349 this, SLOT( cdHome() ) );
350 350
351 btn = new QToolButton( box ); 351 btn = new QToolButton( box );
352 btn->setUsesBigPixmap(bigicons); 352 btn->setUsesBigPixmap(bigicons);
353 btn->setPixmap( Opie::Core::OResource::loadPixmap( "DocsIcon", Opie::Core::OResource::SmallIcon ) ); 353 btn->setPixmap( Opie::Core::OResource::loadPixmap( "DocsIcon", Opie::Core::OResource::SmallIcon ) );
354 connect(btn, SIGNAL(clicked() ), 354 connect(btn, SIGNAL(clicked() ),
355 this, SLOT(cdDoc() ) ); 355 this, SLOT(cdDoc() ) );
356 356
357 m_btnNew = new QToolButton( box ); 357 m_btnNew = new QToolButton( box );
358 m_btnNew->setUsesBigPixmap(bigicons); 358 m_btnNew->setUsesBigPixmap(bigicons);
359 m_btnNew->setPixmap( Opie::Core::OResource::loadPixmap( "new", Opie::Core::OResource::SmallIcon ) ); 359 m_btnNew->setPixmap( Opie::Core::OResource::loadPixmap( "new", Opie::Core::OResource::SmallIcon ) );
360 connect(m_btnNew, SIGNAL(clicked() ), 360 connect(m_btnNew, SIGNAL(clicked() ),
361 this, SLOT(slotNew() ) ); 361 this, SLOT(slotNew() ) );
362 362
363 363
364 m_btnClose = new QToolButton( box ); 364 m_btnClose = new QToolButton( box );
365 m_btnClose->setUsesBigPixmap(bigicons); 365 m_btnClose->setUsesBigPixmap(bigicons);
366 m_btnClose->setPixmap( Opie::Core::OResource::loadPixmap( "close", Opie::Core::OResource::SmallIcon ) ); 366 m_btnClose->setPixmap( Opie::Core::OResource::loadPixmap( "close", Opie::Core::OResource::SmallIcon ) );
367 connect(m_btnClose, SIGNAL(clicked() ), 367 connect(m_btnClose, SIGNAL(clicked() ),
368 selector(), SIGNAL(closeMe() ) ); 368 selector(), SIGNAL(closeMe() ) );
369 369
370 btn = new QToolButton( box ); 370 btn = new QToolButton( box );
371 btn->setUsesBigPixmap(bigicons); 371 btn->setUsesBigPixmap(bigicons);
372 btn->setPixmap( Opie::Core::OResource::loadPixmap( "cardmon/pcmcia", Opie::Core::OResource::SmallIcon ) ); 372 btn->setPixmap( Opie::Core::OResource::loadPixmap( "pcmcia", Opie::Core::OResource::SmallIcon ) );
373 373
374 m_fsButton = btn; 374 m_fsButton = btn;
375 /* let's fill device parts */ 375 /* let's fill device parts */
376 QPopupMenu* pop = new QPopupMenu(this); 376 QPopupMenu* pop = new QPopupMenu(this);
377 connect(pop, SIGNAL( activated(int) ), 377 connect(pop, SIGNAL( activated(int) ),
378 this, SLOT(slotFSActivated(int) ) ); 378 this, SLOT(slotFSActivated(int) ) );
379 379
380 StorageInfo storage; 380 StorageInfo storage;
381 const QList<FileSystem> &fs = storage.fileSystems(); 381 const QList<FileSystem> &fs = storage.fileSystems();
382 QListIterator<FileSystem> it(fs); 382 QListIterator<FileSystem> it(fs);
383 for ( ; it.current(); ++it ) 383 for ( ; it.current(); ++it )
384 { 384 {
385 const QString disk = (*it)->name(); 385 const QString disk = (*it)->name();
386 const QString path = (*it)->path(); 386 const QString path = (*it)->path();
387 m_dev.insert( disk, path ); 387 m_dev.insert( disk, path );
388 pop->insertItem( disk ); 388 pop->insertItem( disk );
389 } 389 }
390 m_fsPop = pop; 390 m_fsPop = pop;
391 391
392 connect(btn,SIGNAL(pressed()),this,SLOT(slotFSpressed())); 392 connect(btn,SIGNAL(pressed()),this,SLOT(slotFSpressed()));
393 393
394 lay->addWidget( box ); 394 lay->addWidget( box );
395 395
396 m_view = new QListView( this ); 396 m_view = new QListView( this );
397 397
398 m_view->installEventFilter(this); 398 m_view->installEventFilter(this);
399 399
400 QPEApplication::setStylusOperation( m_view->viewport(), 400 QPEApplication::setStylusOperation( m_view->viewport(),
401 QPEApplication::RightOnHold); 401 QPEApplication::RightOnHold);
402 m_view->addColumn(" " ); 402 m_view->addColumn(" " );
403 m_view->addColumn(tr("Name"), 135 ); 403 m_view->addColumn(tr("Name"), 135 );
404 m_view->addColumn(tr("Size"), -1 ); 404 m_view->addColumn(tr("Size"), -1 );