summaryrefslogtreecommitdiff
path: root/libopie2
Unidiff
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
@@ -348,49 +348,49 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
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 );