author | zecke <zecke> | 2002-10-29 19:08:40 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-29 19:08:40 (UTC) |
commit | 2957aae1073f4c41dd6783c41d1199be71cd9f4a (patch) (side-by-side diff) | |
tree | 2aa5c4f61105aa151867e170601de58511479fd8 /libopie/ofileselector/olister.cpp | |
parent | a575fd4c862693705018902b4482c5135a8cb6a2 (diff) | |
download | opie-2957aae1073f4c41dd6783c41d1199be71cd9f4a.zip opie-2957aae1073f4c41dd6783c41d1199be71cd9f4a.tar.gz opie-2957aae1073f4c41dd6783c41d1199be71cd9f4a.tar.bz2 |
the reverse getting of filenames is actually enabled
There will be some code clean ups...
but the interfaces should be fine now
Diffstat (limited to 'libopie/ofileselector/olister.cpp') (more/less context) (ignore 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,7 +1,8 @@ #include <qcombobox.h> +#include <qlineedit.h> #include "olister.h" #include "ofileview.h" #include "opixmapprovider.h" #include "ofileselector.h" @@ -109,12 +110,15 @@ void OLister::addSymlink( const QString& mine, extra, isSymlink ); } 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 ) { return view()->compliesMime( mime ); } @@ -166,6 +170,12 @@ QString OListerCmbAccess::currentText()const { QString str; if (m_cmb ) str = m_cmb->currentText(); return str; } +QString OLister::lineEdit()const { + if ( view()->m_shLne ) + return view()->m_edit->text(); + + return QString::null; +} |