Diffstat (limited to 'noncore/settings/networksettings/ppp/pppdargs.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppdargs.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/noncore/settings/networksettings/ppp/pppdargs.cpp b/noncore/settings/networksettings/ppp/pppdargs.cpp index b7fca3f..4039939 100644 --- a/noncore/settings/networksettings/ppp/pppdargs.cpp +++ b/noncore/settings/networksettings/ppp/pppdargs.cpp @@ -72,37 +72,37 @@ PPPdArguments::PPPdArguments(QWidget *parent, const char *name) l2->addStretch(1); remove = new QPushButton(i18n("Remove"), this); connect(remove, SIGNAL(clicked()), SLOT(removebutton())); l2->addWidget(remove); defaults = new QPushButton(i18n("Defaults"), this); connect(defaults, SIGNAL(clicked()), SLOT(defaultsbutton())); l2->addWidget(defaults); l->addSpacing(5); - QButtonGroup *bbox = new QButtonGroup(this); -// bbox->addStretch(1); - closebtn = new QPushButton( bbox, i18n("OK")); - bbox->insert(closebtn); - connect(closebtn, SIGNAL(clicked()), SLOT(closebutton())); - QPushButton *cancel = new QPushButton( bbox, i18n("Cancel")); - bbox->insert(cancel); - connect(cancel, SIGNAL(clicked()), - this, SLOT(reject())); - bbox->layout(); - l->addWidget(bbox); - - setFixedSize(sizeHint()); +// QButtonGroup *bbox = new QButtonGroup(this); +// // bbox->addStretch(1); +// closebtn = new QPushButton( bbox, i18n("OK")); +// bbox->insert(closebtn); +// connect(closebtn, SIGNAL(clicked()), SLOT(closebutton())); +// QPushButton *cancel = new QPushButton( bbox, i18n("Cancel")); +// bbox->insert(cancel); +// connect(cancel, SIGNAL(clicked()), +// this, SLOT(reject())); +// bbox->layout(); +// l->addWidget(bbox); + +// setFixedSize(sizeHint()); //load info from gpppdata init(); add->setEnabled(false); remove->setEnabled(false); argument->setFocus(); } void PPPdArguments::addbutton() { if(!argument->text().isEmpty() && arguments->count() < MAX_PPPD_ARGUMENTS) { |