/***************************************************************************
                            qt_QInputDialog.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_QInputDialog.h"
}

#include <qinputdialog.h>

qt_QString * qt_QInputDialog_getText( qt_QString * caption, qt_QString * label, int echo, qt_QString * text, int* ok, qt_QWidget * parent, char* name){
	return (qt_QString *)new QString(QInputDialog::getText((QString&)* (QString*)caption, (QString&)* (QString*)label, (QLineEdit::EchoMode)echo, (QString&)* (QString*)text, (bool*)ok, (QWidget*)parent, (char*)name));
}
int qt_QInputDialog_getInteger( qt_QString * caption, qt_QString * label, int num, int from, int to, int step, int* ok, qt_QWidget * parent, char* name){
	return (int) QInputDialog::getInteger((QString&)* (QString*)caption, (QString&)* (QString*)label, (int)num, (int)from, (int)to, (int)step, (bool*)ok, (QWidget*)parent, (char*)name);
}
double qt_QInputDialog_getDouble( qt_QString * caption, qt_QString * label, double num, double from, double to, int decimals, int* ok, qt_QWidget * parent, char* name){
	return (double) QInputDialog::getDouble((QString&)* (QString*)caption, (QString&)* (QString*)label, (double)num, (double)from, (double)to, (int)decimals, (bool*)ok, (QWidget*)parent, (char*)name);
}
qt_QString * qt_QInputDialog_getItem( qt_QString * caption, qt_QString * label, qt_QStringList* list, int current, int editable, int* ok, qt_QWidget * parent, char* name){
	return (qt_QString *)new QString(QInputDialog::getItem((QString&)* (QString*)caption, (QString&)* (QString*)label, (QStringList&)* (QStringList*)list, (int)current, (bool)editable, (bool*)ok, (QWidget*)parent, (char*)name));
}
