~ubuntu-branches/ubuntu/wily/ktexteditor/wily-proposed

« back to all changes in this revision

Viewing changes to src/script/katescriptmanager.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Jonathan Riddell, Scarlett Clark
  • Date: 2014-09-22 19:37:47 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140922193747-6vhh92mz3ci4fxu1
Tags: 5.2.0-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Use pkg-kde-tools version 3 scripts

[ Scarlett Clark ]
* Add missing dependency libqt5xmlpatterns5-dev.
* Cleanup copyright + move copyright extra details to comment to silence
  space-in-std-shortname-in-dep5-copyright lintian error.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    //
97
97
public:
98
98
    /**
99
 
     * Find all of the scripts matching the wildcard \p directory. The resource file
100
 
     * with the name \p resourceFile is used for caching. If \p force is true, then the
101
 
     * cache will not be used. This populates the internal lists of scripts.
102
 
     * This is automatically called by init so you shouldn't call it yourself unless
103
 
     * you want to refresh the collected list.
 
99
     * Collect all scripts.
104
100
     */
105
 
    void collect(bool force = false);
106
 
 
107
 
    /**
108
 
     * Extract the meta data from the script at \p url and put in \p pairs.
109
 
     * Returns true if metadata was found and extracted successfuly, false otherwise.
110
 
    */
111
 
    static bool parseMetaInformation(const QString &url, QHash<QString, QString> &pairs);
 
101
    void collect();
112
102
 
113
103
public:
114
104
    KateIndentScript *indentationScript(const QString &scriptname)