~ubuntu-branches/ubuntu/karmic/rkward/karmic

« back to all changes in this revision

Viewing changes to rkward/misc/rkcommonfunctions.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2006-11-06 16:30:00 UTC
  • mfrom: (1.2.1 upstream) (3.1.1 feisty)
  • Revision ID: james.westby@ubuntu.com-20061106163000-qi8ju75eqecrfay7
* new upstream release
* depend on either php4-cli or php5-cli

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        void removeContainers (KXMLGUIClient *from, const QStringList &names, bool recursive);
35
35
/** move container (action, menu, etc.) with tagname "tagname" and attribute 'name="..."' to be a child node of the tag with tagname=tagname and attribute name=to_name. Can be used to make a top-level menu a sub-menu of another menu instead */
36
36
        void moveContainer (KXMLGUIClient *client, const QString &tagname, const QString &name, const QString &to_name, bool recursive);
 
37
 
 
38
/** given the context line, find what looks like an R symbol */
 
39
        QString getCurrentSymbol (const QString &context_line, int cursor_pos, bool strict=true);
 
40
/** like get current symbol, but merely returns the start and end position of the current symbol */
 
41
        void getCurrentSymbolOffset (const QString &context_line, int cursor_pos, bool strict, int *start, int *end);
37
42
};
38
43
 
39
44
#endif