author | harlekin <harlekin> | 2002-10-24 20:52:03 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 20:52:03 (UTC) |
commit | 83bbc4077376e433f40f2632181a97e5ff8892b1 (patch) (unidiff) | |
tree | b663506b4621f351320adc097410de9d1492eda4 | |
parent | 1a6931804e0b1d838f365f75385a462110da3972 (diff) | |
download | opie-83bbc4077376e433f40f2632181a97e5ff8892b1.zip opie-83bbc4077376e433f40f2632181a97e5ff8892b1.tar.gz opie-83bbc4077376e433f40f2632181a97e5ff8892b1.tar.bz2 |
disable at config widget for now
-rw-r--r-- | noncore/apps/opie-console/modemconfigwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/modemconfigwidget.cpp b/noncore/apps/opie-console/modemconfigwidget.cpp index c37fafd..da5db83 100644 --- a/noncore/apps/opie-console/modemconfigwidget.cpp +++ b/noncore/apps/opie-console/modemconfigwidget.cpp | |||
@@ -17,48 +17,49 @@ namespace { | |||
17 | bo->setCurrentItem( i ); | 17 | bo->setCurrentItem( i ); |
18 | return; | 18 | return; |
19 | } | 19 | } |
20 | } | 20 | } |
21 | bo->insertItem( str ); | 21 | bo->insertItem( str ); |
22 | bo->setCurrentItem( b ); | 22 | bo->setCurrentItem( b ); |
23 | } | 23 | } |
24 | } | 24 | } |
25 | 25 | ||
26 | ModemConfigWidget::ModemConfigWidget( const QString& name, QWidget* parent, | 26 | ModemConfigWidget::ModemConfigWidget( const QString& name, QWidget* parent, |
27 | const char* na ) | 27 | const char* na ) |
28 | : ProfileDialogConnectionWidget( name, parent, na ) { | 28 | : ProfileDialogConnectionWidget( name, parent, na ) { |
29 | 29 | ||
30 | m_lay = new QVBoxLayout( this ); | 30 | m_lay = new QVBoxLayout( this ); |
31 | m_device = new QLabel(tr( "Modem is attached to:" ), this ); | 31 | m_device = new QLabel(tr( "Modem is attached to:" ), this ); |
32 | m_deviceCmb = new QComboBox(this ); | 32 | m_deviceCmb = new QComboBox(this ); |
33 | m_deviceCmb->setEditable( TRUE ); | 33 | m_deviceCmb->setEditable( TRUE ); |
34 | 34 | ||
35 | QLabel* telLabel = new QLabel( this ); | 35 | QLabel* telLabel = new QLabel( this ); |
36 | telLabel->setText( tr( "Enter telefon number here:" ) ); | 36 | telLabel->setText( tr( "Enter telefon number here:" ) ); |
37 | m_telNumber = new QLineEdit( this ); | 37 | m_telNumber = new QLineEdit( this ); |
38 | QHBox *buttonBox = new QHBox( this ); | 38 | QHBox *buttonBox = new QHBox( this ); |
39 | QPushButton *atButton = new QPushButton( buttonBox ); | 39 | QPushButton *atButton = new QPushButton( buttonBox ); |
40 | atButton->setText( tr( "AT commands" ) ); | 40 | atButton->setText( tr( "AT commands" ) ); |
41 | atButton->hide(); | ||
41 | connect( atButton, SIGNAL( clicked() ), this, SLOT( slotAT() ) ); | 42 | connect( atButton, SIGNAL( clicked() ), this, SLOT( slotAT() ) ); |
42 | 43 | ||
43 | QPushButton *dialButton = new QPushButton( buttonBox ); | 44 | QPushButton *dialButton = new QPushButton( buttonBox ); |
44 | dialButton->setText( tr( "Enter number" ) ); | 45 | dialButton->setText( tr( "Enter number" ) ); |
45 | connect( dialButton, SIGNAL( clicked() ), this, SLOT( slotDial() ) ); | 46 | connect( dialButton, SIGNAL( clicked() ), this, SLOT( slotDial() ) ); |
46 | 47 | ||
47 | 48 | ||
48 | m_base = new IOLayerBase( this, "base" ); | 49 | m_base = new IOLayerBase( this, "base" ); |
49 | 50 | ||
50 | m_lay->addWidget( m_device ); | 51 | m_lay->addWidget( m_device ); |
51 | m_lay->addWidget( m_deviceCmb ); | 52 | m_lay->addWidget( m_deviceCmb ); |
52 | m_lay->addWidget( telLabel ); | 53 | m_lay->addWidget( telLabel ); |
53 | m_lay->addWidget( m_telNumber ); | 54 | m_lay->addWidget( m_telNumber ); |
54 | m_lay->addWidget( buttonBox ); | 55 | m_lay->addWidget( buttonBox ); |
55 | m_lay->addWidget( m_base ); | 56 | m_lay->addWidget( m_base ); |
56 | 57 | ||
57 | m_deviceCmb->insertItem( "/dev/ttyS0" ); | 58 | m_deviceCmb->insertItem( "/dev/ttyS0" ); |
58 | m_deviceCmb->insertItem( "/dev/ttyS1" ); | 59 | m_deviceCmb->insertItem( "/dev/ttyS1" ); |
59 | m_deviceCmb->insertItem( "/dev/ttyS2" ); | 60 | m_deviceCmb->insertItem( "/dev/ttyS2" ); |
60 | 61 | ||
61 | atConf = new ATConfigDialog( this, "ATConfig", true ); | 62 | atConf = new ATConfigDialog( this, "ATConfig", true ); |
62 | } | 63 | } |
63 | 64 | ||
64 | ModemConfigWidget::~ModemConfigWidget() { | 65 | ModemConfigWidget::~ModemConfigWidget() { |