/***************************************************************************
                            AddressBook.cpp -  description
                             -------------------
    begin                : Sun Aug 26 09:45:02 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Aug 26 09:45:02 2001, using kdoc parser/custom Java conversion backend.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

#define _BOOL_H_
#include <addressbook.h>
#include <qstring.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/AddressBook.h>

class AddressBookJBridge : public AddressBook
{
public:
	AddressBookJBridge(QWidget* parent, const char* name, bool load) : AddressBook(parent, name, load) {}
	~AddressBookJBridge() {QtSupport::qtKeyDeleted(this);}
	KabKey  protected_nextAvailEntryKey() {
		return (KabKey ) AddressBook::nextAvailEntryKey();
	}
	bool  protected_isSameFile(const QString& a, const QString& b) {
		return (bool ) AddressBook::isSameFile(a, b);
	}
	ErrorCode  protected_makeEntryFromSection(Section* arg1, Entry& arg2) {
		return (ErrorCode ) AddressBook::makeEntryFromSection(arg1, arg2);
	}
	ErrorCode  protected_makeAddressFromMap(KeyValueMap* arg1, Entry::Address& arg2) {
		return (ErrorCode ) AddressBook::makeAddressFromMap(arg1, arg2);
	}
	ErrorCode  protected_makeSectionFromEntry(const Entry& arg1, Section& arg2) {
		return (ErrorCode ) AddressBook::makeSectionFromEntry(arg1, arg2);
	}
	ErrorCode  protected_updateMirrorMap() {
		return (ErrorCode ) AddressBook::updateMirrorMap();
	}
	Section*  protected_entrySection() {
		return (Section* ) AddressBook::entrySection();
	}
	void protected_reloaded(QConfigDB* arg1) {
		AddressBook::reloaded(arg1);
		return;
	}
	void protected_dataFileChanged() {
		AddressBook::dataFileChanged();
		return;
	}
	void protected_configFileChanged() {
		AddressBook::configFileChanged();
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "enterEvent", arg1, "org.kde.qt.QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "focusInEvent", arg1, "org.kde.qt.QFocusEvent")) {
			QWidget::focusInEvent(arg1);
		}
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyReleaseEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "focusOutEvent", arg1, "org.kde.qt.QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "childEvent", arg1, "org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "leaveEvent", arg1, "org.kde.qt.QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "showEvent", arg1, "org.kde.qt.QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "moveEvent", arg1, "org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "wheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "hideEvent", arg1, "org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mousePressEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "customEvent", arg1, "org.kde.qt.QCustomEvent")) {
			QWidget::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "closeEvent", arg1, "org.kde.qt.QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "paintEvent", arg1, "org.kde.qt.QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "timerEvent", arg1, "org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QFrame::resizeEvent(arg1);
		}
		return;
	}
};


JNIEXPORT void JNICALL
Java_org_kde_koala_AddressBook_newAddressBook__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jobject parent, jstring name, jboolean load)
{
static QCString * _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new AddressBookJBridge((QWidget*) QtSupport::getQt(env, parent), (char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) load));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_AddressBook_newAddressBook__(JNIEnv *env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new AddressBookJBridge(0, 0, true));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_AddressBook_finalize(JNIEnv *env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((AddressBook*)QtSupport::getQt(env, obj))->parentWidget() == (QWidget *) 0) {
		delete (AddressBook*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_getState(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getState();
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_load__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring filename)
{
static QString * _qstring_filename = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->load((QString) * (QString *) QtSupport::toQString(env, filename, &_qstring_filename));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_load__(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->load("");
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_save__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring filename, jboolean force)
{
static QString * _qstring_filename = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->save((QString&) * (QString *) QtSupport::toQString(env, filename, &_qstring_filename), (bool) force);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_save__(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->save("", false);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_closeFile__Z(JNIEnv *env, jobject obj, jboolean saveit)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->closeFile((bool) saveit);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_closeFile__(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->closeFile(true);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_getEntry__Lorg_kde_koala_KabKey_2Lorg_kde_koala_Entry_2(JNIEnv *env, jobject obj, jobject key, jobject arg1)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getEntry((KabKey&) *(KabKey *) QtSupport::getQt(env, key), (AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, arg1));
}

//JNIEXPORT jint JNICALL
//Java_org_kde_koala_AddressBook_getEntry__Lorg_kde_koala_KabKey_2Lorg_kde_koala_Section_2(JNIEnv *env, jobject obj, jobject key, jobject arg1)
//{
//	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getEntry((KabKey&) *(KabKey *) QtSupport::getQt(env, key), (Section*&) QtSupport::getQt(env, arg1));
//}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_add__Lorg_kde_koala_Entry_2Lorg_kde_koala_KabKey_2Z(JNIEnv *env, jobject obj, jobject arg1, jobject key, jboolean update)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->add((AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, arg1), (KabKey&) *(KabKey *) QtSupport::getQt(env, key), (bool) update);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_add__Lorg_kde_koala_Entry_2Lorg_kde_koala_KabKey_2(JNIEnv *env, jobject obj, jobject arg1, jobject key)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->add((AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, arg1), (KabKey&) *(KabKey *) QtSupport::getQt(env, key), true);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_change(JNIEnv *env, jobject obj, jobject key, jobject arg1)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->change((KabKey&) *(KabKey *) QtSupport::getQt(env, key), (AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, arg1));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_remove(JNIEnv *env, jobject obj, jobject key)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->remove((KabKey&) *(KabKey *) QtSupport::getQt(env, key));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_noOfEntries(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->noOfEntries();
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_literalName__Lorg_kde_koala_KabKey_2Ljava_lang_String_2ZZ(JNIEnv *env, jobject obj, jobject key, jstring text, jboolean reverse, jboolean initials)
{
static QString * _qstring_text = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->literalName((KabKey&) *(KabKey *) QtSupport::getQt(env, key), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (bool) reverse, (bool) initials);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_literalName__Lorg_kde_koala_KabKey_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject key, jstring text)
{
static QString * _qstring_text = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->literalName((KabKey&) *(KabKey *) QtSupport::getQt(env, key), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), false, false);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_literalName__Lorg_kde_koala_Entry_2Ljava_lang_String_2ZZ(JNIEnv *env, jobject obj, jobject entry, jstring text, jboolean reverse, jboolean initials)
{
static QString * _qstring_text = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->literalName((AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, entry), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), (bool) reverse, (bool) initials);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_literalName__Lorg_kde_koala_Entry_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject entry, jstring text)
{
static QString * _qstring_text = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->literalName((AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, entry), (QString&) * (QString *) QtSupport::toQString(env, text, &_qstring_text), false, false);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_getKey(JNIEnv *env, jobject obj, jint index, jobject arg1)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getKey((int) index, (KabKey&) *(KabKey *) QtSupport::getQt(env, arg1));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_getIndex(JNIEnv *env, jobject obj, jobject arg1, jint arg2)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getIndex((KabKey&) *(KabKey *) QtSupport::getQt(env, arg1), (int&) * (int *) arg2);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_getListOfNames___3Ljava_lang_String_2ZZ(JNIEnv *env, jobject obj, jobjectArray arg1, jboolean reverse, jboolean initials)
{
static QStringList * _qlist_arg1 = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getListOfNames((QStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1), (bool) reverse, (bool) initials);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_getListOfNames___3Ljava_lang_String_2(JNIEnv *env, jobject obj, jobjectArray arg1)
{
static QStringList * _qlist_arg1 = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getListOfNames((QStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1), true, true);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_AddressBook_getConfig(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((AddressBookJBridge*) QtSupport::getQt(env, obj))->getConfig(), "org.kde.qt.QConfigDB");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_AddressBook_configurationSection(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((AddressBookJBridge*) QtSupport::getQt(env, obj))->configurationSection(), "org.kde.koala.Section");
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_createNew__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring filename)
{
static QString * _qstring_filename = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->createNew((QString&) * (QString *) QtSupport::toQString(env, filename, &_qstring_filename));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_createNew__(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->createNew("");
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_createConfigFile(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->createConfigFile();
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_loadConfigFile(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->loadConfigFile();
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_makeEntryFromVCard(JNIEnv *env, jobject obj, jstring card, jobject arg1)
{
static QString * _qstring_card = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->makeEntryFromVCard((QString&) * (QString *) QtSupport::toQString(env, card, &_qstring_card), (AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, arg1));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_makeVCardFromEntry(JNIEnv *env, jobject obj, jobject entry, jstring card)
{
static QString * _qstring_card = 0;
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->makeVCardFromEntry((AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, entry), (QString) * (QString *) QtSupport::toQString(env, card, &_qstring_card));
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_AddressBook_getStandardFilename(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((AddressBookJBridge*) QtSupport::getQt(env, obj))->getStandardFilename();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_AddressBook_externalChange(JNIEnv *env, jobject obj)
{
	((AddressBookJBridge*) QtSupport::getQt(env, obj))->externalChange();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_AddressBook_phoneType(JNIEnv *env, jclass obj, jint arg1)
{
	QString  _qstring;
	_qstring = AddressBookJBridge::phoneType((AddressBook::Telephone) arg1);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_AddressBook_nextAvailEntryKey(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new KabKey (((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_nextAvailEntryKey()), "org.kde.koala.KabKey", TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_AddressBook_isSameFile(JNIEnv *env, jobject obj, jstring a, jstring b)
{
static QString * _qstring_b = 0;
static QString * _qstring_a = 0;
	return (jboolean) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_isSameFile((QString&) * (QString *) QtSupport::toQString(env, a, &_qstring_a), (QString&) * (QString *) QtSupport::toQString(env, b, &_qstring_b));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_makeEntryFromSection(JNIEnv *env, jobject obj, jobject arg1, jobject arg2)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_makeEntryFromSection((Section*) QtSupport::getQt(env, arg1), (AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, arg2));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_makeAddressFromMap(JNIEnv *env, jobject obj, jobject arg1, jobject arg2)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_makeAddressFromMap((KeyValueMap*) QtSupport::getQt(env, arg1), (AddressBook::Entry::Address&) *(AddressBook::Entry::Address *) QtSupport::getQt(env, arg2));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_makeSectionFromEntry(JNIEnv *env, jobject obj, jobject arg1, jobject arg2)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_makeSectionFromEntry((AddressBook::Entry&) *(AddressBook::Entry *) QtSupport::getQt(env, arg1), (Section&) *(Section *) QtSupport::getQt(env, arg2));
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_AddressBook_updateMirrorMap(JNIEnv *env, jobject obj)
{
	return (jint) ((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_updateMirrorMap();
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_AddressBook_entrySection(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_entrySection(), "org.kde.koala.Section");
}

JNIEXPORT void JNICALL
Java_org_kde_koala_AddressBook_reloaded(JNIEnv *env, jobject obj, jobject arg1)
{
	((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_reloaded((QConfigDB*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_AddressBook_dataFileChanged(JNIEnv *env, jobject obj)
{
	((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_dataFileChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_AddressBook_configFileChanged(JNIEnv *env, jobject obj)
{
	((AddressBookJBridge*) QtSupport::getQt(env, obj))->protected_configFileChanged();
	return;
}

