author | llornkcor <llornkcor> | 2002-06-21 00:55:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-21 00:55:02 (UTC) |
commit | 2a7407325b1607c9ee40ed3558c8549672a36ad4 (patch) (side-by-side diff) | |
tree | 4e00e892bd2e9ced90bc7f78b43f995e13f4d636 /noncore/apps/advancedfm/advancedfm.cpp | |
parent | b5951d300371cbe78fa94163aa882419e3d08d4b (diff) | |
download | opie-2a7407325b1607c9ee40ed3558c8549672a36ad4.zip opie-2a7407325b1607c9ee40ed3558c8549672a36ad4.tar.gz opie-2a7407325b1607c9ee40ed3558c8549672a36ad4.tar.bz2 |
ipkg-build needs Package: , please consult maintainer before making changes. Various changes in cpp
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index ebd7fc3..1287c57 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -212,28 +212,30 @@ AdvancedFm::AdvancedFm( ) Remote_View->addColumn( tr("Date"),-1); Remote_View->setColumnAlignment(2,QListView::AlignRight); Remote_View->setAllColumnsShowFocus(TRUE); Remote_View->setMultiSelection( TRUE ); Remote_View->setSelectionMode(QListView::Extended); + QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); connect( Remote_View, SIGNAL( clicked( QListViewItem*)), this,SLOT( remoteListClicked(QListViewItem *)) ); connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), this,SLOT( remoteListPressed(int, QListViewItem *, const QPoint&, int)) ); // connect( Remote_View, SIGNAL( selectionChanged() ), SLOT( cancelMenuTimer() ) ); tabLayout_2->addWidget( Remote_View, 0, 0 ); + TabWidget->insertTab( tab_2, tr( "2")); connect(TabWidget,SIGNAL(currentChanged(QWidget *)), this,SLOT(tabChanged(QWidget*))); - tab_3 = new QWidget( TabWidget, "tab_3" ); + /* tab_3 = new QWidget( TabWidget, "tab_3" ); tabLayout_3 = new QGridLayout( tab_3 ); tabLayout_3->setSpacing( 2); tabLayout_3->setMargin( 2); // OFileDialog fileDialog; @@ -246,12 +248,14 @@ QListView *fileTree; fileTree = new QListView( tab_3, "tree" ); tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 ); TabWidget->insertTab( tab_3, tr( "Remote" ) ); + */ + /////////////// //////////////////// currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); @@ -1766,12 +1770,13 @@ void AdvancedFm::showFileMenu() { else m->setItemChecked(m->idAt(0),FALSE); if(Ir::supported()) m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); m->setFocus(); m->exec( QCursor::pos() ); + sleep(1); if(m) delete m; } void AdvancedFm::cancelMenuTimer() { |