-rw-r--r-- | library/fileselector.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/fileselector.h b/library/fileselector.h index e3ae891..f1738db 100644 --- a/library/fileselector.h +++ b/library/fileselector.h | |||
@@ -20,16 +20,17 @@ | |||
20 | #ifndef FILESELECTOR_H | 20 | #ifndef FILESELECTOR_H |
21 | #define FILESELECTOR_H | 21 | #define FILESELECTOR_H |
22 | 22 | ||
23 | #include <qhbox.h> | 23 | #include <qhbox.h> |
24 | #include <qvbox.h> | 24 | #include <qvbox.h> |
25 | #include <qtoolbutton.h> | 25 | #include <qtoolbutton.h> |
26 | #include <qlistview.h> | 26 | #include <qlistview.h> |
27 | 27 | ||
28 | #include "qpeglobal.h" | ||
28 | #include "filemanager.h" | 29 | #include "filemanager.h" |
29 | #include "applnk.h" | 30 | #include "applnk.h" |
30 | 31 | ||
31 | class QPopupMenu; | 32 | class QPopupMenu; |
32 | class QPushButton; | 33 | class QPushButton; |
33 | class FileSelectorView; | 34 | class FileSelectorView; |
34 | 35 | ||
35 | class FileSelectorItem : public QListViewItem | 36 | class FileSelectorItem : public QListViewItem |
@@ -48,17 +49,17 @@ class FileSelectorPrivate; | |||
48 | class FileSelector : public QVBox | 49 | class FileSelector : public QVBox |
49 | { | 50 | { |
50 | Q_OBJECT | 51 | Q_OBJECT |
51 | 52 | ||
52 | public: | 53 | public: |
53 | FileSelector( const QString &mimefilter, QWidget *parent, const char *name=0, bool newVisible = TRUE, bool closeVisible = TRUE ); | 54 | FileSelector( const QString &mimefilter, QWidget *parent, const char *name=0, bool newVisible = TRUE, bool closeVisible = TRUE ); |
54 | ~FileSelector(); | 55 | ~FileSelector(); |
55 | void setNewVisible( bool b ); | 56 | void setNewVisible( bool b ); |
56 | void setCloseVisible( bool b ); | 57 | void setCloseVisible( bool b ) QPE_DEPRECATED; |
57 | void setTypeComboVisible( bool b = TRUE ); | 58 | void setTypeComboVisible( bool b = TRUE ); |
58 | void setCategorySelectVisible( bool b = TRUE ); | 59 | void setCategorySelectVisible( bool b = TRUE ); |
59 | void reread(); | 60 | void reread(); |
60 | int fileCount(); | 61 | int fileCount(); |
61 | DocLnk selectedDocument() const | 62 | DocLnk selectedDocument() const |
62 | { | 63 | { |
63 | const DocLnk* rp = ((FileSelector*)this)->selected(); | 64 | const DocLnk* rp = ((FileSelector*)this)->selected(); |
64 | if (!rp) { | 65 | if (!rp) { |
@@ -100,16 +101,16 @@ private slots: | |||
100 | void cardMessage( const QCString &, const QByteArray &); | 101 | void cardMessage( const QCString &, const QByteArray &); |
101 | 102 | ||
102 | private: | 103 | private: |
103 | void updateView(); | 104 | void updateView(); |
104 | void updateWhatsThis(); | 105 | void updateWhatsThis(); |
105 | 106 | ||
106 | private: | 107 | private: |
107 | // RESOLVE please -zecke@handhelds.org | 108 | // RESOLVE please -zecke@handhelds.org |
108 | const DocLnk *selected(); // use selectedDocument() luckily no compiler is putting the access into the symbol name | 109 | const DocLnk *selected() QPE_DEPRECATED; // use selectedDocument() luckily no compiler is putting the access into the symbol name |
109 | FileSelectorView *view; | 110 | FileSelectorView *view; |
110 | QString filter; | 111 | QString filter; |
111 | QToolButton *buttonNew, *buttonClose; | 112 | QToolButton *buttonNew, *buttonClose; |
112 | FileSelectorPrivate *d; | 113 | FileSelectorPrivate *d; |
113 | }; | 114 | }; |
114 | 115 | ||
115 | #endif | 116 | #endif |