summaryrefslogtreecommitdiff
path: root/noncore/unsupported
authorllornkcor <llornkcor>2002-02-24 15:30:25 (UTC)
committer llornkcor <llornkcor>2002-02-24 15:30:25 (UTC)
commitd4592dd8d9cb451c780b71b9aebaa53b2e58f2c3 (patch) (unidiff)
tree7ea4e5bf47467510c35c08e4cd4114d46ffd4e1b /noncore/unsupported
parenta43106c752dae2404f33a07dc80851c4a745d2bc (diff)
downloadopie-d4592dd8d9cb451c780b71b9aebaa53b2e58f2c3.zip
opie-d4592dd8d9cb451c780b71b9aebaa53b2e58f2c3.tar.gz
opie-d4592dd8d9cb451c780b71b9aebaa53b2e58f2c3.tar.bz2
changed capitalization of new menu item
Diffstat (limited to 'noncore/unsupported') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/filebrowser/filebrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/filebrowser/filebrowser.cpp b/noncore/unsupported/filebrowser/filebrowser.cpp
index 384d7da..eaf5eeb 100644
--- a/noncore/unsupported/filebrowser/filebrowser.cpp
+++ b/noncore/unsupported/filebrowser/filebrowser.cpp
@@ -633,49 +633,49 @@ void FileView::showFileMenu()
633 } 633 }
634 634
635 MimeType mt(i->getFilePath()); 635 MimeType mt(i->getFilePath());
636 const AppLnk* app = mt.application(); 636 const AppLnk* app = mt.application();
637 637
638 if ( !i->isDir() ) { 638 if ( !i->isDir() ) {
639 if ( app ) 639 if ( app )
640 m->insertItem( app->pixmap(), tr( "Open in " + app->name() ), this, SLOT( run() ) ); 640 m->insertItem( app->pixmap(), tr( "Open in " + app->name() ), this, SLOT( run() ) );
641 else if( i->isExecutable() ) 641 else if( i->isExecutable() )
642 m->insertItem( Resource::loadPixmap( i->text( 0 ) ), tr( "Run" ), this, SLOT( run() ) ); 642 m->insertItem( Resource::loadPixmap( i->text( 0 ) ), tr( "Run" ), this, SLOT( run() ) );
643 643
644 m->insertItem( Resource::loadPixmap( "txt" ), tr( "View as text" ), 644 m->insertItem( Resource::loadPixmap( "txt" ), tr( "View as text" ),
645 this, SLOT( viewAsText() ) ); 645 this, SLOT( viewAsText() ) );
646 646
647 m->insertSeparator(); 647 m->insertSeparator();
648 } 648 }
649 649
650 m->insertItem( tr( "Rename" ), this, SLOT( rename() ) ); 650 m->insertItem( tr( "Rename" ), this, SLOT( rename() ) );
651 m->insertItem( Resource::loadPixmap("cut"), 651 m->insertItem( Resource::loadPixmap("cut"),
652 tr( "Cut" ), this, SLOT( cut() ) ); 652 tr( "Cut" ), this, SLOT( cut() ) );
653 m->insertItem( Resource::loadPixmap("copy"), 653 m->insertItem( Resource::loadPixmap("copy"),
654 tr( "Copy" ), this, SLOT( copy() ) ); 654 tr( "Copy" ), this, SLOT( copy() ) );
655 m->insertItem( Resource::loadPixmap("paste"), 655 m->insertItem( Resource::loadPixmap("paste"),
656 tr( "Paste" ), this, SLOT( paste() ) ); 656 tr( "Paste" ), this, SLOT( paste() ) );
657 m->insertItem( tr( "change permissions" ), this, SLOT( chPerm() ) ); 657 m->insertItem( tr( "Change Permissions" ), this, SLOT( chPerm() ) );
658 m->insertItem( tr( "Delete" ), this, SLOT( del() ) ); 658 m->insertItem( tr( "Delete" ), this, SLOT( del() ) );
659 m->insertSeparator(); 659 m->insertSeparator();
660 m->insertItem( tr( "Select all" ), this, SLOT( selectAll() ) ); 660 m->insertItem( tr( "Select all" ), this, SLOT( selectAll() ) );
661 m->insertItem( tr( "Deselect all" ), this, SLOT( deselectAll() ) ); 661 m->insertItem( tr( "Deselect all" ), this, SLOT( deselectAll() ) );
662 m->popup( QCursor::pos() ); 662 m->popup( QCursor::pos() );
663} 663}
664 664
665// 665//
666// FileBrowser 666// FileBrowser
667// 667//
668 668
669FileBrowser::FileBrowser( QWidget * parent, 669FileBrowser::FileBrowser( QWidget * parent,
670 const char * name, WFlags f ) : 670 const char * name, WFlags f ) :
671 QMainWindow( parent, name, f ) 671 QMainWindow( parent, name, f )
672{ 672{
673 init( QDir::current().canonicalPath() ); 673 init( QDir::current().canonicalPath() );
674} 674}
675 675
676FileBrowser::FileBrowser( const QString & dir, QWidget * parent, 676FileBrowser::FileBrowser( const QString & dir, QWidget * parent,
677 const char * name, WFlags f ) : 677 const char * name, WFlags f ) :
678 QMainWindow( parent, name, f ) 678 QMainWindow( parent, name, f )
679{ 679{
680 init( dir ); 680 init( dir );
681} 681}