summaryrefslogtreecommitdiffstats
path: root/tdelirc/kcmlirc/editaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdelirc/kcmlirc/editaction.h')
-rw-r--r--tdelirc/kcmlirc/editaction.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/tdelirc/kcmlirc/editaction.h b/tdelirc/kcmlirc/editaction.h
new file mode 100644
index 0000000..8b19b6a
--- /dev/null
+++ b/tdelirc/kcmlirc/editaction.h
@@ -0,0 +1,56 @@
+//
+//
+// 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 <tqstring.h>
+
+#include "iractions.h"
+#include "editactionbase.h"
+#include "arguments.h"
+
+/**
+@author Gav Wood
+*/
+
+class EditAction : public EditActionBase
+{
+ Q_OBJECT
+
+ IRAIt theAction;
+ TQMap<TQString, TQString> applicationMap, functionMap;
+ TQMap<TQString, TQString> nameProgramMap;
+ TQMap<TQString, bool> uniqueProgramMap;
+ Arguments arguments;
+ TQString 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, TQWidget *parent = 0, const char *name = 0);
+ ~EditAction();
+};
+
+#endif