author | llornkcor <llornkcor> | 2002-03-24 15:31:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-24 15:31:12 (UTC) |
commit | f01751db63eac7b54c5c7a3115ca4ae3d957ac5a (patch) (unidiff) | |
tree | 72f8171c18e3e75e51de8f636f09614a8feeda1b | |
parent | b2985aec1be313db490ae4ad3b753a13470f4416 (diff) | |
download | opie-f01751db63eac7b54c5c7a3115ca4ae3d957ac5a.zip opie-f01751db63eac7b54c5c7a3115ca4ae3d957ac5a.tar.gz opie-f01751db63eac7b54c5c7a3115ca4ae3d957ac5a.tar.bz2 |
fixed slot
-rw-r--r-- | core/apps/textedit/fileBrowser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/fileBrowser.h b/core/apps/textedit/fileBrowser.h index 8a98365..ec73b69 100644 --- a/core/apps/textedit/fileBrowser.h +++ b/core/apps/textedit/fileBrowser.h | |||
@@ -36,25 +36,24 @@ class QComboBox; | |||
36 | class QWidgetStack; | 36 | class QWidgetStack; |
37 | class FileSelector; | 37 | class FileSelector; |
38 | class QPoint; | 38 | class QPoint; |
39 | class MenuButton; | 39 | class MenuButton; |
40 | class QRegExp; | 40 | class QRegExp; |
41 | 41 | ||
42 | 42 | ||
43 | class fileBrowser : public QDialog | 43 | class fileBrowser : public QDialog |
44 | { | 44 | { |
45 | Q_OBJECT | 45 | Q_OBJECT |
46 | 46 | ||
47 | public: | 47 | public: |
48 | void populateList(); | ||
49 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); | 48 | fileBrowser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); |
50 | ~fileBrowser(); | 49 | ~fileBrowser(); |
51 | 50 | ||
52 | void setFileView( int ); | 51 | void setFileView( int ); |
53 | 52 | ||
54 | QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton; | 53 | QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton, *cdUpButton; |
55 | QListView* ListView; | 54 | QListView* ListView; |
56 | 55 | ||
57 | QLabel *dirLabel; | 56 | QLabel *dirLabel; |
58 | QString selectedFileName, filterStr; | 57 | QString selectedFileName, filterStr; |
59 | QDir currentDir; | 58 | QDir currentDir; |
60 | QFile file; | 59 | QFile file; |
@@ -64,24 +63,25 @@ public: | |||
64 | MenuButton *typemb; | 63 | MenuButton *typemb; |
65 | QWidgetStack *FileStack; | 64 | QWidgetStack *FileStack; |
66 | FileSelector *fileSelector; | 65 | FileSelector *fileSelector; |
67 | QString mimeType; | 66 | QString mimeType; |
68 | public slots: | 67 | public slots: |
69 | 68 | ||
70 | private: | 69 | private: |
71 | // QDict<void> mimes; | 70 | // QDict<void> mimes; |
72 | QRegExp tf; | 71 | QRegExp tf; |
73 | QStringList getMimeTypes(); | 72 | QStringList getMimeTypes(); |
74 | void fillCombo( const QString&); | 73 | void fillCombo( const QString&); |
75 | private slots: | 74 | private slots: |
75 | void populateList(); | ||
76 | void homeButtonPushed(); | 76 | void homeButtonPushed(); |
77 | void docButtonPushed(); | 77 | void docButtonPushed(); |
78 | void ListPressed( int, QListViewItem *, const QPoint&, int); | 78 | void ListPressed( int, QListViewItem *, const QPoint&, int); |
79 | void showListMenu(QListViewItem*); | 79 | void showListMenu(QListViewItem*); |
80 | void doCd(); | 80 | void doCd(); |
81 | void makDir(); | 81 | void makDir(); |
82 | void localRename(); | 82 | void localRename(); |
83 | void localDelete(); | 83 | void localDelete(); |
84 | void receive( const QCString &msg, const QByteArray &data ); | 84 | void receive( const QCString &msg, const QByteArray &data ); |
85 | void dirPathComboActivated( const QString & ); | 85 | void dirPathComboActivated( const QString & ); |
86 | void upDir(); | 86 | void upDir(); |
87 | void listClicked( QListViewItem * ); | 87 | void listClicked( QListViewItem * ); |