From 4194db65980f5f18f05d5c5f3703f0f8b8cd1c79 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Dec 2011 01:38:23 -0600 Subject: Fix incorrect conversion of getQDTNotBefore --- kdejava/koala/kdejava/KSSLCertificate.cpp | 4 ++-- kdejava/koala/kdejava/KSSLCertificate.h | 2 +- kdejava/koala/org/kde/koala/KSSLCertificate.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kdejava') diff --git a/kdejava/koala/kdejava/KSSLCertificate.cpp b/kdejava/koala/kdejava/KSSLCertificate.cpp index 2959eb95..0ab55848 100644 --- a/kdejava/koala/kdejava/KSSLCertificate.cpp +++ b/kdejava/koala/kdejava/KSSLCertificate.cpp @@ -146,10 +146,10 @@ Java_org_kde_koala_KSSLCertificate_getTQDTNotAfter(JNIEnv* env, jobject obj) } JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_getTQDTNotBefore(JNIEnv* env, jobject obj) +Java_org_kde_koala_KSSLCertificate_getQDTNotBefore(JNIEnv* env, jobject obj) { TQDateTime _qdate; - _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getTQDTNotBefore(); + _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getQDTNotBefore(); return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); } diff --git a/kdejava/koala/kdejava/KSSLCertificate.h b/kdejava/koala/kdejava/KSSLCertificate.h index 4ae18447..48fa6803 100644 --- a/kdejava/koala/kdejava/KSSLCertificate.h +++ b/kdejava/koala/kdejava/KSSLCertificate.h @@ -15,7 +15,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSubject ( extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getIssuer (JNIEnv *env, jobject); 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_getTQDTNotBefore (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 jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toDer (JNIEnv *env, jobject); extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toPem (JNIEnv *env, jobject); diff --git a/kdejava/koala/org/kde/koala/KSSLCertificate.java b/kdejava/koala/org/kde/koala/KSSLCertificate.java index 8354136a..445ad63a 100644 --- a/kdejava/koala/org/kde/koala/KSSLCertificate.java +++ b/kdejava/koala/org/kde/koala/KSSLCertificate.java @@ -95,7 +95,7 @@ public class KSSLCertificate implements QtSupport { @short Get the date that the certificate becomes valid on. */ - public native Calendar getTQDTNotBefore(); + public native Calendar getQDTNotBefore(); /** Get the date that the certificate is valid until. @return the date -- cgit v1.2.1