/***************************************************************************
                            kde_KDataToolAction.h -  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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KDATATOOLACTION
#define KDE_KDATATOOLACTION

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 This class helps applications implement support for KDataTool.
 The steps to follow are simple:
 1) query for the available tools using KDataToolInfo::query
 2) pass the result to KDataToolAction::dataToolActionList (with a slot)
 3) plug the resulting actions, either using KXMLGUIClient::plugActionList, or by hand.

 The slot defined for step 2 is called when the action is activated, and
 that's where the tool should be created and run.
 
 @short 
 This class helps applications implement support for KDataTool.
*/
kde_KDataToolAction * kde_new_KDataToolAction(qt_QString * text, kde_KDataToolInfo* info, qt_QString * command, qt_QObject * parent, char* name);
void kde_KDataToolAction_slotActivated(kde_KDataToolAction* instPointer);

#endif
