-rw-r--r-- | libopie/ofileselector.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h index 757a960..a90219f 100644 --- a/libopie/ofileselector.h +++ b/libopie/ofileselector.h @@ -60,2 +60,4 @@ class QHBoxLayout; class QVBoxLayout; +class QPopupMenu; + @@ -104,2 +106,4 @@ class OFileSelector : public QWidget { void setMode( int ); + void setShowDirs(bool dir ) { }; + bool showDirs() {bool turn; return turn; } int mode()const { return m_mode; }; @@ -108,2 +112,4 @@ class OFileSelector : public QWidget { QString selectedName( ); + void setPopupMenu( const QPopupMenu * ); + const DocLnk* selectedDocument()const; @@ -164,2 +170,6 @@ class OFileSelector : public QWidget { private: + // implementation todo + virtual void addFile(const QString &path, const QString &name, bool symlink = FALSE ) {}; + virtual void addDir( const QString &path, const QString &dir , bool symlink = FALSE ){}; + virtual void addSymlink(const QString &path, const QString &name, bool broken = FALSE ){}; void delItems(); @@ -168,2 +178,4 @@ class OFileSelector : public QWidget { void initializeChooser(); + void initializeListView(); + bool compliesMime(const QString &path, const QString &mime); |