constification

svn path=/trunk/KDE/kdelibs/; revision=944561
This commit is contained in:
Aaron J. Seigo 2009-03-25 18:33:41 +00:00
parent b2bb1b569c
commit d7fdb6deb1
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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();