/***************************************************************************
                            QListViewItem.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QLISTVIEWITEM_H
#define QLISTVIEWITEM_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/Qt.h>

@class QListView;
@class QFontMetrics;
@class QPixmap;
@class QPainter;
@class QPoint;
@class QColorGroup;
@class QRect;

@class QDropEvent; 
@class QMimeSource; 

@interface QListViewItem : Qt 
- initWithListView: (QListView *)parent;
- copyWithZone: (NSZone *) zone;
- initWithListView: (QListView *)parent after: (QListViewItem *)after;
- initWithListViewItem: (QListViewItem *)parent after: (QListViewItem *)after;
- initWithListView: (QListView *)parent string: (NSString *)arg1 string: (NSString *)arg2 string: (NSString *)arg3 string: (NSString *)arg4 string: (NSString *)arg5 string: (NSString *)arg6 string: (NSString *)arg7 string: (NSString *)arg8;
- initWithListView: (QListView *)parent string: (NSString *)arg1 ;
- initWithListViewItem: (QListViewItem *)parent string: (NSString *)arg1 string: (NSString *)arg2 string: (NSString *)arg3 string: (NSString *)arg4 string: (NSString *)arg5 string: (NSString *)arg6 string: (NSString *)arg7 string: (NSString *)arg8;
- initWithListViewItem: (QListViewItem *)parent string: (NSString *)arg1 ;
- initWithListView: (QListView *)parent after: (QListViewItem *)after string: (NSString *)arg1 string: (NSString *)arg2 string: (NSString *)arg3 string: (NSString *)arg4 string: (NSString *)arg5 string: (NSString *)arg6 string: (NSString *)arg7 string: (NSString *)arg8;
- initWithListView: (QListView *)parent after: (QListViewItem *)after string: (NSString *)arg1 ;
- initWithListViewItem: (QListViewItem *)parent after: (QListViewItem *)after string: (NSString *)arg1 string: (NSString *)arg2 string: (NSString *)arg3 string: (NSString *)arg4 string: (NSString *)arg5 string: (NSString *)arg6 string: (NSString *)arg7 string: (NSString *)arg8;
- initWithListViewItem: (QListViewItem *)parent after: (QListViewItem *)after string: (NSString *)arg1 ;
- (void) dealloc;
- insertListViewItem: (QListViewItem *)arg1;
- takeItem: (QListViewItem *)arg1;
- removeListViewItem: (QListViewItem *)item;
- (int) height;
- invalidateHeight;
- (int) totalHeight;
- (int) width: (QFontMetrics *)arg1 listview: (QListView *)arg2 column: (int)column;
- widthChanged: (int)column;
- widthChanged;
- (int) depth;
- setText: (int)arg1 string: (NSString *)arg2;
- (NSString *) text: (int)arg1;
- setPixmap: (int)arg1 pixmap: (QPixmap *)arg2;
- (QPixmap*) pixmap: (int)arg1;
- (NSString *) key: (int)arg1 bool: (BOOL)arg2;
- (int) compare: (QListViewItem *)i col: (int)col bool: (BOOL)arg1;
- sortChildItems: (int)arg1 bool: (BOOL)arg2;
- (int) childCount;
- (BOOL) isOpen;
- setOpen: (BOOL)arg1;
- setup;
- setSelected: (BOOL)arg1;
- (BOOL) isSelected;
- paintCell: (QPainter *)arg1 cg: (QColorGroup *)cg column: (int)column width: (int)width alignment: (int)alignment;
- paintBranches: (QPainter *)p cg: (QColorGroup *)cg w: (int)w y: (int)y h: (int)h;
- paintFocus: (QPainter *)arg1 cg: (QColorGroup *)cg r: (QRect*)r;
- (QListViewItem*) firstChild;
- (QListViewItem*) nextSibling;
- (QListViewItem*) parent;
- (QListViewItem*) itemAbove;
- (QListViewItem*) itemBelow;
- (int) itemPos;
- (QListView*) listView;
- setSelectable: (BOOL)enable;
- (BOOL) isSelectable;
- setExpandable: (BOOL)arg1;
- (BOOL) isExpandable;
- repaint;
- sort;
- moveItem: (QListViewItem *)after;
- setDragEnabled: (BOOL)allow;
- setDropEnabled: (BOOL)allow;
- (BOOL) dragEnabled;
- (BOOL) dropEnabled;
- (BOOL) acceptDrop: (QMimeSource*)mime;
- setVisible: (BOOL)b;
- (BOOL) isVisible;
- setRenameEnabled: (int)col b: (BOOL)b;
- (BOOL) renameEnabled: (int)col;
- startRename: (int)col;
- setEnabled: (BOOL)b;
- (BOOL) isEnabled;
- (int) rtti;
- setMultiLinesEnabled: (BOOL)b;
- (BOOL) multiLinesEnabled;
- enforceSortOrder;
- setHeight: (int)arg1;
- activate;
- (BOOL) activatedPos: (QPoint*)arg1;
- dropped: (QDropEvent*)e;
- dragEntered;
- dragLeft;
- okRename: (int)col;
- cancelRename: (int)col;
- ignoreDoubleClick;
@end

#endif
