diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 01:40:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 01:40:24 -0600 |
commit | 7d9a33b4fe664bd0b49aa31d77f936318ae26159 (patch) | |
tree | 52bf5cbe3be6faf1551786be1e95ebc87afddd49 /kdejava | |
parent | 4194db65980f5f18f05d5c5f3703f0f8b8cd1c79 (diff) | |
download | tdebindings-7d9a33b4fe664bd0b49aa31d77f936318ae26159.tar.gz tdebindings-7d9a33b4fe664bd0b49aa31d77f936318ae26159.zip |
Fix incorrect conversion getQDT
Diffstat (limited to 'kdejava')
-rw-r--r-- | kdejava/koala/kdejava/KSSLCertificate.cpp | 4 | ||||
-rw-r--r-- | kdejava/koala/kdejava/KSSLCertificate.h | 2 | ||||
-rw-r--r-- | kdejava/koala/org/kde/koala/KSSLCertificate.java | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/kdejava/koala/kdejava/KSSLCertificate.cpp b/kdejava/koala/kdejava/KSSLCertificate.cpp index 0ab55848..e28fa592 100644 --- a/kdejava/koala/kdejava/KSSLCertificate.cpp +++ b/kdejava/koala/kdejava/KSSLCertificate.cpp @@ -138,10 +138,10 @@ Java_org_kde_koala_KSSLCertificate_getPublicKeyText(JNIEnv* env, jobject obj) } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_getTQDTNotAfter(JNIEnv* env, jobject obj) +Java_org_kde_koala_KSSLCertificate_getQDTNotAfter(JNIEnv* env, jobject obj) { TQDateTime _qdate; - _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getTQDTNotAfter(); + _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getQDTNotAfter(); return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); } diff --git a/kdejava/koala/kdejava/KSSLCertificate.h b/kdejava/koala/kdejava/KSSLCertificate.h index 48fa6803..010671ab 100644 --- a/kdejava/koala/kdejava/KSSLCertificate.h +++ b/kdejava/koala/kdejava/KSSLCertificate.h @@ -16,7 +16,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getIssuer (J extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotBefore (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotAfter (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotBefore (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getTQDTNotAfter (JNIEnv *env, jobject); +extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotAfter (JNIEnv *env, jobject); extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toDer (JNIEnv *env, jobject); extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toPem (JNIEnv *env, jobject); extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toNetscape (JNIEnv *env, jobject); diff --git a/kdejava/koala/org/kde/koala/KSSLCertificate.java b/kdejava/koala/org/kde/koala/KSSLCertificate.java index 445ad63a..61bd69f5 100644 --- a/kdejava/koala/org/kde/koala/KSSLCertificate.java +++ b/kdejava/koala/org/kde/koala/KSSLCertificate.java @@ -102,7 +102,7 @@ public class KSSLCertificate implements QtSupport { @short Get the date that the certificate is valid until. */ - public native Calendar getTQDTNotAfter(); + public native Calendar getQDTNotAfter(); /** Convert the certificate to DER (ASN.1) format. @return the binary data of the DER encoding |