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.
57 lines
1.1 KiB
57 lines
1.1 KiB
15 years ago
|
//
|
||
|
//
|
||
|
// 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
|
||
|
|
||
15 years ago
|
#include <tqstring.h>
|
||
15 years ago
|
|
||
|
#include "iractions.h"
|
||
|
#include "editactionbase.h"
|
||
|
#include "arguments.h"
|
||
|
|
||
|
/**
|
||
|
@author Gav Wood
|
||
|
*/
|
||
|
|
||
|
class EditAction : public EditActionBase
|
||
|
{
|
||
|
Q_OBJECT
|
||
13 years ago
|
|
||
15 years ago
|
IRAIt theAction;
|
||
15 years ago
|
TQMap<TQString, TQString> applicationMap, functionMap;
|
||
|
TQMap<TQString, TQString> nameProgramMap;
|
||
|
TQMap<TQString, bool> uniqueProgramMap;
|
||
15 years ago
|
Arguments arguments;
|
||
15 years ago
|
TQString program;
|
||
15 years ago
|
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();
|
||
|
|
||
13 years ago
|
EditAction(IRAIt action, TQWidget *parent = 0, const char *name = 0);
|
||
15 years ago
|
~EditAction();
|
||
|
};
|
||
|
|
||
|
#endif
|