summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2002-10-10 00:31:19 (UTC)
committer llornkcor <llornkcor>2002-10-10 00:31:19 (UTC)
commit41aaa97e19b29f96fced9013a707cc6d16bc2143 (patch) (side-by-side diff)
tree13eaa232ff64d5da79594ae5dea3bc3455f88f09 /noncore
parent91e597f6607a1db7251c217154ab56ea94fb0bca (diff)
downloadopie-41aaa97e19b29f96fced9013a707cc6d16bc2143.zip
opie-41aaa97e19b29f96fced9013a707cc6d16bc2143.tar.gz
opie-41aaa97e19b29f96fced9013a707cc6d16bc2143.tar.bz2
menu
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp5
-rw-r--r--noncore/apps/advancedfm/advancedfm.h1
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp6
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp10
4 files changed, 15 insertions, 7 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
@@ -11,5 +11,4 @@
***************************************************************************/
#define DEVELOPERS_VERSION
-
#include "advancedfm.h"
@@ -396,5 +395,5 @@ void AdvancedFm::localListPressed( int mouse, QListViewItem *, const QPoint& , i
break;
case 2:
- menuTimer.start( 750, TRUE );
+ menuTimer.start( 500, TRUE );
qDebug("Start menu timer\n");
break;
@@ -408,5 +407,5 @@ void AdvancedFm::remoteListPressed( int mouse, QListViewItem*, const QPoint&, in
break;
case 2:
- menuTimer.start( 750, TRUE );
+ menuTimer.start( 500, TRUE );
qDebug("Start menu timer");
break;
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
@@ -13,4 +13,5 @@
#define ADVANCEDFM_H
#define QTOPIA_INTERNAL_FSLP // to get access to fileproperties
+#define QT_QWS_OPIE
#include <qpe/ir.h>
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
@@ -31,6 +31,8 @@
void AdvancedFm::init() {
-
- setCaption( tr( "AdvancedFm" ) );
+#if defined(QT_QWS_OPIE)
+ qDebug("<<<<<<<<<<<<<<<<<<<<<<<< OPIE!!!");
+#endif
+ setCaption( tr( "AdvancedFm" ) );
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
@@ -344,5 +344,8 @@ void AdvancedFm::filePerms() {
void AdvancedFm::doProperties() {
+#if defined(QT_QWS_OPIE)
+
QStringList curFileList = getPath();
+
QString filePath;
if (TabWidget->currentPageIndex() == 0) {
@@ -351,6 +354,7 @@ void AdvancedFm::doProperties() {
filePath= currentRemoteDir.canonicalPath()+"/";
}
- // qDebug("%d",curFileList.count());
- for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
+ qDebug("%d",curFileList.count());
+
+ for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
qDebug((filePath+*it));
DocLnk lnk( (filePath+*it));
@@ -359,4 +363,6 @@ void AdvancedFm::doProperties() {
prop.exec();
}
+#endif
+
}