-rw-r--r-- | noncore/apps/opie-console/BUGS | 14 | ||||
-rw-r--r-- | noncore/apps/opie-console/io_layer.h | 4 | ||||
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 10 |
3 files changed, 12 insertions, 16 deletions
diff --git a/noncore/apps/opie-console/BUGS b/noncore/apps/opie-console/BUGS index b9d8ca3..7fae567 100644 --- a/noncore/apps/opie-console/BUGS +++ b/noncore/apps/opie-console/BUGS | |||
@@ -1,42 +1,28 @@ | |||
1 | Ok we all know we write perfect code | 1 | Ok we all know we write perfect code |
2 | but sometimes the compiler produces bad code | 2 | but sometimes the compiler produces bad code |
3 | and we need to work around some compiler bugs!! -zecke | 3 | and we need to work around some compiler bugs!! -zecke |
4 | 4 | ||
5 | 5 | ||
6 | Send/receive: lrzsz behaves strange when trying to use | 6 | Send/receive: lrzsz behaves strange when trying to use |
7 | --overwrite or --rename. | 7 | --overwrite or --rename. |
8 | 8 | ||
9 | - console should autoconnect by default | ||
10 | |||
11 | - keys and buttonbar merge | 9 | - keys and buttonbar merge |
12 | 10 | ||
13 | - keys really working | 11 | - keys really working |
14 | mc is working | 12 | mc is working |
15 | but F11 on bar seems to be the F10 key and so on | 13 | but F11 on bar seems to be the F10 key and so on |
16 | F9 is F8... -zecke | 14 | F9 is F8... -zecke |
17 | Should be fixed -zecke | 15 | Should be fixed -zecke |
18 | 16 | ||
19 | - scripting with "direct subpopup" | 17 | - scripting with "direct subpopup" |
20 | also: | 18 | also: |
21 | - an indication that it is currently recording, also change menu entry to | 19 | - an indication that it is currently recording, also change menu entry to |
22 | "cancel recording" then | 20 | "cancel recording" then |
23 | 21 | ||
24 | - kill more compiler warnings. | ||
25 | |||
26 | - more colorshemes ( "orange is ugly" ) | ||
27 | |||
28 | - irda and bluetooth out ( can be done with normal serial as long as the | ||
29 | connection is allready up, and extended stuff is a lot of work; maybe later | ||
30 | in again ). | ||
31 | |||
32 | - new conntection -> configure -> use . does not end up in profile dialog, | ||
33 | |||
34 | - disable tranfer file for console mode | ||
35 | |||
36 | - scripts need an extension and also an icon | 22 | - scripts need an extension and also an icon |
37 | 23 | ||
38 | - help documentation needs to be extended | 24 | - help documentation needs to be extended |
39 | - new connection and save connection | 25 | - new connection and save connection |
40 | - paste button | 26 | - paste button |
41 | - keys button | 27 | - keys button |
42 | 28 | ||
diff --git a/noncore/apps/opie-console/io_layer.h b/noncore/apps/opie-console/io_layer.h index 97a1e1c..af61099 100644 --- a/noncore/apps/opie-console/io_layer.h +++ b/noncore/apps/opie-console/io_layer.h | |||
@@ -19,26 +19,26 @@ class IOLayer : public QObject { | |||
19 | public: | 19 | public: |
20 | enum Error { | 20 | enum Error { |
21 | NoError = -1, | 21 | NoError = -1, |
22 | Refuse = 0, | 22 | Refuse = 0, |
23 | CouldNotOpen =1, | 23 | CouldNotOpen =1, |
24 | ClosedUnexpected =2, | 24 | ClosedUnexpected =2, |
25 | ClosedError =3, | 25 | ClosedError =3, |
26 | Terminate = 4 | 26 | Terminate = 4 |
27 | /* add more errors here */ | 27 | /* add more errors here */ |
28 | }; | 28 | }; |
29 | enum Feature { | 29 | enum Feature { |
30 | AutoConnect = 0, | 30 | AutoConnect = 0, |
31 | TransferFile =1, | 31 | TransferFile = 1, |
32 | Close =2 | 32 | Close = 2 |
33 | }; | 33 | }; |
34 | /** | 34 | /** |
35 | * a small c'tor | 35 | * a small c'tor |
36 | */ | 36 | */ |
37 | IOLayer(); | 37 | IOLayer(); |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * create an IOLayer instance from a config file | 40 | * create an IOLayer instance from a config file |
41 | * the currently set group stores the profile/session | 41 | * the currently set group stores the profile/session |
42 | * information | 42 | * information |
43 | */ | 43 | */ |
44 | IOLayer( const Profile& ); | 44 | IOLayer( const Profile& ); |
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index 9890c3e..127009b 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp | |||
@@ -188,24 +188,34 @@ QCString ProfileEditorDialog::profType()const | |||
188 | /* | 188 | /* |
189 | * we need to switch the widget | 189 | * we need to switch the widget |
190 | */ | 190 | */ |
191 | void ProfileEditorDialog::slotConActivated( const QString& str ) { | 191 | void ProfileEditorDialog::slotConActivated( const QString& str ) { |
192 | 192 | ||
193 | delete m_con; | 193 | delete m_con; |
194 | 194 | ||
195 | m_con = m_fact->newConnectionPlugin( str, m_svCon->viewport() ); | 195 | m_con = m_fact->newConnectionPlugin( str, m_svCon->viewport() ); |
196 | 196 | ||
197 | if ( !m_con ) { | 197 | if ( !m_con ) { |
198 | m_con = new NoOptions( str, m_svCon->viewport(), "name"); | 198 | m_con = new NoOptions( str, m_svCon->viewport(), "name"); |
199 | } | 199 | } |
200 | |||
201 | // FIXME ugly hack right. Right solution would be to look into the layer and see if it | ||
202 | // supports auto connect and then set it as prefered | ||
203 | //if ( ( )->layer()->supports()[0] == 1 ) { | ||
204 | if ( m_conCmb ->currentText() == "local Console" ) { | ||
205 | m_autoConnect->setChecked( true ); | ||
206 | } else { | ||
207 | m_autoConnect->setChecked( false ); | ||
208 | } | ||
209 | |||
200 | m_con->load( m_prof ); | 210 | m_con->load( m_prof ); |
201 | m_svCon->addChild( m_con ); | 211 | m_svCon->addChild( m_con ); |
202 | } | 212 | } |
203 | 213 | ||
204 | 214 | ||
205 | /* | 215 | /* |
206 | * we need to switch the widget | 216 | * we need to switch the widget |
207 | */ | 217 | */ |
208 | void ProfileEditorDialog::slotTermActivated( const QString& str ) { | 218 | void ProfileEditorDialog::slotTermActivated( const QString& str ) { |
209 | 219 | ||
210 | delete m_term; | 220 | delete m_term; |
211 | 221 | ||