summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.cpp
authorllornkcor <llornkcor>2002-11-16 03:59:23 (UTC)
committer llornkcor <llornkcor>2002-11-16 03:59:23 (UTC)
commitb17b2274c200403da25a994ed9d8ba4856d725c0 (patch) (unidiff)
treed3f64243b4f0a8b8ec6300ac33430633da9543a8 /noncore/apps/advancedfm/advancedfm.cpp
parentd3e670971b2b721eb2b484801cf1c6ecbf52d436 (diff)
downloadopie-b17b2274c200403da25a994ed9d8ba4856d725c0.zip
opie-b17b2274c200403da25a994ed9d8ba4856d725c0.tar.gz
opie-b17b2274c200403da25a994ed9d8ba4856d725c0.tar.bz2
various changes, popupmenu at complete left.
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 08dc24e..23244a2 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -3,25 +3,25 @@
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#include "advancedfm.h" 13#include "advancedfm.h"
14 14
15 #include <opie/otabwidget.h> 15#include <opie/otabwidget.h>
16// #include <opie/ofileselector.h> 16// #include <opie/ofileselector.h>
17// #include <opie/ofiledialog.h> 17// #include <opie/ofiledialog.h>
18 18
19#include <qpe/filemanager.h> 19#include <qpe/filemanager.h>
20#include <qpe/qcopenvelope_qws.h> 20#include <qpe/qcopenvelope_qws.h>
21#include <qpe/qpemenubar.h> 21#include <qpe/qpemenubar.h>
22#include <qpe/qpetoolbar.h> 22#include <qpe/qpetoolbar.h>
23#include <qpe/qpeapplication.h> 23#include <qpe/qpeapplication.h>
24#include <qpe/qcopenvelope_qws.h> 24#include <qpe/qcopenvelope_qws.h>
25#include <qpe/config.h> 25#include <qpe/config.h>
26#include <qpe/mimetype.h> 26#include <qpe/mimetype.h>
27#include <qpe/applnk.h> 27#include <qpe/applnk.h>
@@ -804,26 +804,26 @@ void AdvancedFm::showFileMenu() {
804#if defined(QT_QWS_OPIE) 804#if defined(QT_QWS_OPIE)
805 m->insertItem( tr( "Properties" ), this, SLOT( doProperties() )); 805 m->insertItem( tr( "Properties" ), this, SLOT( doProperties() ));
806#endif 806#endif
807 m->setCheckable(TRUE); 807 m->setCheckable(TRUE);
808 if (!b) 808 if (!b)
809 m->setItemChecked(m->idAt(0),TRUE); 809 m->setItemChecked(m->idAt(0),TRUE);
810 else 810 else
811 m->setItemChecked(m->idAt(0),FALSE); 811 m->setItemChecked(m->idAt(0),FALSE);
812 812
813 if(Ir::supported()) 813 if(Ir::supported())
814 m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); 814 m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() ));
815 m->setFocus(); 815 m->setFocus();
816 m->exec( QCursor::pos() ); 816 m->exec( QPoint( 4,QCursor::pos().y()) );
817 sleep(1); 817
818 if(m) delete m; 818 if(m) delete m;
819} 819}
820 820
821 821
822void AdvancedFm::cancelMenuTimer() { 822void AdvancedFm::cancelMenuTimer() {
823 823
824// qDebug("selectionChanged: cancel menu timer"); 824// qDebug("selectionChanged: cancel menu timer");
825 if( menuTimer.isActive() ) 825 if( menuTimer.isActive() )
826 menuTimer.stop(); 826 menuTimer.stop();
827} 827}
828 828
829QString AdvancedFm::checkDiskSpace(const QString &path) { 829QString AdvancedFm::checkDiskSpace(const QString &path) {