Diffstat (limited to 'libopie/ofileselector/ofileview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofileview.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie/ofileselector/ofileview.cpp b/libopie/ofileselector/ofileview.cpp index 9bb40c9..38f722c 100644 --- a/libopie/ofileselector/ofileview.cpp +++ b/libopie/ofileselector/ofileview.cpp @@ -1,10 +1,11 @@ +#include <qlineedit.h> + #include <qpe/applnk.h> #include "ofileselector.h" - #include "ofileview.h" OFileView::OFileView( OFileSelector* sel) : m_sel( sel ) { @@ -26,6 +27,10 @@ void OFileView::changedDir( const QString& s) { void OFileView::changedDir( const QDir& d ) { m_sel->internChangedDir( d ); } OFileSelector* OFileView::selector() const { return m_sel; } +void OFileView::updateLine( const QString& str ) { + if (m_sel->m_shLne ) + m_sel->m_edit->setText( str ); +} |