org.kde.koala
Class KAboutTranslator

java.lang.Object
  extended by org.kde.koala.KAboutTranslator
All Implemented Interfaces:
org.kde.qt.QtSupport

public class KAboutTranslator
extends java.lang.Object
implements org.kde.qt.QtSupport

This structure is used to store information about a translator. It can store the translator's name and an email address. This class is intended for use in the KAboutData class, but it can be used elsewhere as well. Normally you should at least define the translator's name. It's not possible to use KAboutPerson for this, because KAboutPerson stores internally only String pointers, but the translator information is generated dynamically from the translation of a dummy string.


Constructor Summary
  KAboutTranslator()
           
protected KAboutTranslator(java.lang.Class dummy)
           
  KAboutTranslator(java.lang.String name)
           
  KAboutTranslator(java.lang.String name, java.lang.String emailAddress)
          Convenience constructor
 
Method Summary
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
 java.lang.String emailAddress()
          The translator's email
protected  void finalize()
          Deletes the wrapped C++ instance
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 java.lang.String name()
          The translator's name
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KAboutTranslator

protected KAboutTranslator(java.lang.Class dummy)

KAboutTranslator

public KAboutTranslator(java.lang.String name,
                        java.lang.String emailAddress)
Convenience constructor

Parameters:
name - The name of the person.
emailAddress - The email address of the person.

KAboutTranslator

public KAboutTranslator(java.lang.String name)

KAboutTranslator

public KAboutTranslator()
Method Detail

name

public java.lang.String name()
The translator's name

Returns:
the translators's name (can be null, if it has been constructed with a null name)

emailAddress

public java.lang.String emailAddress()
The translator's email

Returns:
the translator's email address (can be null, if it has been constructed with a null email)

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?