/***************************************************************************
                            qt_QListBoxItem.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, 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 "qt_QListBoxItem.h"
}

#include <qlistbox.h>

void qt_del_QListBoxItem( qt_QListBoxItem* p ){
	delete (QListBoxItem*) p;
}
qt_QString * qt_QListBoxItem_text( qt_QListBoxItem* instPointer){
	return (qt_QString *)new QString(((QListBoxItem*)instPointer)->text());
}
qt_QPixmap * qt_QListBoxItem_pixmap( qt_QListBoxItem* instPointer){
	return (qt_QPixmap *) ((QListBoxItem*)instPointer)->pixmap();
}
int qt_QListBoxItem_height( qt_QListBoxItem* instPointer,qt_QListBox * arg1){
	return (int) ((QListBoxItem*)instPointer)->height((QListBox*)arg1);
}
int qt_QListBoxItem_width( qt_QListBoxItem* instPointer,qt_QListBox * arg1){
	return (int) ((QListBoxItem*)instPointer)->width((QListBox*)arg1);
}
int qt_QListBoxItem_isSelected( qt_QListBoxItem* instPointer){
	return (int) ((QListBoxItem*)instPointer)->isSelected();
}
int qt_QListBoxItem_isCurrent( qt_QListBoxItem* instPointer){
	return (int) ((QListBoxItem*)instPointer)->isCurrent();
}
int qt_QListBoxItem_selected( qt_QListBoxItem* instPointer){
	return (int) ((QListBoxItem*)instPointer)->selected();
}
int qt_QListBoxItem_current( qt_QListBoxItem* instPointer){
	return (int) ((QListBoxItem*)instPointer)->current();
}
qt_QListBox * qt_QListBoxItem_listBox( qt_QListBoxItem* instPointer){
	return (qt_QListBox *) ((QListBoxItem*)instPointer)->listBox();
}
void qt_QListBoxItem_setSelectable( qt_QListBoxItem* instPointer,int b){
	((QListBoxItem*)instPointer)->setSelectable((bool)b);
	return;
}
int qt_QListBoxItem_isSelectable( qt_QListBoxItem* instPointer){
	return (int) ((QListBoxItem*)instPointer)->isSelectable();
}
qt_QListBoxItem * qt_QListBoxItem_next( qt_QListBoxItem* instPointer){
	return (qt_QListBoxItem *) ((QListBoxItem*)instPointer)->next();
}
qt_QListBoxItem * qt_QListBoxItem_prev( qt_QListBoxItem* instPointer){
	return (qt_QListBoxItem *) ((QListBoxItem*)instPointer)->prev();
}
int qt_QListBoxItem_rtti( qt_QListBoxItem* instPointer){
	return (int) ((QListBoxItem*)instPointer)->rtti();
}
