You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.0 KiB
56 lines
1.0 KiB
//
|
|
//
|
|
// C++ Interface: $MODULE$
|
|
//
|
|
// Description:
|
|
//
|
|
//
|
|
// Author: Gav Wood <gav@kde.org>, (C) 2003
|
|
//
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
//
|
|
//
|
|
#ifndef EDITACTION_H
|
|
#define EDITACTION_H
|
|
|
|
#include <qstring.h>
|
|
|
|
#include "iractions.h"
|
|
#include "editactionbase.h"
|
|
#include "arguments.h"
|
|
|
|
/**
|
|
@author Gav Wood
|
|
*/
|
|
|
|
class EditAction : public EditActionBase
|
|
{
|
|
Q_OBJECT
|
|
IRAIt theAction;
|
|
QMap<QString, QString> applicationMap, functionMap;
|
|
QMap<QString, QString> nameProgramMap;
|
|
QMap<QString, bool> uniqueProgramMap;
|
|
Arguments arguments;
|
|
QString program;
|
|
bool isUnique;
|
|
|
|
public:
|
|
void writeBack();
|
|
void readFrom();
|
|
|
|
virtual void slotParameterChanged();
|
|
virtual void updateArgument(int index);
|
|
virtual void updateArguments();
|
|
virtual void updateApplications();
|
|
virtual void updateFunctions();
|
|
virtual void updateOptions();
|
|
virtual void updateDCOPApplications();
|
|
virtual void updateDCOPObjects();
|
|
virtual void updateDCOPFunctions();
|
|
|
|
EditAction(IRAIt action, QWidget *parent = 0, const char *name = 0);
|
|
~EditAction();
|
|
};
|
|
|
|
#endif
|