summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofileview.cpp
authorzecke <zecke>2002-10-28 21:47:58 (UTC)
committer zecke <zecke>2002-10-28 21:47:58 (UTC)
commit98d46aa752026d53b4cf4ea8572fdf7c89f4c6c0 (patch) (side-by-side diff)
tree3e4a873011de405e5402d7eb53ae1c5c2867246a /libopie/ofileselector/ofileview.cpp
parentb963230163fc8069731374a19390fd0e5cb42532 (diff)
downloadopie-98d46aa752026d53b4cf4ea8572fdf7c89f4c6c0.zip
opie-98d46aa752026d53b4cf4ea8572fdf7c89f4c6c0.tar.gz
opie-98d46aa752026d53b4cf4ea8572fdf7c89f4c6c0.tar.bz2
Almost done with the new data flow
only OFileSelector needs to adapt it now... Besides that make it compile with the new api Add a configure and a libopie.pro to actually build ofileselector and a MANIFEST to explain some basics of the now a days a bit bigger interface
Diffstat (limited to 'libopie/ofileselector/ofileview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector/ofileview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/ofileselector/ofileview.cpp b/libopie/ofileselector/ofileview.cpp
index 72d2f60..4203ca3 100644
--- a/libopie/ofileselector/ofileview.cpp
+++ b/libopie/ofileselector/ofileview.cpp
@@ -1,30 +1,32 @@
#include <qlineedit.h>
#include <qpe/applnk.h>
#include "ofileselector.h"
+#include "olister.h"
#include "ofileview.h"
+
OFileView::OFileView( OFileSelector* sel)
: m_sel( sel )
{
}
OFileView::~OFileView() {
}
void OFileView::fileSelected( const QString& dir,const QString& file,const QString& extra ) {
m_sel->currentLister()->fileSelected( dir,file,extra );
}
void OFileView::contextMenu() {
m_sel->internContextMenu();
}
void OFileView::changedDir( const QString& s, const QString& file, const QString& extra) {
m_sel->currentLister()->changedDir( s, file,extra );
}
OFileSelector* OFileView::selector() const {
return m_sel;
}
void OFileView::updateLine( const QString& str ) {
if (m_sel->m_shLne )
m_sel->m_edit->setText( str );
}