diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:29:23 -0600 | 
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 03:26:26 +0200 | 
| commit | 6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (patch) | |
| tree | b3de8cec6a2df2306a13d2d884ea95a8f0c207d2 /kcontrol/crypto/crypto.cpp | |
| parent | 6ca5e6d65a74d794637953bfea85c42e3bf828dd (diff) | |
| download | tdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.tar.gz tdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.zip | |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 628043be55ddd2f534411d028e4f68c8fe4eaabb)
Diffstat (limited to 'kcontrol/crypto/crypto.cpp')
| -rw-r--r-- | kcontrol/crypto/crypto.cpp | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/kcontrol/crypto/crypto.cpp b/kcontrol/crypto/crypto.cpp index 910f65136..c6c1d4c9b 100644 --- a/kcontrol/crypto/crypto.cpp +++ b/kcontrol/crypto/crypto.cpp @@ -842,7 +842,7 @@ TQString whatstr;    tabs->addTab(tabSSLCOpts, i18n("Validation Options"));  #endif -  tabs->resize(tabs->tqsizeHint()); +  tabs->resize(tabs->sizeHint());    load();  } @@ -1500,7 +1500,7 @@ TQString iss = TQString();           TQPalette cspl;           iss = cert->getIssuer();           cspl = validFrom->palette(); -         if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) { +         if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {              cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));           } else {              cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59)); @@ -1508,7 +1508,7 @@ TQString iss = TQString();           validFrom->setPalette(cspl);           cspl = validUntil->palette(); -         if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) { +         if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {              cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));           } else {              cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59)); @@ -1518,7 +1518,7 @@ TQString iss = TQString();           validFrom->setText(cert->getNotBefore());           validUntil->setText(cert->getNotAfter());           untilDate->setText(x ? KGlobal::locale()->formatDateTime(x->getExpires()) -                              : KGlobal::locale()->formatDateTime(TQDateTime::tqcurrentDateTime(Qt::UTC))); +                              : KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime(Qt::UTC)));           untilDate->setEnabled(x && !x->isPermanent());           pHash->setText(cert->getMD5DigestText());           delete cert; @@ -1738,7 +1738,7 @@ TQString iss;     TQPalette cspl;     KSSLCertificate *cert = pkcs->getCertificate();     cspl = yValidFrom->palette(); -   if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) { +   if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {  	   cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));     } else {  	   cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59)); @@ -1746,7 +1746,7 @@ TQString iss;     yValidFrom->setPalette(cspl);     cspl = yValidUntil->palette(); -   if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) { +   if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {  	   cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));     } else {  	   cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59)); @@ -1778,7 +1778,7 @@ TQString iss;           KSSLCertificate *cert = pkcs->getCertificate();           iss = cert->getIssuer();           cspl = yValidFrom->palette(); -         if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) { +         if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {              cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));           } else {              cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59)); @@ -1786,7 +1786,7 @@ TQString iss;           yValidFrom->setPalette(cspl);           cspl = yValidUntil->palette(); -         if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) { +         if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {              cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));           } else {              cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59)); | 
