summaryrefslogtreecommitdiffstats
path: root/kdelirc/kcmlirc/editaction.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit2bda8f7717adf28da4af0d34fb82f63d2868c31d (patch)
tree8d927b7b47a90c4adb646482a52613f58acd6f8c /kdelirc/kcmlirc/editaction.h
downloadtdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.tar.gz
tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdelirc/kcmlirc/editaction.h')
-rw-r--r--kdelirc/kcmlirc/editaction.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/kdelirc/kcmlirc/editaction.h b/kdelirc/kcmlirc/editaction.h
new file mode 100644
index 0000000..1a7aa00
--- /dev/null
+++ b/kdelirc/kcmlirc/editaction.h
@@ -0,0 +1,55 @@
+//
+//
+// 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