summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/olister.h
Side-by-side diff
Diffstat (limited to 'libopie/ofileselector/olister.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/ofileselector/olister.h18
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
@@ -25,3 +25,7 @@ public:
virtual ~OLister();
- virtual void reparse(const QString& path) = 0;
+
+ /**
+ * if path == QString::null reread current dir
+ */
+ virtual void reparse(const QString& path = QString::null ) = 0;
@@ -37,2 +41,4 @@ public:
virtual void changedDir( const QString& dir, const QString& file, const QString& extra ) = 0;
+ virtual QString selectedName()const = 0;
+ virtual QStringList selectedNames()const = 0;
protected:
@@ -79,2 +85,3 @@ protected:
OFileSelector* view();
+ OFileSelector* view()const;
OPixmapProvider* provider();
@@ -82,2 +89,11 @@ protected:
void internChangedDir( const QString& dir );
+
+ /**
+ * try to take
+ * the text from the mainwindows
+ * lineedit
+ * if it's not available QString::null
+ * will be returned
+ */
+ QString lineEdit()const;
private: