summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 01:38:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 01:38:23 -0600
commit4194db65980f5f18f05d5c5f3703f0f8b8cd1c79 (patch)
tree4d75a399a2b9b85566b03f9ef1ffec640e8cc03a
parent2ef253fb5ad347e446bf9c0a0f891d8d9ac7eb5c (diff)
downloadtdebindings-4194db65980f5f18f05d5c5f3703f0f8b8cd1c79.tar.gz
tdebindings-4194db65980f5f18f05d5c5f3703f0f8b8cd1c79.zip
Fix incorrect conversion of getQDTNotBefore
-rw-r--r--kdejava/koala/kdejava/KSSLCertificate.cpp4
-rw-r--r--kdejava/koala/kdejava/KSSLCertificate.h2
-rw-r--r--kdejava/koala/org/kde/koala/KSSLCertificate.java2
3 files changed, 4 insertions, 4 deletions
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