Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 1 year ago
parent 613dff1a86
commit 3fc205a151
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1081,7 +1081,7 @@ int LDAPManager::updateUserInfo(LDAPUserInfo user, TQString *errstr) {
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
if (cert) {
bool expired = false;
if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
expired = true;
}
@ -4766,7 +4766,7 @@ int LDAPManager::generatePKICRL(int expirydays, LDAPRealmConfig realmcfg, TQStri
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
if (cert) {
bool expired = false;
if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
expired = true;
}

Loading…
Cancel
Save