-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 5 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.h | 1 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 8 |
4 files changed, 13 insertions, 5 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 | |||
@@ -10,7 +10,6 @@ | |||
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> |
@@ -395,7 +394,7 @@ void AdvancedFm::localListPressed( int mouse, QListViewItem *, const QPoint& , i | |||
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 | }; |
@@ -407,7 +406,7 @@ void AdvancedFm::remoteListPressed( int mouse, QListViewItem*, const QPoint&, in | |||
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 | }; |
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h index 12ad474..f846c66 100644 --- a/noncore/apps/advancedfm/advancedfm.h +++ b/noncore/apps/advancedfm/advancedfm.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #ifndef ADVANCEDFM_H | 12 | #ifndef ADVANCEDFM_H |
13 | #define ADVANCEDFM_H | 13 | #define ADVANCEDFM_H |
14 | #define QTOPIA_INTERNAL_FSLP // to get access to fileproperties | 14 | #define QTOPIA_INTERNAL_FSLP // to get access to fileproperties |
15 | #define QT_QWS_OPIE | ||
15 | 16 | ||
16 | #include <qpe/ir.h> | 17 | #include <qpe/ir.h> |
17 | 18 | ||
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index 4c24e83..619a7a9 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp | |||
@@ -30,7 +30,9 @@ | |||
30 | 30 | ||
31 | 31 | ||
32 | void AdvancedFm::init() { | 32 | void AdvancedFm::init() { |
33 | 33 | #if defined(QT_QWS_OPIE) | |
34 | qDebug("<<<<<<<<<<<<<<<<<<<<<<<< OPIE!!!"); | ||
35 | #endif | ||
34 | setCaption( tr( "AdvancedFm" ) ); | 36 | setCaption( tr( "AdvancedFm" ) ); |
35 | 37 | ||
36 | QGridLayout *layout = new QGridLayout( this ); | 38 | QGridLayout *layout = new QGridLayout( this ); |
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 7ee5065..6d37904 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -343,14 +343,18 @@ void AdvancedFm::filePerms() { | |||
343 | } | 343 | } |
344 | 344 | ||
345 | void AdvancedFm::doProperties() { | 345 | void AdvancedFm::doProperties() { |
346 | #if defined(QT_QWS_OPIE) | ||
347 | |||
346 | QStringList curFileList = getPath(); | 348 | QStringList curFileList = getPath(); |
349 | |||
347 | QString filePath; | 350 | QString filePath; |
348 | if (TabWidget->currentPageIndex() == 0) { | 351 | if (TabWidget->currentPageIndex() == 0) { |
349 | filePath = currentDir.canonicalPath()+"/"; | 352 | filePath = currentDir.canonicalPath()+"/"; |
350 | } else { | 353 | } else { |
351 | filePath= currentRemoteDir.canonicalPath()+"/"; | 354 | filePath= currentRemoteDir.canonicalPath()+"/"; |
352 | } | 355 | } |
353 | // qDebug("%d",curFileList.count()); | 356 | qDebug("%d",curFileList.count()); |
357 | |||
354 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { | 358 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { |
355 | qDebug((filePath+*it)); | 359 | qDebug((filePath+*it)); |
356 | DocLnk lnk( (filePath+*it)); | 360 | DocLnk lnk( (filePath+*it)); |
@@ -358,6 +362,8 @@ void AdvancedFm::doProperties() { | |||
358 | prop.showMaximized(); | 362 | prop.showMaximized(); |
359 | prop.exec(); | 363 | prop.exec(); |
360 | } | 364 | } |
365 | #endif | ||
366 | |||
361 | } | 367 | } |
362 | 368 | ||
363 | void AdvancedFm::upDir() { | 369 | void AdvancedFm::upDir() { |