author | llornkcor <llornkcor> | 2002-06-21 00:55:02 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-21 00:55:02 (UTC) |
commit | 2a7407325b1607c9ee40ed3558c8549672a36ad4 (patch) (unidiff) | |
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 | |||
@@ -212,28 +212,30 @@ AdvancedFm::AdvancedFm( ) | |||
212 | Remote_View->addColumn( tr("Date"),-1); | 212 | Remote_View->addColumn( tr("Date"),-1); |
213 | Remote_View->setColumnAlignment(2,QListView::AlignRight); | 213 | Remote_View->setColumnAlignment(2,QListView::AlignRight); |
214 | Remote_View->setAllColumnsShowFocus(TRUE); | 214 | Remote_View->setAllColumnsShowFocus(TRUE); |
215 | Remote_View->setMultiSelection( TRUE ); | 215 | Remote_View->setMultiSelection( TRUE ); |
216 | Remote_View->setSelectionMode(QListView::Extended); | 216 | Remote_View->setSelectionMode(QListView::Extended); |
217 | 217 | ||
218 | |||
218 | QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); | 219 | QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); |
219 | 220 | ||
220 | connect( Remote_View, SIGNAL( clicked( QListViewItem*)), | 221 | connect( Remote_View, SIGNAL( clicked( QListViewItem*)), |
221 | this,SLOT( remoteListClicked(QListViewItem *)) ); | 222 | this,SLOT( remoteListClicked(QListViewItem *)) ); |
222 | connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), | 223 | connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), |
223 | this,SLOT( remoteListPressed(int, QListViewItem *, const QPoint&, int)) ); | 224 | this,SLOT( remoteListPressed(int, QListViewItem *, const QPoint&, int)) ); |
224 | // connect( Remote_View, SIGNAL( selectionChanged() ), SLOT( cancelMenuTimer() ) ); | 225 | // connect( Remote_View, SIGNAL( selectionChanged() ), SLOT( cancelMenuTimer() ) ); |
225 | 226 | ||
226 | tabLayout_2->addWidget( Remote_View, 0, 0 ); | 227 | tabLayout_2->addWidget( Remote_View, 0, 0 ); |
227 | 228 | ||
229 | |||
228 | TabWidget->insertTab( tab_2, tr( "2")); | 230 | TabWidget->insertTab( tab_2, tr( "2")); |
229 | 231 | ||
230 | connect(TabWidget,SIGNAL(currentChanged(QWidget *)), | 232 | connect(TabWidget,SIGNAL(currentChanged(QWidget *)), |
231 | this,SLOT(tabChanged(QWidget*))); | 233 | this,SLOT(tabChanged(QWidget*))); |
232 | 234 | ||
233 | tab_3 = new QWidget( TabWidget, "tab_3" ); | 235 | /* tab_3 = new QWidget( TabWidget, "tab_3" ); |
234 | tabLayout_3 = new QGridLayout( tab_3 ); | 236 | tabLayout_3 = new QGridLayout( tab_3 ); |
235 | tabLayout_3->setSpacing( 2); | 237 | tabLayout_3->setSpacing( 2); |
236 | tabLayout_3->setMargin( 2); | 238 | tabLayout_3->setMargin( 2); |
237 | 239 | ||
238 | 240 | ||
239 | // OFileDialog fileDialog; | 241 | // OFileDialog fileDialog; |
@@ -245,13 +247,15 @@ AdvancedFm::AdvancedFm( ) | |||
245 | QListView *fileTree; | 247 | QListView *fileTree; |
246 | fileTree = new QListView( tab_3, "tree" ); | 248 | fileTree = new QListView( tab_3, "tree" ); |
247 | 249 | ||
248 | 250 | ||
249 | tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 ); | 251 | tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 ); |
250 | 252 | ||
251 | TabWidget->insertTab( tab_3, tr( "Remote" ) ); | 253 | TabWidget->insertTab( tab_3, tr( "Remote" ) ); |
254 | */ | ||
255 | |||
252 | /////////////// | 256 | /////////////// |
253 | 257 | ||
254 | //////////////////// | 258 | //////////////////// |
255 | 259 | ||
256 | 260 | ||
257 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 261 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
@@ -1766,12 +1770,13 @@ void AdvancedFm::showFileMenu() { | |||
1766 | else | 1770 | else |
1767 | m->setItemChecked(m->idAt(0),FALSE); | 1771 | m->setItemChecked(m->idAt(0),FALSE); |
1768 | if(Ir::supported()) | 1772 | if(Ir::supported()) |
1769 | m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); | 1773 | m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); |
1770 | m->setFocus(); | 1774 | m->setFocus(); |
1771 | m->exec( QCursor::pos() ); | 1775 | m->exec( QCursor::pos() ); |
1776 | sleep(1); | ||
1772 | if(m) delete m; | 1777 | if(m) delete m; |
1773 | } | 1778 | } |
1774 | 1779 | ||
1775 | 1780 | ||
1776 | void AdvancedFm::cancelMenuTimer() | 1781 | void AdvancedFm::cancelMenuTimer() |
1777 | { | 1782 | { |
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,8 +1,9 @@ | |||
1 | Files: bin/advancedfm apps/Applications/advancedfm.desktop | 1 | Files: bin/advancedfm apps/Applications/advancedfm.desktop |
2 | Priority: optional | 2 | Priority: optional |
3 | Package: opie-advancedfm | ||
3 | Section: opie/applications | 4 | Section: opie/applications |
4 | Maintainer: L.J. Potter <ljp@llornkcor.com> | 5 | Maintainer: L.J. Potter <ljp@llornkcor.com> |
5 | Architecture: arm | 6 | Architecture: arm |
6 | Version: $QPE_VERSION-$SUB_VERSION | 7 | Version: $QPE_VERSION-$SUB_VERSION |
7 | Depends: opie-base ($QPE_VERSION) | 8 | Depends: opie-base ($QPE_VERSION) |
8 | Description: Advanced File Manager | 9 | Description: Advanced File Manager |