Diffstat (limited to 'noncore/apps/opie-reader/fileBrowser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/fileBrowser.cpp | 3 |
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 | |||
@@ -3,37 +3,34 @@ | |||
3 | Derived from a file browser which was | 3 | Derived from a file browser which was |
4 | 4 | ||
5 | ** copyright 2001 ljp ljp@llornkcor.com | 5 | ** copyright 2001 ljp ljp@llornkcor.com |
6 | 6 | ||
7 | Extensive modification by Tim Wentford to allow it to work in rotated mode | 7 | Extensive 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 | ||
29 | fileBrowser::fileBrowser( bool allownew, QWidget* parent, const char* name, bool modal, WFlags fl , const QString filter, const QString iPath ) | 26 | fileBrowser::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 | { |