Diffstat (limited to 'libopie/ofileselector/olister.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/ofileselector/olister.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/libopie/ofileselector/olister.h b/libopie/ofileselector/olister.h index cd84316..4adb9f8 100644 --- a/libopie/ofileselector/olister.h +++ b/libopie/ofileselector/olister.h | |||
@@ -24,5 +24,9 @@ public: | |||
24 | OLister( OFileSelector* ); | 24 | OLister( OFileSelector* ); |
25 | virtual ~OLister(); | 25 | virtual ~OLister(); |
26 | virtual void reparse(const QString& path) = 0; | 26 | |
27 | /** | ||
28 | * if path == QString::null reread current dir | ||
29 | */ | ||
30 | virtual void reparse(const QString& path = QString::null ) = 0; | ||
27 | 31 | ||
28 | /** | 32 | /** |
@@ -36,4 +40,6 @@ public: | |||
36 | virtual void fileSelected( const QString& dir, const QString& file, const QString& extra ) = 0; | 40 | virtual void fileSelected( const QString& dir, const QString& file, const QString& extra ) = 0; |
37 | virtual void changedDir( const QString& dir, const QString& file, const QString& extra ) = 0; | 41 | virtual void changedDir( const QString& dir, const QString& file, const QString& extra ) = 0; |
42 | virtual QString selectedName()const = 0; | ||
43 | virtual QStringList selectedNames()const = 0; | ||
38 | protected: | 44 | protected: |
39 | /** | 45 | /** |
@@ -78,7 +84,17 @@ protected: | |||
78 | bool isSymlink = FALSE ); | 84 | bool isSymlink = FALSE ); |
79 | OFileSelector* view(); | 85 | OFileSelector* view(); |
86 | OFileSelector* view()const; | ||
80 | OPixmapProvider* provider(); | 87 | OPixmapProvider* provider(); |
81 | void internFileSelected( const QString& file ); | 88 | void internFileSelected( const QString& file ); |
82 | void internChangedDir( const QString& dir ); | 89 | void internChangedDir( const QString& dir ); |
90 | |||
91 | /** | ||
92 | * try to take | ||
93 | * the text from the mainwindows | ||
94 | * lineedit | ||
95 | * if it's not available QString::null | ||
96 | * will be returned | ||
97 | */ | ||
98 | QString lineEdit()const; | ||
83 | private: | 99 | private: |
84 | OFileSelector* m_view; | 100 | OFileSelector* m_view; |