summaryrefslogtreecommitdiffstats
path: root/kommander/plugin/specials.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
commite9ae80694875f869892f13f4fcaf1170a00dea41 (patch)
treeaa2f8d8a217e2d376224c8d46b7397b68d35de2d /kommander/plugin/specials.h
downloadtdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz
tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.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/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/plugin/specials.h')
-rw-r--r--kommander/plugin/specials.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/kommander/plugin/specials.h b/kommander/plugin/specials.h
new file mode 100644
index 00000000..2d46200a
--- /dev/null
+++ b/kommander/plugin/specials.h
@@ -0,0 +1,77 @@
+/***************************************************************************
+ specials.h - known specials and DCOP calls
+ -------------------
+ copyright : (C) 2004 by Michal Rudolf <mrudolf@kdewebdev.org>
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef _HAVE_SPECIALS_H_
+#define _HAVE_SPECIALS_H_
+
+/** This file contains the global Kommander defined. In case a new Group, method, etc. is
+added it MUST be added to the end of the enum lists in order to keep compatibility with the
+existing plugins. */
+
+
+namespace Group
+{
+ enum {DCOP, Kommander, String, Array, File, Input, Message, Slots, Matrix};
+}
+
+namespace DCOP
+{
+ enum {addUniqueItem, associatedText, cancel, cellText, clear, checked, children, columnCount, count, currentColumn,
+ currentItem, currentRow, execute, findItem, global, insertColumn, insertItem, insertItems, insertRow,
+ item, itemDepth, itemPath, removeColumn, removeItem, removeRow, selection, setAssociatedText, setChecked,
+ setCellText, setCurrentItem, insertTab, setColumnCaption, setEnabled, setGlobal, setMaximum, setPixmap,
+ setRowCaption, setSelection, setText, getBackgroundColor, setBackgroundColor,
+ setVisible, text, type, setCellWidget, cellWidget, setEditable, geometry, hasFocus, isModified};
+}
+
+namespace Kommander
+{
+ enum {widgetText, selectedWidgetText, null, pid, dcopid, parentPid, debug,
+ echo, env, exec, expr, global, i18n, dialog, readSetting, setGlobal, writeSetting, dcop,
+ switchBlock, execBegin, forBlock, forEachBlock, ifBlock, comment, createWidget, connect, disconnect, widgetExists, exit, Break, Continue, Return, execBackground, switchInternal}; //, focusWidget};
+}
+
+namespace Array
+{
+ enum {values, keys, clear, count, value, remove, setValue, fromString, toString, indexedFromString, indexedToString, indexedRemoveElements, indexedInsertElements, flipCopy};
+}
+
+namespace Matrix
+{
+ enum {fromString, toString, clear, rows, columns, rowToArray, columnToArray, columnToIndexedArray, rowKeys, columnKeys, addRow, removeRow, removeColumn, findRow};
+}
+
+namespace String
+{
+ enum {length, contains, find, findRev, left, right, mid, remove, replace, upper, lower,
+ compare, isEmpty, isNumber, section, args, toInt, toDouble, round, sort, trim, padLeft, padRight, count};
+}
+
+namespace File
+{
+ enum {read, write, append, exists};
+}
+
+namespace Input
+{
+ enum {color, text, password, value, valueDouble, openfile, openfiles, savefile, directory};
+}
+
+namespace Message
+{
+ enum {info, error, question, warning};
+}
+
+#endif