constification
svn path=/trunk/KDE/kdelibs/; revision=944561
This commit is contained in:
parent
b2bb1b569c
commit
d7fdb6deb1
@ -139,7 +139,7 @@ void AbstractRunner::addSyntax(const RunnerSyntax &syntax)
|
||||
d->syntaxes.append(syntax);
|
||||
}
|
||||
|
||||
void AbstractRunner::setSyntaxes(QList<RunnerSyntax> &syntaxes)
|
||||
void AbstractRunner::setSyntaxes(const QList<RunnerSyntax> &syntaxes)
|
||||
{
|
||||
d->syntaxes = syntaxes;
|
||||
}
|
||||
|
@ -369,7 +369,7 @@ class PLASMA_EXPORT AbstractRunner : public QObject
|
||||
* @param the syntaxes to register for this runner
|
||||
* @since 4.3
|
||||
*/
|
||||
void setSyntaxes(QList<RunnerSyntax> &syns);
|
||||
void setSyntaxes(const QList<RunnerSyntax> &syns);
|
||||
|
||||
protected Q_SLOTS:
|
||||
void init();
|
||||
|
Loading…
Reference in New Issue
Block a user