author | hash <hash> | 2002-10-18 19:50:27 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-18 19:50:27 (UTC) |
commit | bb98ac35db9807efbcc1b59dd8abbdb05ad7656b (patch) (side-by-side diff) | |
tree | 60f83f4c10c68da1ca7641b26b91b8970ef0eaa3 /noncore/apps/opie-console/profile.cpp | |
parent | 081001a515f23626b6299e39af4511f36db46d07 (diff) | |
download | opie-bb98ac35db9807efbcc1b59dd8abbdb05ad7656b.zip opie-bb98ac35db9807efbcc1b59dd8abbdb05ad7656b.tar.gz opie-bb98ac35db9807efbcc1b59dd8abbdb05ad7656b.tar.bz2 |
added autoconnect support. feel free to revert if i messed something up.
Diffstat (limited to 'noncore/apps/opie-console/profile.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profile.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profile.cpp b/noncore/apps/opie-console/profile.cpp index 1a94619..51d1aa8 100644 --- a/noncore/apps/opie-console/profile.cpp +++ b/noncore/apps/opie-console/profile.cpp @@ -11,3 +11,3 @@ Profile::Profile( const QString& name, int terminal ) - : m_name( name ), m_ioLayer( iolayerName ), m_term( termName), + : m_name( name ), m_ioLayer( iolayerName ), m_term( termName), m_autoConnect(0), m_back( background ), m_fore( foreground ), m_terminal( terminal ) @@ -26,2 +26,3 @@ Profile &Profile::operator=( const Profile& prof ) { m_ioLayer = prof.m_ioLayer; + m_autoConnect = prof.m_autoConnect; m_back = prof.m_back; @@ -48,2 +49,6 @@ QCString Profile::terminalName( )const { } +bool Profile::autoConnect()const { + + return m_autoConnect; +} int Profile::foreground()const { @@ -66,2 +71,6 @@ void Profile::setTerminalName( const QCString& str ) { } +void Profile::setAutoConnect( const bool c) { + + m_autoConnect = c; +} void Profile::setBackground( int back ) { |