Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 41e83c7..66353bb 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -12,17 +12,15 @@ | |||
12 | #define DEVELOPERS_VERSION | 12 | #define DEVELOPERS_VERSION |
13 | #include "advancedfm.h" | 13 | #include "advancedfm.h" |
14 | 14 | ||
15 | #include <opie/otabwidget.h> | 15 | |
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/config.h> | 19 | #include <opie/otabwidget.h> |
20 | |||
20 | #include <qpe/filemanager.h> | 21 | #include <qpe/filemanager.h> |
21 | #include <qpe/qcopenvelope_qws.h> | 22 | #include <qpe/qcopenvelope_qws.h> |
22 | #include <qpe/qpemenubar.h> | ||
23 | #include <qpe/qpetoolbar.h> | ||
24 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
25 | #include <qpe/qcopenvelope_qws.h> | ||
26 | #include <qpe/config.h> | 24 | #include <qpe/config.h> |
27 | #include <qpe/mimetype.h> | 25 | #include <qpe/mimetype.h> |
28 | #include <qpe/applnk.h> | 26 | #include <qpe/applnk.h> |
@@ -30,54 +28,31 @@ | |||
30 | #include <qpe/resource.h> | 28 | #include <qpe/resource.h> |
31 | #include <qpe/menubutton.h> | 29 | #include <qpe/menubutton.h> |
32 | 30 | ||
33 | |||
34 | #include <qwmatrix.h> | ||
35 | #include <qregexp.h> | ||
36 | #include <qtabwidget.h> | ||
37 | #include <qtextstream.h> | ||
38 | #include <qpushbutton.h> | ||
39 | #include <qdatetime.h> | 31 | #include <qdatetime.h> |
40 | #include <qdir.h> | ||
41 | #include <qfile.h> | 32 | #include <qfile.h> |
42 | #include <qstring.h> | ||
43 | #include <qcombobox.h> | 33 | #include <qcombobox.h> |
44 | #include <qpopupmenu.h> | 34 | #include <qpopupmenu.h> |
45 | #include <qlistview.h> | 35 | #include <qlistview.h> |
46 | #include <qmainwindow.h> | ||
47 | #include <qlabel.h> | 36 | #include <qlabel.h> |
48 | #include <qprogressbar.h> | ||
49 | #include <qspinbox.h> | ||
50 | #include <qwidget.h> | 37 | #include <qwidget.h> |
51 | #include <qlayout.h> | 38 | #include <qlayout.h> |
52 | #include <qimage.h> | 39 | #include <qimage.h> |
53 | #include <qpixmap.h> | ||
54 | #include <qmessagebox.h> | 40 | #include <qmessagebox.h> |
55 | #include <qlineedit.h> | 41 | #include <qlineedit.h> |
56 | #include <qregexp.h> | ||
57 | 42 | ||
58 | #include <unistd.h> | ||
59 | #include <stdlib.h> | ||
60 | #include <sys/stat.h> | 43 | #include <sys/stat.h> |
61 | #include <dirent.h> | ||
62 | #include <stdio.h> | ||
63 | #include <time.h> | 44 | #include <time.h> |
45 | #include <dirent.h> | ||
64 | #include <fcntl.h> | 46 | #include <fcntl.h> |
65 | #include <mntent.h> | ||
66 | #include <string.h> | ||
67 | #include <errno.h> | ||
68 | #include <sys/vfs.h> | 47 | #include <sys/vfs.h> |
69 | #include <mntent.h> | 48 | #include <mntent.h> |
70 | #include <sys/utsname.h> | ||
71 | 49 | ||
72 | AdvancedFm::AdvancedFm( ) | 50 | AdvancedFm::AdvancedFm( ) |
73 | : QMainWindow( ) { | 51 | : QMainWindow( ) { |
74 | init(); | 52 | init(); |
75 | renameBox = 0; | 53 | renameBox = 0; |
76 | 54 | ||
77 | QWMatrix matrix; | 55 | unknownXpm = Resource::loadImage( "UnknownDocument" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ); |
78 | QPixmap pix(Resource::loadPixmap( "UnknownDocument" )); | ||
79 | matrix.scale( .4, .4); | ||
80 | unknownXpm = pix.xForm(matrix); | ||
81 | 56 | ||
82 | initConnections(); | 57 | initConnections(); |
83 | whichTab=1; | 58 | whichTab=1; |