/***************************************************************************
                            KAction.m -  description
                             -------------------
    begin                : Fri Mar  8 13:55:08 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Fri Mar  8 13:55:08 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.                       *
 *                                                                         *
 ***************************************************************************/

#include <qtc/qt_QString.h>
#include <qtc/qt_QCString.h>
#include <kdec/kde_KAction.h>
#include <kdec/kde_KShortcut.h>
#include <kdeobjc/KDESupport.h>
#include <kdeobjc/KAction.h>
#include <kdeobjc/KActionCollection.h>
#include <kdeobjc/KGuiItem.h>
#include <kdeobjc/KShortcut.h>
#include <qtobjc/QPopupMenu.h>

#include <qtobjc/QKeySequence.h>

#include <kdeobjc/KAccel.h>
#include <qtobjc/QIconSet.h>
#include <qtobjc/QWidget.h>


@implementation  KAction


- initWithText: (NSString *)text cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (KActionCollection*)parent name: (NSString *)name
{
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction((qt_QString *) [text toQString: &_qstring_text], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (kde_KActionCollection*) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithText: (NSString *)text pixmap: (QIconSet*)pix cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (KActionCollection*)parent name: (NSString *)name
{
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction1((qt_QString *) [text toQString: &_qstring_text], (qt_QIconSet*) [pix qt], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (kde_KActionCollection*) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithText: (NSString *)text pixmapFor: (NSString *)pix cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (KActionCollection*)parent name: (NSString *)name
{
static qt_QString * _qstring_pix = 0L;
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction2((qt_QString *) [text toQString: &_qstring_text], (qt_QString *) [pix toQString: &_qstring_pix], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (kde_KActionCollection*) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithGuiItem: (KGuiItem*)item cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (KActionCollection*)parent name: (NSString *)name
{
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction3((kde_KGuiItem*) [item qt], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (kde_KActionCollection*) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithText: (NSString *)text cut: (KShortcut*)cut parent: (QObject *)parent name: (NSString *)name
{
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction4((qt_QString *) [text toQString: &_qstring_text], (kde_KShortcut*) [cut qt], (qt_QObject *) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

//- initWithText: (NSString *)text
//{
//static qt_QString * _qstring_text = 0L;
//	if ([self qt] == 0L) {
//		[self setQt: kde_new_KAction4((qt_QString *) [text toQString: &_qstring_text], kde_new_KShortcut(), 0, 0)];
//		[self setAllocatedInObjcWorld: YES];
//		[QtSupport setObject: self forQtKey: [self qt]];
//	}
//	[super init];
//	return self;
//}

//- initWithText: (NSString *)text cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (QObject *)parent name: (NSString *)name
//{
//static qt_QString * _qstring_text = 0L;
//	if ([self qt] == 0L) {
//		[self setQt: kde_new_KAction5((qt_QString *) [text toQString: &_qstring_text], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (qt_QObject *) [parent qt], (char*) [name cString])];
//		[self setAllocatedInObjcWorld: YES];
//		[QtSupport setObject: self forQtKey: [self qt]];
//	}
//	[super init];
//	return self;
//}

- initWithText: (NSString *)text cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (QObject *)parent 
{
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction5((qt_QString *) [text toQString: &_qstring_text], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (qt_QObject *) [parent qt], 0)];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithText: (NSString *)text pixmap: (QIconSet*)pix cut: (KShortcut*)cut parent: (QObject *)parent name: (NSString *)name
{
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction6((qt_QString *) [text toQString: &_qstring_text], (qt_QIconSet*) [pix qt], (kde_KShortcut*) [cut qt], (qt_QObject *) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithText: (NSString *)text pixmap: (QIconSet*)pix
{
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction6((qt_QString *) [text toQString: &_qstring_text], (qt_QIconSet*) [pix qt], kde_new_KShortcut(), 0, 0)];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithText: (NSString *)text pixmapFor: (NSString *)pix cut: (KShortcut*)cut parent: (QObject *)parent name: (NSString *)name
{
static qt_QString * _qstring_pix = 0L;
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction7((qt_QString *) [text toQString: &_qstring_text], (qt_QString *) [pix toQString: &_qstring_pix], (kde_KShortcut*) [cut qt], (qt_QObject *) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithText: (NSString *)text pixmapFor: (NSString *)pix 
{
static qt_QString * _qstring_pix = 0L;
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction7((qt_QString *) [text toQString: &_qstring_text], (qt_QString *) [pix toQString: &_qstring_pix], kde_new_KShortcut(), 0, 0)];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

//- initWithText: (NSString *)text pixmap: (QIconSet*)pix cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (QObject *)parent name: (NSString *)name
//{
//static qt_QString * _qstring_text = 0L;
//	if ([self qt] == 0L) {
//		[self setQt: kde_new_KAction8((qt_QString *) [text toQString: &_qstring_text], (qt_QIconSet*) [pix qt], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (qt_QObject *) [parent qt], (char*) [name cString])];
//		[self setAllocatedInObjcWorld: YES];
//		[QtSupport setObject: self forQtKey: [self qt]];
//	}
//	[super init];
//	return self;
//}

- initWithText: (NSString *)text pixmap: (QIconSet*)pix cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (QObject *)parent 
{
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction8((qt_QString *) [text toQString: &_qstring_text], (qt_QIconSet*) [pix qt], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (qt_QObject *) [parent qt], 0)];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

//- initWithText: (NSString *)text pixmapFor: (NSString *)pix cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (QObject *)parent name: (NSString *)name
//{
//static qt_QString * _qstring_pix = 0L;
//static qt_QString * _qstring_text = 0L;
//	if ([self qt] == 0L) {
//		[self setQt: kde_new_KAction9((qt_QString *) [text toQString: &_qstring_text], (qt_QString *) [pix toQString: &_qstring_pix], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (qt_QObject *) [parent qt], (char*) [name cString])];
//		[self setAllocatedInObjcWorld: YES];
//		[QtSupport setObject: self forQtKey: [self qt]];
//	}
//	[super init];
//	return self;
//}

- initWithText: (NSString *)text pixmapFor: (NSString *)pix cut: (KShortcut*)cut receiver: (QObject *)receiver slot: (NSString *)slot parent: (QObject *)parent 
{
static qt_QString * _qstring_pix = 0L;
static qt_QString * _qstring_text = 0L;
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction9((qt_QString *) [text toQString: &_qstring_text], (qt_QString *) [pix toQString: &_qstring_pix], (kde_KShortcut*) [cut qt], (qt_QObject *) [receiver qt], (char*) [slot cString], (qt_QObject *) [parent qt], 0)];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- initWithObject: (QObject *)parent name: (NSString *)name
{
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction10((qt_QObject *) [parent qt], (char*) [name cString])];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- init
{
	if ([self qt] == 0L) {
		[self setQt: kde_new_KAction10(0, 0)];
		[self setAllocatedInObjcWorld: YES];
		[QtSupport setObject: self forQtKey: [self qt]];
	}
	[super init];
	return self;
}

- (void) dealloc
{
	if ([self qt] != 0L) {
		if ([self allocatedInObjcWorld] && [self parent] == nil) {
			kde_del_KAction((kde_KAction *)[self qt]);
		}
		[QtSupport removeQtKey: [self qt]];
		[self setQt: 0L];
	}
	[super dealloc];
}

- (int) plug: (QWidget *)w index: (int)index
{
	return (int) kde_KAction_plug((kde_KAction *)[self qt], (qt_QWidget *) [w qt], (int)index);
}

- (int) plug: (QWidget *)w 
{
	return (int) kde_KAction_plug((kde_KAction *)[self qt], (qt_QWidget *) [w qt], -1);
}

- plugAccel: (KAccel*)accel configurable: (BOOL)configurable
{
	kde_KAction_plugAccel((kde_KAction *)[self qt], (kde_KAccel*) [accel qt], (int)configurable);
	return self;
}

- plugAccel: (KAccel*)accel 
{
	kde_KAction_plugAccel((kde_KAction *)[self qt], (kde_KAccel*) [accel qt], 1);
	return self;
}

- unplug: (QWidget *)w
{
	kde_KAction_unplug((kde_KAction *)[self qt], (qt_QWidget *) [w qt]);
	return self;
}

- unplugAccel
{
	kde_KAction_unplugAccel((kde_KAction *)[self qt]);
	return self;
}

- (BOOL) isPlugged
{
	return (BOOL) kde_KAction_isPlugged((kde_KAction *)[self qt]);
}

- (BOOL) isPlugged: (QWidget *)container identifier: (int)identifier
{
	return (BOOL) kde_KAction_isPlugged1((kde_KAction *)[self qt], (qt_QWidget *) [container qt], (int)identifier);
}

- (BOOL) isPlugged: (QWidget *)container _representative: (QWidget *)_representative
{
	return (BOOL) kde_KAction_isPlugged2((kde_KAction *)[self qt], (qt_QWidget *) [container qt], (qt_QWidget *) [_representative qt]);
}

- (QWidget*) container: (int)index
{
	return (QWidget*) [QtSupport objectForQtKey: kde_KAction_container((kde_KAction *)[self qt], (int)index) withClass: [QWidget class] allocatedInObjcWorld: YES];
}

- (int) itemId: (int)index
{
	return (int) kde_KAction_itemId((kde_KAction *)[self qt], (int)index);
}

- (QWidget*) representative: (int)index
{
	return (QWidget*) [QtSupport objectForQtKey: kde_KAction_representative((kde_KAction *)[self qt], (int)index) withClass: [QWidget class] allocatedInObjcWorld: YES];
}

- (int) containerCount
{
	return (int) kde_KAction_containerCount((kde_KAction *)[self qt]);
}

//- (QPixmap*) pixmap
//{
//	return (QPixmap*) [QtSupport objectForQtKey: kde_KAction_pixmap((kde_KAction *)[self qt]) withClass: [QPixmap class] allocatedInObjcWorld: YES];
//}

- (BOOL) hasIconSet
{
	return (BOOL) kde_KAction_hasIconSet((kde_KAction *)[self qt]);
}

- (NSString *) plainText
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_plainText((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (NSString *) text
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_text((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (KShortcut*) shortcut
{
	return (KShortcut*) [QtSupport objectForQtKey: kde_KAction_shortcut((kde_KAction *)[self qt]) withClass: [KShortcut class] allocatedInObjcWorld: YES];
}

- (KShortcut*) shortcutDefault
{
	return (KShortcut*) [QtSupport objectForQtKey: kde_KAction_shortcutDefault((kde_KAction *)[self qt]) withClass: [KShortcut class] allocatedInObjcWorld: YES];
}

- (NSString *) shortcutText
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_shortcutText((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- setShortcutText: (NSString *)arg1
{
static qt_QString * _qstring_arg1 = 0L;
	kde_KAction_setShortcutText((kde_KAction *)[self qt], (qt_QString *) [arg1 toQString: &_qstring_arg1]);
	return self;
}

- (BOOL) isEnabled
{
	return (BOOL) kde_KAction_isEnabled((kde_KAction *)[self qt]);
}

//- (BOOL) isConfigurable
//{
//	return (BOOL) kde_KAction_isConfigurable((kde_KAction *)[self qt]);
//}

- (NSString *) group
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_group((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (NSString *) whatsThis
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_whatsThis((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (NSString *) toolTip
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_toolTip((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (QIconSet*) iconSet
{
	return (QIconSet*) [QtSupport objectForQtKey: kde_KAction_iconSet((kde_KAction *)[self qt]) withClass: [QIconSet class] allocatedInObjcWorld: YES];
}

- (NSString *) icon
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_icon((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- (KActionCollection*) parentCollection
{
	return (KActionCollection*) [QtSupport objectForQtKey: kde_KAction_parentCollection((kde_KAction *)[self qt]) withClass: [KActionCollection class] allocatedInObjcWorld: YES];
}

- unplugAll
{
	kde_KAction_unplugAll((kde_KAction *)[self qt]);
	return self;
}

- (int) accel
{
	return (int) kde_KAction_accel((kde_KAction *)[self qt]);
}

- (NSString *) statusText
{
static qt_QString * _qstring = 0L;
	_qstring = kde_KAction_statusText((kde_KAction *)[self qt]);
	return [NSString fromQString: _qstring];
}

- setAccel: (int)key
{
	kde_KAction_setAccel((kde_KAction *)[self qt], (int)key);
	return self;
}

- setStatusText: (NSString *)text
{
static qt_QString * _qstring_text = 0L;
	kde_KAction_setStatusText((kde_KAction *)[self qt], (qt_QString *) [text toQString: &_qstring_text]);
	return self;
}

- (int) menuId: (int)i
{
	return (int) kde_KAction_menuId((kde_KAction *)[self qt], (int)i);
}

- setText: (NSString *)text
{
static qt_QString * _qstring_text = 0L;
	kde_KAction_setText((kde_KAction *)[self qt], (qt_QString *) [text toQString: &_qstring_text]);
	return self;
}

- setShortcut: (KShortcut*)arg1
{
	kde_KAction_setShortcut((kde_KAction *)[self qt], (kde_KShortcut*) [arg1 qt]);
	return self;
}

- setGroup: (NSString *)arg1
{
static qt_QString * _qstring_arg1 = 0L;
	kde_KAction_setGroup((kde_KAction *)[self qt], (qt_QString *) [arg1 toQString: &_qstring_arg1]);
	return self;
}

- setWhatsThis: (NSString *)text
{
static qt_QString * _qstring_text = 0L;
	kde_KAction_setWhatsThis((kde_KAction *)[self qt], (qt_QString *) [text toQString: &_qstring_text]);
	return self;
}

- setToolTip: (NSString *)arg1
{
static qt_QString * _qstring_arg1 = 0L;
	kde_KAction_setToolTip((kde_KAction *)[self qt], (qt_QString *) [arg1 toQString: &_qstring_arg1]);
	return self;
}

- setIconSet: (QIconSet*)iconSet
{
	kde_KAction_setIconSet((kde_KAction *)[self qt], (qt_QIconSet*) [iconSet qt]);
	return self;
}

- setIcon: (NSString *)icon
{
static qt_QString * _qstring_icon = 0L;
	kde_KAction_setIcon((kde_KAction *)[self qt], (qt_QString *) [icon toQString: &_qstring_icon]);
	return self;
}

- setEnabled: (BOOL)enable
{
	kde_KAction_setEnabled((kde_KAction *)[self qt], (int)enable);
	return self;
}

//- setConfigurable: (BOOL)arg1
//{
//	kde_KAction_setConfigurable((kde_KAction *)[self qt], (int)arg1);
//	return self;
//}

- activate
{
	kde_KAction_activate((kde_KAction *)[self qt]);
	return self;
}

+ (int) getToolButtonID
{
	return (int) kde_KAction_getToolButtonID();
}

- (KToolBar*) toolBar: (int)index
{
	return (KToolBar*) [QtSupport objectForQtKey: kde_KAction_toolBar((kde_KAction *)[self qt], (int)index) withClass: [KToolBar class] allocatedInObjcWorld: YES];
}

- (QPopupMenu*) popupMenu: (int)index
{
	return (QPopupMenu*) [QtSupport objectForQtKey: kde_KAction_popupMenu((kde_KAction *)[self qt], (int)index) withClass: [QPopupMenu class] allocatedInObjcWorld: YES];
}

- removeContainer: (int)index
{
	kde_KAction_removeContainer((kde_KAction *)[self qt], (int)index);
	return self;
}

- (int) findContainer: (QWidget *)widget
{
	return (int) kde_KAction_findContainer((kde_KAction *)[self qt], (qt_QWidget *) [widget qt]);
}

- plugMainWindowAccel: (QWidget *)w
{
	kde_KAction_plugMainWindowAccel((kde_KAction *)[self qt], (qt_QWidget *) [w qt]);
	return self;
}

- addContainer: (QWidget *)parent identifier: (int)identifier
{
	kde_KAction_addContainer((kde_KAction *)[self qt], (qt_QWidget *) [parent qt], (int)identifier);
	return self;
}

- addContainer: (QWidget *)parent representative: (QWidget *)representative
{
	kde_KAction_addContainer1((kde_KAction *)[self qt], (qt_QWidget *) [parent qt], (qt_QWidget *) [representative qt]);
	return self;
}

- setShortcutWithId: (int)i
{
	kde_KAction_setShortcut1((kde_KAction *)[self qt], (int)i);
	return self;
}

//- setShortcut: (QPopupMenu*)menu identifier: (int)identifier
//{
//	kde_KAction_setShortcut2((kde_KAction *)[self qt], (qt_QPopupMenu*) [menu qt], (int)identifier);
//	return self;
//}

//- setGroup: (int)identifier grp: (NSString *)grp
//{
//static qt_QString * _qstring_grp = 0L;
//	kde_KAction_setGroup1((kde_KAction *)[self qt], (int)identifier, (qt_QString *) [grp toQString: &_qstring_grp]);
//	return self;
//}

//- setText: (int)i text: (NSString *)text
//{
//static qt_QString * _qstring_text = 0L;
//	kde_KAction_setText1((kde_KAction *)[self qt], (int)i, (qt_QString *) [text toQString: &_qstring_text]);
//	return self;
//}

//- setEnabled: (int)i enable: (BOOL)enable
//{
//	kde_KAction_setEnabled1((kde_KAction *)[self qt], (int)i, (int)enable);
//	return self;
//}

//- setIconSet: (int)i iconSet: (QIconSet*)iconSet
//{
//	kde_KAction_setIconSet1((kde_KAction *)[self qt], (int)i, (qt_QIconSet*) [iconSet qt]);
//	return self;
//}

//- setIcon: (int)i icon: (NSString *)icon
//{
//static qt_QString * _qstring_icon = 0L;
//	kde_KAction_setIcon1((kde_KAction *)[self qt], (int)i, (qt_QString *) [icon toQString: &_qstring_icon]);
//	return self;
//}

//- setToolTip: (int)identifier tt: (NSString *)tt
//{
//static qt_QString * _qstring_tt = 0L;
//	kde_KAction_setToolTip1((kde_KAction *)[self qt], (int)identifier, (qt_QString *) [tt toQString: &_qstring_tt]);
//	return self;
//}

//- setWhatsThis: (int)i text: (NSString *)text
//{
//static qt_QString * _qstring_text = 0L;
//	kde_KAction_setWhatsThis1((kde_KAction *)[self qt], (int)i, (qt_QString *) [text toQString: &_qstring_text]);
//	return self;
//}

- slotDestroyed
{
	kde_KAction_slotDestroyed((kde_KAction *)[self qt]);
	return self;
}

- slotKeycodeChanged
{
	kde_KAction_slotKeycodeChanged((kde_KAction *)[self qt]);
	return self;
}

- slotActivated
{
	kde_KAction_slotActivated((kde_KAction *)[self qt]);
	return self;
}

@end
