|
Lines 253-258
Link Here
|
| 253 |
layout->addWidget(new TQLabel(i18n("%1 bits used of a %2 bit cipher").arg(usedbits).arg(bits), this), 10, 1); |
253 |
layout->addWidget(new TQLabel(i18n("%1 bits used of a %2 bit cipher").arg(usedbits).arg(bits), this), 10, 1); |
| 254 |
d->m_layout->addMultiCell(layout, 2, 2, 0, 2); |
254 |
d->m_layout->addMultiCell(layout, 2, 2, 0, 2); |
| 255 |
|
255 |
|
|
|
256 |
ipl->setTextFormat(TQt::PlainText); |
| 257 |
urlLabel->setTextFormat(TQt::PlainText); |
| 258 |
d->_serialNum->setTextFormat(TQt::PlainText); |
| 259 |
d->_csl->setTextFormat(TQt::PlainText); |
| 260 |
d->_validFrom->setTextFormat(TQt::PlainText); |
| 261 |
d->_validUntil->setTextFormat(TQt::PlainText); |
| 262 |
d->_digest->setTextFormat(TQt::PlainText); |
| 263 |
|
| 256 |
displayCert(cert); |
264 |
displayCert(cert); |
| 257 |
} |
265 |
} |
| 258 |
|
266 |
|
|
Lines 400-431
Link Here
|
| 400 |
if (!(tmp = cert.getValue("O")).isEmpty()) { |
408 |
if (!(tmp = cert.getValue("O")).isEmpty()) { |
| 401 |
label = new TQLabel(i18n("Organization:"), _frame); |
409 |
label = new TQLabel(i18n("Organization:"), _frame); |
| 402 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
410 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
| 403 |
new TQLabel(tmp, _frame); |
411 |
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText); |
| 404 |
} |
412 |
} |
| 405 |
if (!(tmp = cert.getValue("OU")).isEmpty()) { |
413 |
if (!(tmp = cert.getValue("OU")).isEmpty()) { |
| 406 |
label = new TQLabel(i18n("Organizational unit:"), _frame); |
414 |
label = new TQLabel(i18n("Organizational unit:"), _frame); |
| 407 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
415 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
| 408 |
new TQLabel(tmp, _frame); |
416 |
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText); |
| 409 |
} |
417 |
} |
| 410 |
if (!(tmp = cert.getValue("L")).isEmpty()) { |
418 |
if (!(tmp = cert.getValue("L")).isEmpty()) { |
| 411 |
label = new TQLabel(i18n("Locality:"), _frame); |
419 |
label = new TQLabel(i18n("Locality:"), _frame); |
| 412 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
420 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
| 413 |
new TQLabel(tmp, _frame); |
421 |
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText); |
| 414 |
} |
422 |
} |
| 415 |
if (!(tmp = cert.getValue("ST")).isEmpty()) { |
423 |
if (!(tmp = cert.getValue("ST")).isEmpty()) { |
| 416 |
label = new TQLabel(i18n("Federal State","State:"), _frame); |
424 |
label = new TQLabel(i18n("Federal State","State:"), _frame); |
| 417 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
425 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
| 418 |
new TQLabel(tmp, _frame); |
426 |
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText); |
| 419 |
} |
427 |
} |
| 420 |
if (!(tmp = cert.getValue("C")).isEmpty()) { |
428 |
if (!(tmp = cert.getValue("C")).isEmpty()) { |
| 421 |
label = new TQLabel(i18n("Country:"), _frame); |
429 |
label = new TQLabel(i18n("Country:"), _frame); |
| 422 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
430 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
| 423 |
new TQLabel(tmp, _frame); |
431 |
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText); |
| 424 |
} |
432 |
} |
| 425 |
if (!(tmp = cert.getValue("CN")).isEmpty()) { |
433 |
if (!(tmp = cert.getValue("CN")).isEmpty()) { |
| 426 |
label = new TQLabel(i18n("Common name:"), _frame); |
434 |
label = new TQLabel(i18n("Common name:"), _frame); |
| 427 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
435 |
label->setAlignment(Qt::AlignLeft | Qt::AlignTop); |
| 428 |
new TQLabel(tmp, _frame); |
436 |
(new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText); |
| 429 |
} |
437 |
} |
| 430 |
if (!(tmp = cert.getValue("Email")).isEmpty()) { |
438 |
if (!(tmp = cert.getValue("Email")).isEmpty()) { |
| 431 |
label = new TQLabel(i18n("Email:"), _frame); |
439 |
label = new TQLabel(i18n("Email:"), _frame); |
|
Lines 435-440
Link Here
|
| 435 |
connect(mail, TQT_SIGNAL(leftClickedURL(const TQString &)), mailCatcher, TQT_SLOT(mailClicked(const TQString &))); |
443 |
connect(mail, TQT_SIGNAL(leftClickedURL(const TQString &)), mailCatcher, TQT_SLOT(mailClicked(const TQString &))); |
| 436 |
} else { |
444 |
} else { |
| 437 |
label = new TQLabel(tmp, _frame); |
445 |
label = new TQLabel(tmp, _frame); |
|
|
446 |
label->setTextFormat(TQt::PlainText); |
| 438 |
} |
447 |
} |
| 439 |
} |
448 |
} |
| 440 |
if (label && viewport()) { |
449 |
if (label && viewport()) { |