summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofileview.cpp
blob: 38f722c7a3ab877c3e3634003ea9a14f4bd0fc76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <qlineedit.h>

#include <qpe/applnk.h>

#include "ofileselector.h"
#include "ofileview.h"


OFileView::OFileView( OFileSelector* sel)
    : m_sel( sel )
{
}
OFileView::~OFileView() {
}
void OFileView::fileSelected( const QString& s ) {
    m_sel->internFileSelected( s );
}
void OFileView::fileSelected( const DocLnk& s) {
    m_sel->internFileSelected( s );
}
void OFileView::contextMenu() {
    m_sel->internContextMenu();
}
void OFileView::changedDir( const QString& s) {
    m_sel->internChangedDir( 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 );
}