summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.cpp
Unidiff
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 7fba0af..d7bad51 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -1,25 +1,24 @@
1/*************************************************************************** 1/***************************************************************************
2 AdvancedFm.cpp 2 AdvancedFm.cpp
3 ------------------- 3 -------------------
4 ** Created: Sat Mar 9 23:33:09 2002 4 ** Created: Sat Mar 9 23:33:09 2002
5 copyright : (C) 2002 by ljp 5 copyright : (C) 2002 by ljp
6 email : ljp@llornkcor.com 6 email : ljp@llornkcor.com
7 * This program is free software; you can redistribute it and/or modify * 7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by * 8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or * 9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. * 10 * (at your option) any later version. *
11 ***************************************************************************/ 11 ***************************************************************************/
12#define DEVELOPERS_VERSION 12#define DEVELOPERS_VERSION
13
14#include "advancedfm.h" 13#include "advancedfm.h"
15 14
16// #include <opie/ofileselector.h> 15// #include <opie/ofileselector.h>
17// #include <opie/ofiledialog.h> 16// #include <opie/ofiledialog.h>
18 17
19#include <qpe/filemanager.h> 18#include <qpe/filemanager.h>
20#include <qpe/qcopenvelope_qws.h> 19#include <qpe/qcopenvelope_qws.h>
21#include <qpe/qpemenubar.h> 20#include <qpe/qpemenubar.h>
22#include <qpe/qpetoolbar.h> 21#include <qpe/qpetoolbar.h>
23#include <qpe/qpeapplication.h> 22#include <qpe/qpeapplication.h>
24#include <qpe/qcopenvelope_qws.h> 23#include <qpe/qcopenvelope_qws.h>
25#include <qpe/config.h> 24#include <qpe/config.h>
@@ -386,37 +385,37 @@ void AdvancedFm::remoteListClicked(QListViewItem *selectedItem) {
386 chdir(strItem.latin1()); 385 chdir(strItem.latin1());
387 } 386 }
388 } 387 }
389} 388}
390 389
391 390
392void AdvancedFm::localListPressed( int mouse, QListViewItem *, const QPoint& , int ) { 391void AdvancedFm::localListPressed( int mouse, QListViewItem *, const QPoint& , int ) {
393// qDebug("list pressed"); 392// qDebug("list pressed");
394 switch (mouse) { 393 switch (mouse) {
395 case 1: 394 case 1:
396 break; 395 break;
397 case 2: 396 case 2:
398 menuTimer.start( 750, TRUE ); 397 menuTimer.start( 500, TRUE );
399 qDebug("Start menu timer\n"); 398 qDebug("Start menu timer\n");
400 break; 399 break;
401 }; 400 };
402} 401}
403 402
404void AdvancedFm::remoteListPressed( int mouse, QListViewItem*, const QPoint&, int ) { 403void AdvancedFm::remoteListPressed( int mouse, QListViewItem*, const QPoint&, int ) {
405 404
406 switch (mouse) { 405 switch (mouse) {
407 case 1: 406 case 1:
408 break; 407 break;
409 case 2: 408 case 2:
410 menuTimer.start( 750, TRUE ); 409 menuTimer.start( 500, TRUE );
411 qDebug("Start menu timer"); 410 qDebug("Start menu timer");
412 break; 411 break;
413 }; 412 };
414} 413}
415 414
416 415
417void AdvancedFm::switchToLocalTab() { 416void AdvancedFm::switchToLocalTab() {
418 TabWidget->setCurrentPage(0); 417 TabWidget->setCurrentPage(0);
419 Local_View->setFocus(); 418 Local_View->setFocus();
420} 419}
421 420
422void AdvancedFm::switchToRemoteTab() { 421void AdvancedFm::switchToRemoteTab() {