/***************************************************************************
                            qt_QTableSelection.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_QTableSelection.h"
}

#include <qtable.h>

class QTableSelectionBridge : public QTableSelection
{
public:
	QTableSelectionBridge() : QTableSelection() {}
};

qt_QTableSelection * qt_new_QTableSelection(){
	return (qt_QTableSelection *) new QTableSelectionBridge();
}
void qt_QTableSelection_init( qt_QTableSelection* instPointer,int row, int col){
	((QTableSelectionBridge*)instPointer)->init((int)row, (int)col);
	return;
}
void qt_QTableSelection_expandTo( qt_QTableSelection* instPointer,int row, int col){
	((QTableSelectionBridge*)instPointer)->expandTo((int)row, (int)col);
	return;
}
int qt_QTableSelection_topRow( qt_QTableSelection* instPointer){
	return (int) ((QTableSelectionBridge*)instPointer)->topRow();
}
int qt_QTableSelection_bottomRow( qt_QTableSelection* instPointer){
	return (int) ((QTableSelectionBridge*)instPointer)->bottomRow();
}
int qt_QTableSelection_leftCol( qt_QTableSelection* instPointer){
	return (int) ((QTableSelectionBridge*)instPointer)->leftCol();
}
int qt_QTableSelection_rightCol( qt_QTableSelection* instPointer){
	return (int) ((QTableSelectionBridge*)instPointer)->rightCol();
}
int qt_QTableSelection_anchorRow( qt_QTableSelection* instPointer){
	return (int) ((QTableSelectionBridge*)instPointer)->anchorRow();
}
int qt_QTableSelection_anchorCol( qt_QTableSelection* instPointer){
	return (int) ((QTableSelectionBridge*)instPointer)->anchorCol();
}
int qt_QTableSelection_isActive( qt_QTableSelection* instPointer){
	return (int) ((QTableSelectionBridge*)instPointer)->isActive();
}
