author | ar <ar> | 2004-09-17 22:30:48 (UTC) |
---|---|---|
committer | ar <ar> | 2004-09-17 22:30:48 (UTC) |
commit | 081f8a3c3a6c6d45743f451cd9dc966a135b8156 (patch) (unidiff) | |
tree | 69fc48dd6a07c4510d46118e92bc72796247de67 /libopie2/opieui/fileselector/ofileselector_p.h | |
parent | 8f14f56495dbef9dc760869da872513527cd7f91 (diff) | |
download | opie-081f8a3c3a6c6d45743f451cd9dc966a135b8156.zip opie-081f8a3c3a6c6d45743f451cd9dc966a135b8156.tar.gz opie-081f8a3c3a6c6d45743f451cd9dc966a135b8156.tar.bz2 |
- cleanup allItem handling
Diffstat (limited to 'libopie2/opieui/fileselector/ofileselector_p.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opieui/fileselector/ofileselector_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector_p.h b/libopie2/opieui/fileselector/ofileselector_p.h index 252a7f5..790d2bd 100644 --- a/libopie2/opieui/fileselector/ofileselector_p.h +++ b/libopie2/opieui/fileselector/ofileselector_p.h | |||
@@ -66,24 +66,25 @@ class OFileViewInterface | |||
66 | public: | 66 | public: |
67 | OFileViewInterface( OFileSelector* selector ); | 67 | OFileViewInterface( OFileSelector* selector ); |
68 | virtual ~OFileViewInterface(); | 68 | virtual ~OFileViewInterface(); |
69 | virtual QString selectedName()const = 0; | 69 | virtual QString selectedName()const = 0; |
70 | virtual QString selectedPath()const = 0; | 70 | virtual QString selectedPath()const = 0; |
71 | virtual QString directory()const = 0; | 71 | virtual QString directory()const = 0; |
72 | virtual void reread() = 0; | 72 | virtual void reread() = 0; |
73 | virtual int fileCount()const = 0; | 73 | virtual int fileCount()const = 0; |
74 | virtual DocLnk selectedDocument()const; | 74 | virtual DocLnk selectedDocument()const; |
75 | virtual QWidget* widget( QWidget* parent) = 0; | 75 | virtual QWidget* widget( QWidget* parent) = 0; |
76 | virtual void activate( const QString& ); | 76 | virtual void activate( const QString& ); |
77 | QString name()const; | 77 | QString name()const; |
78 | bool allItem( const QString& )const; | ||
78 | protected: | 79 | protected: |
79 | OFileSelector* selector()const; | 80 | OFileSelector* selector()const; |
80 | void setName( const QString& ); | 81 | void setName( const QString& ); |
81 | bool showNew()const; | 82 | bool showNew()const; |
82 | bool showClose()const; | 83 | bool showClose()const; |
83 | MimeTypes mimeTypes()const; | 84 | MimeTypes mimeTypes()const; |
84 | QStringList currentMimeType()const; | 85 | QStringList currentMimeType()const; |
85 | QString startDirectory()const; | 86 | QString startDirectory()const; |
86 | protected: | 87 | protected: |
87 | void ok(); | 88 | void ok(); |
88 | void cancel(); | 89 | void cancel(); |
89 | void closeMe(); | 90 | void closeMe(); |
@@ -143,25 +144,24 @@ private: | |||
143 | 144 | ||
144 | class OFileViewFileListView : public QWidget | 145 | class OFileViewFileListView : public QWidget |
145 | { | 146 | { |
146 | Q_OBJECT | 147 | Q_OBJECT |
147 | public: | 148 | public: |
148 | OFileViewFileListView( QWidget* parent, const QString& dir, OFileSelector* selector ); | 149 | OFileViewFileListView( QWidget* parent, const QString& dir, OFileSelector* selector ); |
149 | ~OFileViewFileListView(); | 150 | ~OFileViewFileListView(); |
150 | 151 | ||
151 | OFileSelectorItem* currentItem()const; | 152 | OFileSelectorItem* currentItem()const; |
152 | void reread( bool all = false ); | 153 | void reread( bool all = false ); |
153 | int fileCount()const; | 154 | int fileCount()const; |
154 | QString currentDir()const; | 155 | QString currentDir()const; |
155 | bool allItem( const QString& )const; | ||
156 | protected: | 156 | protected: |
157 | bool eventFilter (QObject *o, QEvent *e); | 157 | bool eventFilter (QObject *o, QEvent *e); |
158 | private slots: | 158 | private slots: |
159 | void slotNew(); // will emit newSelected | 159 | void slotNew(); // will emit newSelected |
160 | void cdUP(); | 160 | void cdUP(); |
161 | void cdHome(); | 161 | void cdHome(); |
162 | void cdDoc(); | 162 | void cdDoc(); |
163 | void changeDir( const QString& ); | 163 | void changeDir( const QString& ); |
164 | void slotCurrentChanged( QListViewItem* ); | 164 | void slotCurrentChanged( QListViewItem* ); |
165 | void slotClicked(int, QListViewItem*, const QPoint&, int ); | 165 | void slotClicked(int, QListViewItem*, const QPoint&, int ); |
166 | void slotFSActivated(int); | 166 | void slotFSActivated(int); |
167 | 167 | ||