/***************************************************************************
                            kde_KFileDetailView.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

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

extern "C" {
#include "kde_KFileDetailView.h"
}

#include <kfiledetailview.h>

class KFileDetailViewBridge : public KFileDetailView
{
public:
	KFileDetailViewBridge(QWidget* parent, const char* name) : KFileDetailView(parent, name) {}
	~KFileDetailViewBridge() {}
	void protected_slotSelectionChanged() {
		KFileDetailView::slotSelectionChanged();
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", arg1, "QKeyEvent")) {
			KFileDetailView::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* fe) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", fe, "QFocusEvent")) {
			KListView::focusOutEvent(fe);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void viewportDragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDragMoveEvent", arg1, "QDragMoveEvent")) {
			QScrollView::viewportDragMoveEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragMoveEvent", arg1, "QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void contentsWheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsWheelEvent", arg1, "QWheelEvent")) {
			QScrollView::contentsWheelEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "leaveEvent", e, "QEvent")) {
			KListView::leaveEvent(e);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "tabletEvent", arg1, "QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "showEvent", arg1, "QShowEvent")) {
			QListView::showEvent(arg1);
		}
		return;
	}
	void contentsContextMenuEvent(QContextMenuEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsContextMenuEvent", e, "QContextMenuEvent")) {
			QListView::contentsContextMenuEvent(e);
		}
		return;
	}
	void viewportContextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportContextMenuEvent", arg1, "QContextMenuEvent")) {
			QScrollView::viewportContextMenuEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contextMenuEvent", arg1, "QContextMenuEvent")) {
			QScrollView::contextMenuEvent(arg1);
		}
		return;
	}
	void viewportMousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMousePressEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMousePressEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mousePressEvent", arg1, "QMouseEvent")) {
			QScrollView::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imComposeEvent", arg1, "QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void viewportMouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMouseReleaseEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseReleaseEvent", arg1, "QMouseEvent")) {
			QScrollView::mouseReleaseEvent(arg1);
		}
		return;
	}
//	void konquerorKeyPressEvent(QKeyEvent* arg1) {
//		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "konquerorKeyPressEvent", arg1, "QKeyEvent")) {
//			KListView::konquerorKeyPressEvent(arg1);
//		}
//		return;
//	}
	void viewportMouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QScrollView::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void viewportDragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QScrollView::viewportDragLeaveEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragLeaveEvent", arg1, "QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "enterEvent", arg1, "QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void contentsDropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDropEvent", arg1, "QDropEvent")) {
			KListView::contentsDropEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* fe) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", fe, "QFocusEvent")) {
			KListView::focusInEvent(fe);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imEndEvent", arg1, "QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void contentsDragLeaveEvent(QDragLeaveEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDragLeaveEvent", event, "QDragLeaveEvent")) {
			KListView::contentsDragLeaveEvent(event);
		}
		return;
	}
	void viewportDropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDropEvent", arg1, "QDropEvent")) {
			QScrollView::viewportDropEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dropEvent", arg1, "QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void contentsMouseDoubleClickEvent(QMouseEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMouseDoubleClickEvent", e, "QMouseEvent")) {
			KListView::contentsMouseDoubleClickEvent(e);
		}
		return;
	}
	void viewportDragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportDragEnterEvent", arg1, "QDragEnterEvent")) {
			QScrollView::viewportDragEnterEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragEnterEvent", arg1, "QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void viewportMouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportMouseMoveEvent", arg1, "QMouseEvent")) {
			QScrollView::viewportMouseMoveEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseMoveEvent", arg1, "QMouseEvent")) {
			QScrollView::mouseMoveEvent(arg1);
		}
		return;
	}
	void contentsDragMoveEvent(QDragMoveEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDragMoveEvent", event, "QDragMoveEvent")) {
			KListView::contentsDragMoveEvent(event);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "moveEvent", arg1, "QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMouseReleaseEvent", arg1, "QMouseEvent")) {
			KListView::contentsMouseReleaseEvent(arg1);
		}
		return;
	}
	void viewportWheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportWheelEvent", arg1, "QWheelEvent")) {
			QScrollView::viewportWheelEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "wheelEvent", arg1, "QWheelEvent")) {
			QScrollView::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "hideEvent", arg1, "QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void contentsDragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsDragEnterEvent", arg1, "QDragEnterEvent")) {
			KListView::contentsDragEnterEvent(arg1);
		}
		return;
	}
	void contentsMouseMoveEvent(QMouseEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMouseMoveEvent", e, "QMouseEvent")) {
			KListView::contentsMouseMoveEvent(e);
		}
		return;
	}
	void contentsMousePressEvent(QMouseEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contentsMousePressEvent", e, "QMouseEvent")) {
			KListView::contentsMousePressEvent(e);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imStartEvent", arg1, "QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "closeEvent", arg1, "QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void viewportPaintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportPaintEvent", arg1, "QPaintEvent")) {
			KListView::viewportPaintEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "paintEvent", arg1, "QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void viewportResizeEvent(QResizeEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "viewportResizeEvent", e, "QResizeEvent")) {
			KListView::viewportResizeEvent(e);
		}
		return;
	}
	void resizeEvent(QResizeEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "resizeEvent", e, "QResizeEvent")) {
			QListView::resizeEvent(e);
		}
		return;
	}
};

kde_KFileDetailView * kde_new_KFileDetailView(qt_QWidget * parent, char* name){
	return (kde_KFileDetailView *) new KFileDetailViewBridge((QWidget*)parent, (char*)name);
}
void kde_del_KFileDetailView( kde_KFileDetailView* p ){
	delete (KFileDetailViewBridge*) p;
}
qt_QWidget * kde_KFileDetailView_widget( kde_KFileDetailView* instPointer){
	return (qt_QWidget *) ((KFileDetailViewBridge*)instPointer)->widget();
}
void kde_KFileDetailView_clearView( kde_KFileDetailView* instPointer){
	((KFileDetailViewBridge*)instPointer)->clearView();
	return;
}
void kde_KFileDetailView_setAutoUpdate( kde_KFileDetailView* instPointer,int arg1){
	((KFileDetailViewBridge*)instPointer)->setAutoUpdate((bool)arg1);
	return;
}
void kde_KFileDetailView_setSelectionMode( kde_KFileDetailView* instPointer,int sm){
	((KFileDetailViewBridge*)instPointer)->setSelectionMode((KFile::SelectionMode)sm);
	return;
}
void kde_KFileDetailView_updateView( kde_KFileDetailView* instPointer,int arg1){
	((KFileDetailViewBridge*)instPointer)->updateView((bool)arg1);
	return;
}
void kde_KFileDetailView_updateView1( kde_KFileDetailView* instPointer,kde_KFileItem* arg1){
	((KFileDetailViewBridge*)instPointer)->updateView((KFileItem*)arg1);
	return;
}
void kde_KFileDetailView_removeItem( kde_KFileDetailView* instPointer,kde_KFileItem* arg1){
	((KFileDetailViewBridge*)instPointer)->removeItem((KFileItem*)arg1);
	return;
}
void kde_KFileDetailView_listingCompleted( kde_KFileDetailView* instPointer){
	((KFileDetailViewBridge*)instPointer)->listingCompleted();
	return;
}
void kde_KFileDetailView_setSelected( kde_KFileDetailView* instPointer,kde_KFileItem* arg1, int arg2){
	((KFileDetailViewBridge*)instPointer)->setSelected((KFileItem*)arg1, (bool)arg2);
	return;
}
int kde_KFileDetailView_isSelected( kde_KFileDetailView* instPointer,kde_KFileItem* i){
	return (int) ((KFileDetailViewBridge*)instPointer)->isSelected((KFileItem*)i);
}
void kde_KFileDetailView_clearSelection( kde_KFileDetailView* instPointer){
	((KFileDetailViewBridge*)instPointer)->clearSelection();
	return;
}
void kde_KFileDetailView_selectAll( kde_KFileDetailView* instPointer){
	((KFileDetailViewBridge*)instPointer)->selectAll();
	return;
}
void kde_KFileDetailView_invertSelection( kde_KFileDetailView* instPointer){
	((KFileDetailViewBridge*)instPointer)->invertSelection();
	return;
}
void kde_KFileDetailView_setCurrentItem( kde_KFileDetailView* instPointer,kde_KFileItem* arg1){
	((KFileDetailViewBridge*)instPointer)->setCurrentItem((KFileItem*)arg1);
	return;
}
kde_KFileItem* kde_KFileDetailView_currentFileItem( kde_KFileDetailView* instPointer){
	return (kde_KFileItem*) ((KFileDetailViewBridge*)instPointer)->currentFileItem();
}
kde_KFileItem* kde_KFileDetailView_firstFileItem( kde_KFileDetailView* instPointer){
	return (kde_KFileItem*) ((KFileDetailViewBridge*)instPointer)->firstFileItem();
}
kde_KFileItem* kde_KFileDetailView_nextItem( kde_KFileDetailView* instPointer,kde_KFileItem* arg1){
	return (kde_KFileItem*) ((KFileDetailViewBridge*)instPointer)->nextItem((KFileItem*)arg1);
}
kde_KFileItem* kde_KFileDetailView_prevItem( kde_KFileDetailView* instPointer,kde_KFileItem* arg1){
	return (kde_KFileItem*) ((KFileDetailViewBridge*)instPointer)->prevItem((KFileItem*)arg1);
}
void kde_KFileDetailView_insertItem( kde_KFileDetailView* instPointer,kde_KFileItem* i){
	((KFileDetailViewBridge*)instPointer)->insertItem((KFileItem*)i);
	return;
}
void kde_KFileDetailView_setSorting( kde_KFileDetailView* instPointer,int arg1){
	((KFileDetailViewBridge*)instPointer)->setSorting((QDir::SortSpec)arg1);
	return;
}
void kde_KFileDetailView_ensureItemVisible( kde_KFileDetailView* instPointer,kde_KFileItem* arg1){
	((KFileDetailViewBridge*)instPointer)->ensureItemVisible((KFileItem*)arg1);
	return;
}
void kde_KFileDetailView_mimeTypeDeterminationFinished( kde_KFileDetailView* instPointer){
	((KFileDetailViewBridge*)instPointer)->mimeTypeDeterminationFinished();
	return;
}
void kde_KFileDetailView_determineIcon( kde_KFileDetailView* instPointer,kde_KFileListViewItem* item){
	((KFileDetailViewBridge*)instPointer)->determineIcon((KFileListViewItem*)item);
	return;
}
qt_QScrollView* kde_KFileDetailView_scrollWidget( kde_KFileDetailView* instPointer){
	return (qt_QScrollView*) ((KFileDetailViewBridge*)instPointer)->scrollWidget();
}
void kde_KFileDetailView_slotSelectionChanged( kde_KFileDetailView* instPointer){
	((KFileDetailViewBridge*)instPointer)->protected_slotSelectionChanged();
	return;
}
kde_KFileView* kde_KFileDetailView_KFileView(kde_KFileDetailView* instPointer){
	return (kde_KFileView*) (KFileView *) (KFileDetailView *) instPointer;
}
kde_KListView* kde_KFileDetailView_KListView(kde_KFileDetailView* instPointer){
	return (kde_KListView*) (KListView *) (KFileDetailView *) instPointer;
}
