summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/metafactory.cpp
authorzecke <zecke>2002-10-08 20:03:29 (UTC)
committer zecke <zecke>2002-10-08 20:03:29 (UTC)
commit9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f (patch) (unidiff)
treeda7ac82c0abd3948d5e18e6e8db3a9277d4922ac /noncore/apps/opie-console/metafactory.cpp
parentb81a4afcb4d363bf1ee50aa7b43a1f1566addc9d (diff)
downloadopie-9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f.zip
opie-9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f.tar.gz
opie-9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f.tar.bz2
Default added the TerminalEmulation Widget
MainWindow: do save the profiles on deconstruction MetaFactory Brown Paper bag bug fixed. take care of the right name in terminalWidget.... opie-console.pro add the widgets IOLayerBase a basic widget for speed, parity and flow control settings Terminal Widget a the ported TerminalConfiguration dialog
Diffstat (limited to 'noncore/apps/opie-console/metafactory.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/metafactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/metafactory.cpp b/noncore/apps/opie-console/metafactory.cpp
index 077b418..4501ec2 100644
--- a/noncore/apps/opie-console/metafactory.cpp
+++ b/noncore/apps/opie-console/metafactory.cpp
@@ -87,25 +87,25 @@ ProfileDialogWidget *MetaFactory::newConnectionPlugin ( const QString& str, QWid
87 wid = (*(it.data() ) )(str,parent); 87 wid = (*(it.data() ) )(str,parent);
88 } 88 }
89 return wid; 89 return wid;
90} 90}
91ProfileDialogWidget *MetaFactory::newTerminalPlugin( const QString& str, QWidget *parent) { 91ProfileDialogWidget *MetaFactory::newTerminalPlugin( const QString& str, QWidget *parent) {
92 if (str.isEmpty() ) 92 if (str.isEmpty() )
93 return 0l; 93 return 0l;
94 ProfileDialogWidget* wid = 0l; 94 ProfileDialogWidget* wid = 0l;
95 qWarning("new terminalPlugin %s %l", str.latin1(), parent ); 95 qWarning("new terminalPlugin %s %l", str.latin1(), parent );
96 96
97 QMap<QString, configWidget>::Iterator it; 97 QMap<QString, configWidget>::Iterator it;
98 it = m_termFact.find( str ); 98 it = m_termFact.find( str );
99 if ( it != m_conFact.end() ) { 99 if ( it != m_termFact.end() ) {
100 wid = (*(it.data() ) )(str,parent); 100 wid = (*(it.data() ) )(str,parent);
101 } 101 }
102 return wid; 102 return wid;
103} 103}
104QCString MetaFactory::internal( const QString& str )const { 104QCString MetaFactory::internal( const QString& str )const {
105 return m_strings[str]; 105 return m_strings[str];
106} 106}
107QString MetaFactory::external( const QCString& str )const { 107QString MetaFactory::external( const QCString& str )const {
108 QMap<QString, QCString>::ConstIterator it; 108 QMap<QString, QCString>::ConstIterator it;
109 for ( it = m_strings.begin(); it != m_strings.end(); ++it ) { 109 for ( it = m_strings.begin(); it != m_strings.end(); ++it ) {
110 if ( it.data() == str ) 110 if ( it.data() == str )
111 return it.key(); 111 return it.key();