Diffstat (limited to 'libopie/ofileselector/ofileview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofileview.cpp | 2 |
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 @@ | |||
1 | #include <qlineedit.h> | 1 | #include <qlineedit.h> |
2 | 2 | ||
3 | #include <qpe/applnk.h> | 3 | #include <qpe/applnk.h> |
4 | 4 | ||
5 | #include "ofileselector.h" | 5 | #include "ofileselector.h" |
6 | #include "olister.h" | ||
6 | #include "ofileview.h" | 7 | #include "ofileview.h" |
7 | 8 | ||
8 | 9 | ||
10 | |||
9 | OFileView::OFileView( OFileSelector* sel) | 11 | OFileView::OFileView( OFileSelector* sel) |
10 | : m_sel( sel ) | 12 | : m_sel( sel ) |
11 | { | 13 | { |
12 | } | 14 | } |
13 | OFileView::~OFileView() { | 15 | OFileView::~OFileView() { |
14 | } | 16 | } |
15 | void OFileView::fileSelected( const QString& dir,const QString& file,const QString& extra ) { | 17 | void OFileView::fileSelected( const QString& dir,const QString& file,const QString& extra ) { |
16 | m_sel->currentLister()->fileSelected( dir,file,extra ); | 18 | m_sel->currentLister()->fileSelected( dir,file,extra ); |
17 | } | 19 | } |
18 | void OFileView::contextMenu() { | 20 | void OFileView::contextMenu() { |
19 | m_sel->internContextMenu(); | 21 | m_sel->internContextMenu(); |
20 | } | 22 | } |
21 | void OFileView::changedDir( const QString& s, const QString& file, const QString& extra) { | 23 | void OFileView::changedDir( const QString& s, const QString& file, const QString& extra) { |
22 | m_sel->currentLister()->changedDir( s, file,extra ); | 24 | m_sel->currentLister()->changedDir( s, file,extra ); |
23 | } | 25 | } |
24 | OFileSelector* OFileView::selector() const { | 26 | OFileSelector* OFileView::selector() const { |
25 | return m_sel; | 27 | return m_sel; |
26 | } | 28 | } |
27 | void OFileView::updateLine( const QString& str ) { | 29 | void OFileView::updateLine( const QString& str ) { |
28 | if (m_sel->m_shLne ) | 30 | if (m_sel->m_shLne ) |
29 | m_sel->m_edit->setText( str ); | 31 | m_sel->m_edit->setText( str ); |
30 | } | 32 | } |