author | zecke <zecke> | 2002-10-29 19:08:40 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-29 19:08:40 (UTC) |
commit | 2957aae1073f4c41dd6783c41d1199be71cd9f4a (patch) (unidiff) | |
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) (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,4 +1,5 @@ | |||
1 | #include <qcombobox.h> | 1 | #include <qcombobox.h> |
2 | #include <qlineedit.h> | ||
2 | 3 | ||
3 | #include "olister.h" | 4 | #include "olister.h" |
4 | #include "ofileview.h" | 5 | #include "ofileview.h" |
@@ -112,6 +113,9 @@ void OLister::addSymlink( const QString& mine, | |||
112 | OFileSelector* OLister::view() { | 113 | OFileSelector* OLister::view() { |
113 | return m_view; | 114 | return m_view; |
114 | } | 115 | } |
116 | OFileSelector* OLister::view()const { | ||
117 | return m_view; | ||
118 | } | ||
115 | OPixmapProvider* OLister::provider() { | 119 | OPixmapProvider* OLister::provider() { |
116 | return m_prov; | 120 | return m_prov; |
117 | } | 121 | } |
@@ -169,3 +173,9 @@ QString OListerCmbAccess::currentText()const { | |||
169 | 173 | ||
170 | return str; | 174 | return str; |
171 | } | 175 | } |
176 | QString OLister::lineEdit()const { | ||
177 | if ( view()->m_shLne ) | ||
178 | return view()->m_edit->text(); | ||
179 | |||
180 | return QString::null; | ||
181 | } | ||