/***************************************************************************
                            kde_KShortcut.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_KShortcut.h"
}

#include <kshortcut.h>

class KShortcutBridge : public KShortcut
{
public:
	KShortcutBridge() : KShortcut() {}
	KShortcutBridge(int keyQt) : KShortcut(keyQt) {}
	KShortcutBridge(const QKeySequence& arg1) : KShortcut(arg1) {}
	KShortcutBridge(const KKey& arg1) : KShortcut(arg1) {}
	KShortcutBridge(const KKeySequence& arg1) : KShortcut(arg1) {}
	KShortcutBridge(const KShortcut& arg1) : KShortcut(arg1) {}
	KShortcutBridge(const char* arg1) : KShortcut(arg1) {}
	KShortcutBridge(const QString& arg1) : KShortcut(arg1) {}
	~KShortcutBridge() {}
};

kde_KShortcut * kde_new_KShortcut(){
	return (kde_KShortcut *) new KShortcutBridge();
}
kde_KShortcut * kde_new_KShortcut1(int keyQt){
	return (kde_KShortcut *) new KShortcutBridge((int)keyQt);
}
kde_KShortcut * kde_new_KShortcut2(qt_QKeySequence* arg1){
	return (kde_KShortcut *) new KShortcutBridge((QKeySequence&)* (QKeySequence*)arg1);
}
kde_KShortcut * kde_new_KShortcut3(kde_KKey* arg1){
	return (kde_KShortcut *) new KShortcutBridge((KKey&)* (KKey*)arg1);
}
kde_KShortcut * kde_new_KShortcut4(kde_KKeySequence* arg1){
	return (kde_KShortcut *) new KShortcutBridge((KKeySequence&)* (KKeySequence*)arg1);
}
kde_KShortcut * kde_new_KShortcut5(kde_KShortcut* arg1){
	return (kde_KShortcut *) new KShortcutBridge((KShortcut&)* (KShortcut*)arg1);
}
kde_KShortcut * kde_new_KShortcut6(char* arg1){
	return (kde_KShortcut *) new KShortcutBridge((char*)arg1);
}
kde_KShortcut * kde_new_KShortcut7(qt_QString * arg1){
	return (kde_KShortcut *) new KShortcutBridge((QString&)* (QString*)arg1);
}
void kde_del_KShortcut( kde_KShortcut* p ){
	delete (KShortcutBridge*) p;
}
void kde_KShortcut_clear( kde_KShortcut* instPointer){
	((KShortcutBridge*)instPointer)->clear();
	return;
}
int kde_KShortcut_init( kde_KShortcut* instPointer,int keyQt){
	return (int) ((KShortcutBridge*)instPointer)->init((int)keyQt);
}
int kde_KShortcut_init1( kde_KShortcut* instPointer,qt_QKeySequence* arg1){
	return (int) ((KShortcutBridge*)instPointer)->init((QKeySequence&)* (QKeySequence*)arg1);
}
int kde_KShortcut_init2( kde_KShortcut* instPointer,kde_KKey* arg1){
	return (int) ((KShortcutBridge*)instPointer)->init((KKey&)* (KKey*)arg1);
}
int kde_KShortcut_init3( kde_KShortcut* instPointer,kde_KKeySequence* arg1){
	return (int) ((KShortcutBridge*)instPointer)->init((KKeySequence&)* (KKeySequence*)arg1);
}
int kde_KShortcut_init4( kde_KShortcut* instPointer,kde_KShortcut* arg1){
	return (int) ((KShortcutBridge*)instPointer)->init((KShortcut&)* (KShortcut*)arg1);
}
int kde_KShortcut_init5( kde_KShortcut* instPointer,qt_QString * arg1){
	return (int) ((KShortcutBridge*)instPointer)->init((QString&)* (QString*)arg1);
}
unsigned int kde_KShortcut_count( kde_KShortcut* instPointer){
	return (unsigned int) ((KShortcutBridge*)instPointer)->count();
}
kde_KKeySequence* kde_KShortcut_seq( kde_KShortcut* instPointer,unsigned int i){
	return (kde_KKeySequence*) (const KKeySequence *)&((KShortcutBridge*)instPointer)->seq((uint)i);
}
int kde_KShortcut_keyCodeQt( kde_KShortcut* instPointer){
	return (int) ((KShortcutBridge*)instPointer)->keyCodeQt();
}
int kde_KShortcut_isNull( kde_KShortcut* instPointer){
	return (int) ((KShortcutBridge*)instPointer)->isNull();
}
int kde_KShortcut_compare( kde_KShortcut* instPointer,kde_KShortcut* arg1){
	return (int) ((KShortcutBridge*)instPointer)->compare((KShortcut&)* (KShortcut*)arg1);
}
int kde_KShortcut_contains( kde_KShortcut* instPointer,kde_KKey* arg1){
	return (int) ((KShortcutBridge*)instPointer)->contains((KKey&)* (KKey*)arg1);
}
int kde_KShortcut_contains1( kde_KShortcut* instPointer,kde_KKeyNative* arg1){
	return (int) ((KShortcutBridge*)instPointer)->contains((KKeyNative&)* (KKeyNative*)arg1);
}
int kde_KShortcut_contains2( kde_KShortcut* instPointer,kde_KKeySequence* arg1){
	return (int) ((KShortcutBridge*)instPointer)->contains((KKeySequence&)* (KKeySequence*)arg1);
}
int kde_KShortcut_setSeq( kde_KShortcut* instPointer,unsigned int i, kde_KKeySequence* arg1){
	return (int) ((KShortcutBridge*)instPointer)->setSeq((uint)i, (KKeySequence&)* (KKeySequence*)arg1);
}
int kde_KShortcut_append( kde_KShortcut* instPointer,kde_KKeySequence* arg1){
	return (int) ((KShortcutBridge*)instPointer)->append((KKeySequence&)* (KKeySequence*)arg1);
}
qt_QString * kde_KShortcut_toString( kde_KShortcut* instPointer){
	return (qt_QString *)new QString(((KShortcutBridge*)instPointer)->toString());
}
qt_QString * kde_KShortcut_toStringInternal( kde_KShortcut* instPointer,kde_KShortcut* pcutDefault){
	return (qt_QString *)new QString(((KShortcutBridge*)instPointer)->toStringInternal((KShortcut*)pcutDefault));
}
kde_KShortcut* kde_KShortcut_null( ){
	return (kde_KShortcut*) ( KShortcut *)&KShortcutBridge::null();
}
