Diffstat (limited to 'libopie/ofileselector/olister.cpp~') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/ofileselector/olister.cpp~ | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/libopie/ofileselector/olister.cpp~ b/libopie/ofileselector/olister.cpp~ new file mode 100644 index 0000000..180422a --- a/dev/null +++ b/libopie/ofileselector/olister.cpp~ @@ -0,0 +1,64 @@ +#include "olister.h" +#include "ofileview.h" +#include "ofileselector.h" + + +OLister::OLister( OFileSelector* view) + : m_view( view ) +{ +} +OLister::~OLister() { +} +void OLister::addFile( const QString& mine, + QFileInfo* info, + bool isSymlink ) { + view()->currentView()->addFile( mine, + info, + isSymlink ); +} +void OLister::addFile( const QString& mine, + const QString& path, + const QString& file, + bool isSymlink ) { + view()->currentView()->addFile( mine, + path, + file, + isSymlink ); +} +void OLister::addDir( const QString& mine, + QFileInfo* info, + bool isSymlink ) { + + view()->currentView()->addDir( mine, + info, + isSymlink ); +} +void OLister::addDir( const QString& mine, + const QString& path, + const QString& dir, + bool isSymlink ) { + view()->currentView()->addDir( mine, + path, + dir, + isSymlink ); +} +void OLister::addSymlink( const QString& mine, + QFileInfo* info, + bool isSymlink ) { + view()->currentView()->addSymlink( mine, + info, + isSymlink ); +} +void OLister::addSymlink( const QString& mine, + const QString& path, + const QString& name, + bool isSymlink ) { + view()->currentView()->addSymlink( mine, + path, + name, + isSymlink ); +} +OFileSelector* OLister::view() { + return m_view; +} + |