/***************************************************************************
                            kde_WindowArgs.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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 "kde_WindowArgs.h"
}

#include <kparts/browserextension.h>

class WindowArgsBridge : public KParts::WindowArgs
{
public:
	WindowArgsBridge() : WindowArgs() {}
	WindowArgsBridge(const WindowArgs& args) : WindowArgs(args) {}
	WindowArgsBridge(const QRect& _geometry, bool _fullscreen, bool _menuBarVisible, bool _toolBarsVisible, bool _statusBarVisible, bool _resizable) : WindowArgs(_geometry, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable) {}
	WindowArgsBridge(int _x, int _y, int _width, int _height, bool _fullscreen, bool _menuBarVisible, bool _toolBarsVisible, bool _statusBarVisible, bool _resizable) : WindowArgs(_x, _y, _width, _height, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable) {}
};

kde_WindowArgs * kde_new_WindowArgs(){
	return (kde_WindowArgs *) new WindowArgsBridge();
}
kde_WindowArgs * kde_new_WindowArgs1(kde_WindowArgs* args){
	return (kde_WindowArgs *) new WindowArgsBridge((KParts::WindowArgs&)* (KParts::WindowArgs*)args);
}
kde_WindowArgs * kde_new_WindowArgs2(qt_QRect* _geometry, int _fullscreen, int _menuBarVisible, int _toolBarsVisible, int _statusBarVisible, int _resizable){
	return (kde_WindowArgs *) new WindowArgsBridge((QRect&)* (QRect*)_geometry, (bool)_fullscreen, (bool)_menuBarVisible, (bool)_toolBarsVisible, (bool)_statusBarVisible, (bool)_resizable);
}
kde_WindowArgs * kde_new_WindowArgs3(int _x, int _y, int _width, int _height, int _fullscreen, int _menuBarVisible, int _toolBarsVisible, int _statusBarVisible, int _resizable){
	return (kde_WindowArgs *) new WindowArgsBridge((int)_x, (int)_y, (int)_width, (int)_height, (bool)_fullscreen, (bool)_menuBarVisible, (bool)_toolBarsVisible, (bool)_statusBarVisible, (bool)_resizable);
}
