summaryrefslogtreecommitdiff
authorzecke <zecke>2005-03-01 20:04:21 (UTC)
committer zecke <zecke>2005-03-01 20:04:21 (UTC)
commitbb6be9cbe75892a7cc1d7c234f1c48023f9c9592 (patch) (unidiff)
tree0d517350be5926a2ac8bc5dc4c1bbf61f734ca2f
parent09c95ae28f4500ae0bb81f6ed305f877950626e8 (diff)
downloadopie-bb6be9cbe75892a7cc1d7c234f1c48023f9c9592.zip
opie-bb6be9cbe75892a7cc1d7c234f1c48023f9c9592.tar.gz
opie-bb6be9cbe75892a7cc1d7c234f1c48023f9c9592.tar.bz2
Allow to wait 6 seconds (instead of three) when initialising the modem
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/modemcmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/modemcmds.cpp b/noncore/settings/networksettings/ppp/modemcmds.cpp
index e797795..3d15b96 100644
--- a/noncore/settings/networksettings/ppp/modemcmds.cpp
+++ b/noncore/settings/networksettings/ppp/modemcmds.cpp
@@ -60,33 +60,33 @@ ModemCommands::ModemCommands(PPPData *pd, QWidget *parent, const char *name , bo
60 // toplevel layout 60 // toplevel layout
61 QVBoxLayout *tl = new QVBoxLayout( mainW, 10, 4); 61 QVBoxLayout *tl = new QVBoxLayout( mainW, 10, 4);
62 62
63 // add grid + frame 63 // add grid + frame
64 QGridLayout *l1 = new QGridLayout(GRIDROWS, 4); 64 QGridLayout *l1 = new QGridLayout(GRIDROWS, 4);
65 tl->addLayout(l1); 65 tl->addLayout(l1);
66 box = new QGroupBox(mainW, "box"); 66 box = new QGroupBox(mainW, "box");
67 box->setMargin( 0 ); 67 box->setMargin( 0 );
68 l1->addMultiCellWidget(box, row++, GRIDROWS, 0, 3); 68 l1->addMultiCellWidget(box, row++, GRIDROWS, 0, 3);
69 69
70 // put slider and label into a separate H-Box 70 // put slider and label into a separate H-Box
71 QHBoxLayout *l2 = new QHBoxLayout; 71 QHBoxLayout *l2 = new QHBoxLayout;
72 l1->addLayout(l2, row, 2); 72 l1->addLayout(l2, row, 2);
73 lpreinitslider = new QLabel("MMMM", mainW); 73 lpreinitslider = new QLabel("MMMM", mainW);
74 FORMATSLIDERLABEL(lpreinitslider); 74 FORMATSLIDERLABEL(lpreinitslider);
75 75
76 QSlider *preinitslider = new QSlider(0, 300, 1, 0, 76 QSlider *preinitslider = new QSlider(0, 600, 1, 0,
77 QSlider::Horizontal, mainW); 77 QSlider::Horizontal, mainW);
78// preinitslider->setFixedHeight(preinitslider->sizeHint().height()); 78// preinitslider->setFixedHeight(preinitslider->sizeHint().height());
79 connect(preinitslider, SIGNAL(valueChanged(int)), 79 connect(preinitslider, SIGNAL(valueChanged(int)),
80 lpreinitslider, SLOT(setNum(int))); 80 lpreinitslider, SLOT(setNum(int)));
81 l2->addWidget(lpreinitslider, 0); 81 l2->addWidget(lpreinitslider, 0);
82 l2->addWidget(preinitslider, 1); 82 l2->addWidget(preinitslider, 1);
83 83
84 lpreinit = new QLabel(QObject::tr("Pre-init delay (sec/100):"), mainW); 84 lpreinit = new QLabel(QObject::tr("Pre-init delay (sec/100):"), mainW);
85 l1->addWidget(lpreinit, row++, 1); 85 l1->addWidget(lpreinit, row++, 1);
86 86
87 for(int i = 0; i < PPPData::NumInitStrings; i++) { 87 for(int i = 0; i < PPPData::NumInitStrings; i++) {
88 initstr[i] = new QLineEdit(mainW); 88 initstr[i] = new QLineEdit(mainW);
89 QLabel *initLabel = new QLabel(QObject::tr("Initialization string %1:").arg(i + 1), 89 QLabel *initLabel = new QLabel(QObject::tr("Initialization string %1:").arg(i + 1),
90 mainW); 90 mainW);
91 ADJUSTEDIT(initstr[i]); 91 ADJUSTEDIT(initstr[i]);
92 l1->addWidget(initLabel, row, 1); 92 l1->addWidget(initLabel, row, 1);