summaryrefslogtreecommitdiffstats
path: root/kommander/plugin/specials.h
blob: 2d46200a1a2f4d051e5a06a2d681ae064a048b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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