Diffstat (limited to 'libopie/ofileselector/olister.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/ofileselector/olister.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libopie/ofileselector/olister.cpp b/libopie/ofileselector/olister.cpp index ea09940..aaaf6a2 100644 --- a/libopie/ofileselector/olister.cpp +++ b/libopie/ofileselector/olister.cpp @@ -1,5 +1,6 @@ #include <qcombobox.h> +#include <qlineedit.h> #include "olister.h" #include "ofileview.h" #include "opixmapprovider.h" @@ -111,8 +112,11 @@ void OLister::addSymlink( const QString& mine, } OFileSelector* OLister::view() { return m_view; } +OFileSelector* OLister::view()const { + return m_view; +} OPixmapProvider* OLister::provider() { return m_prov; } bool OLister::compliesMime( const QString& mime ) { @@ -168,4 +172,10 @@ QString OListerCmbAccess::currentText()const { str = m_cmb->currentText(); return str; } +QString OLister::lineEdit()const { + if ( view()->m_shLne ) + return view()->m_edit->text(); + + return QString::null; +} |