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 | |
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
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 9 | ||||
-rw-r--r-- | noncore/apps/advancedfm/opie-advancedfm.control | 1 |
2 files changed, 8 insertions, 2 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 @@ -210,32 +210,34 @@ AdvancedFm::AdvancedFm( ) Remote_View->addColumn( tr("Size"),-1); Remote_View->setColumnAlignment(1,QListView::AlignRight); 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; // fileDialog; // fileSelector = new FileSelector( "*",tab_3, "fileselector" , FALSE, FALSE); //buggy @@ -243,17 +245,19 @@ AdvancedFm::AdvancedFm( ) // OFileSelector fileDialog = new OFileSelector( tab_3, 4, 2,"/"); QListView *fileTree; fileTree = new QListView( tab_3, "tree" ); tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 ); - TabWidget->insertTab( tab_3, tr( "Remote" ) ); + TabWidget->insertTab( tab_3, tr( "Remote" ) ); + */ + /////////////// //////////////////// currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); currentDir.setPath( QDir::currentDirPath()); @@ -1764,16 +1768,17 @@ void AdvancedFm::showFileMenu() { if (!b) m->setItemChecked(m->idAt(0),TRUE); 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() { qDebug("selectionChanged: cancel menu timer"); diff --git a/noncore/apps/advancedfm/opie-advancedfm.control b/noncore/apps/advancedfm/opie-advancedfm.control index bda8543..957a584 100644 --- a/noncore/apps/advancedfm/opie-advancedfm.control +++ b/noncore/apps/advancedfm/opie-advancedfm.control @@ -1,9 +1,10 @@ Files: bin/advancedfm apps/Applications/advancedfm.desktop Priority: optional +Package: opie-advancedfm Section: opie/applications Maintainer: L.J. Potter <ljp@llornkcor.com> Architecture: arm Version: $QPE_VERSION-$SUB_VERSION Depends: opie-base ($QPE_VERSION) Description: Advanced File Manager The advanced file manager for the Opie environment. |