/***************************************************************************
                            QTableItem.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 QTABLEITEM_H
#define QTABLEITEM_H

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

@class QTable;
@class QPixmap;
@class QSize;
@class QPainter;
@class QColorGroup;
@class QRect;
@class QWidget;

@interface QTableItem : Qt 
- initWithTable: (QTable*)table et: (int)et text: (NSString *)text;
- initWithTable: (QTable*)table et: (int)et text: (NSString *)text p: (QPixmap *)p;
- (void) dealloc;
- (QPixmap*) pixmap;
- (NSString *) text;
- setPixmap: (QPixmap *)p;
- setText: (NSString *)t;
- (QTable*) table;
- (int) alignment;
- setWordWrap: (BOOL)b;
- (BOOL) wordWrap;
- (int) editType;
- (QWidget*) createEditor;
- setContentFromEditor: (QWidget *)w;
- setReplaceable: (BOOL)arg1;
- (BOOL) isReplaceable;
- (NSString *) key;
- (QSize*) sizeHint;
- setSpan: (int)rs cs: (int)cs;
- (int) rowSpan;
- (int) colSpan;
- setRow: (int)r;
- setCol: (int)c;
- (int) row;
- (int) col;
- paint: (QPainter *)p cg: (QColorGroup *)cg cr: (QRect*)cr selected: (BOOL)selected;
- updateEditor: (int)oldRow oldCol: (int)oldCol;
- setEnabled: (BOOL)b;
- (BOOL) isEnabled;
- (int) rtti;
+ (int) Never;
+ (int) OnTyping;
+ (int) WhenCurrent;
+ (int) Always;
@end

#endif
