Diffstat (limited to 'noncore/apps/opie-console/metafactory.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/metafactory.cpp b/noncore/apps/opie-console/metafactory.cpp index 2b672cf..901f29f 100644 --- a/noncore/apps/opie-console/metafactory.cpp +++ b/noncore/apps/opie-console/metafactory.cpp | |||
@@ -123,12 +123,21 @@ EmulationLayer* MetaFactory::newEmulationLayer( const QString& str, WidgetLayer* | |||
123 | if ( it != m_emu.end() ) { | 123 | if ( it != m_emu.end() ) { |
124 | lay = (*(it.data() ) )(wid); | 124 | lay = (*(it.data() ) )(wid); |
125 | } | 125 | } |
126 | 126 | ||
127 | return lay; | 127 | return lay; |
128 | } | 128 | } |
129 | FileTransferLayer* MetaFactory::newFileTransfer(const QString& str, IOLayer* lay ) { | ||
130 | FileTransferLayer* file = 0l; | ||
131 | QMap<QString, filelayer>::Iterator it; | ||
132 | it = m_fileFact.find( str ); | ||
133 | if ( it != m_fileFact.end() ) { | ||
134 | file = (*(it.data() ) )(lay); | ||
135 | } | ||
136 | return file; | ||
137 | } | ||
129 | QCString MetaFactory::internal( const QString& str )const { | 138 | QCString MetaFactory::internal( const QString& str )const { |
130 | return m_strings[str]; | 139 | return m_strings[str]; |
131 | } | 140 | } |
132 | QString MetaFactory::external( const QCString& str )const { | 141 | QString MetaFactory::external( const QCString& str )const { |
133 | QMap<QString, QCString>::ConstIterator it; | 142 | QMap<QString, QCString>::ConstIterator it; |
134 | for ( it = m_strings.begin(); it != m_strings.end(); ++it ) { | 143 | for ( it = m_strings.begin(); it != m_strings.end(); ++it ) { |