summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/fileBrowser.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-reader/fileBrowser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/fileBrowser.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/fileBrowser.cpp b/noncore/apps/opie-reader/fileBrowser.cpp
index 05f2c31..ebd14f3 100644
--- a/noncore/apps/opie-reader/fileBrowser.cpp
+++ b/noncore/apps/opie-reader/fileBrowser.cpp
@@ -1,51 +1,48 @@
1/**************************************************************************** 1/****************************************************************************
2 2
3Derived from a file browser which was 3Derived from a file browser which was
4 4
5** copyright 2001 ljp ljp@llornkcor.com 5** copyright 2001 ljp ljp@llornkcor.com
6 6
7Extensive modification by Tim Wentford to allow it to work in rotated mode 7Extensive modification by Tim Wentford to allow it to work in rotated mode
8 8
9****************************************************************************/ 9****************************************************************************/
10#include "fileBrowser.h" 10#include "fileBrowser.h"
11 11
12#include "QtrListView.h" 12#include "QtrListView.h"
13#include <qlineedit.h> 13#include <qlineedit.h>
14#include <qpushbutton.h> 14#include <qpushbutton.h>
15#include <qfile.h>
16#include <qmessagebox.h>
17#ifndef _WINDOWS 15#ifndef _WINDOWS
18#include <unistd.h> 16#include <unistd.h>
19#endif 17#endif
20#include <qlayout.h> 18#include <qlayout.h>
21#ifdef _WINDOWS 19#ifdef _WINDOWS
22#include <direct.h> 20#include <direct.h>
23#endif 21#endif
24 22
25#include <qpe/qpeapplication.h> 23#include <qpe/qpeapplication.h>
26 24
27#include "opie.h"
28 25
29fileBrowser::fileBrowser( bool allownew, QWidget* parent, const char* name, bool modal, WFlags fl , const QString filter, const QString iPath ) 26fileBrowser::fileBrowser( bool allownew, QWidget* parent, const char* name, bool modal, WFlags fl , const QString filter, const QString iPath )
30 : QDialog( parent, name, true, 27 : QDialog( parent, name, true,
31 fl/* | WStyle_Customize | WStyle_Tool*/), 28 fl/* | WStyle_Customize | WStyle_Tool*/),
32 filterspec(QDir::All) 29 filterspec(QDir::All)
33{ 30{
34// showMaximized(); 31// showMaximized();
35 if ( !name ) 32 if ( !name )
36 setName( "fileBrowser" ); 33 setName( "fileBrowser" );
37/* 34/*
38 if (parent != NULL) 35 if (parent != NULL)
39 { 36 {
40#ifdef OPIE 37#ifdef OPIE
41 move(0,0); 38 move(0,0);
42 resize( parent->width(), parent->height() ); 39 resize( parent->width(), parent->height() );
43#else 40#else
44 setGeometry(parent->x(), parent->y(), parent->width(), parent->height() ); 41 setGeometry(parent->x(), parent->y(), parent->width(), parent->height() );
45#endif 42#endif
46 } 43 }
47*/ 44*/
48// showFullScreen(); 45// showFullScreen();
49 setCaption(tr( "Browse for file" ) ); 46 setCaption(tr( "Browse for file" ) );
50 filterStr=filter; 47 filterStr=filter;
51 48