/***************************************************************************
                            KFileViewSignaler.cpp -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 <kfileview.h>
#include <qstring.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KFileViewSignaler.h>

JNIEXPORT void JNICALL
Java_org_kde_koala_KFileViewSignaler_activate(JNIEnv *env, jobject obj, jobject item)
{
	((KFileViewSignaler*) QtSupport::getQt(env, obj))->activate((KFileItem*) QtSupport::getQt(env, item));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KFileViewSignaler_highlightFile(JNIEnv *env, jobject obj, jobject i)
{
	((KFileViewSignaler*) QtSupport::getQt(env, obj))->highlightFile((KFileItem*) QtSupport::getQt(env, i));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KFileViewSignaler_activateMenu(JNIEnv *env, jobject obj, jobject i, jobject pos)
{
	((KFileViewSignaler*) QtSupport::getQt(env, obj))->activateMenu((KFileItem*) QtSupport::getQt(env, i), (QPoint&) *(QPoint *) QtSupport::getQt(env, pos));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KFileViewSignaler_changeSorting(JNIEnv *env, jobject obj, jint sorting)
{
	((KFileViewSignaler*) QtSupport::getQt(env, obj))->changeSorting((QDir::SortSpec) sorting);
	return;
}

