core: use a class derived from QList<int> instead of a QList<int> for Core::Context

A mostly mechanical change.

Reviewed-By: con
This commit is contained in:
hjk
2010-06-25 12:56:16 +02:00
parent a54fc1f6a1
commit c7e8b51d37
96 changed files with 333 additions and 345 deletions

View File

@@ -57,7 +57,7 @@ struct ImageViewerActionHandlerPrivate
QPointer<QAction> actionBackground;
QPointer<QAction> actionOutline;
QList<int> context;
Core::Context context;
QPointer<QSignalMapper> signalMapper;
};
@@ -126,7 +126,7 @@ void ImageViewerActionHandler::createActions()
}
QAction *ImageViewerActionHandler::registerNewAction(int actionId, const QString &id,
const QString &title, const QList<int> &context, const QKeySequence &key)
const QString &title, const Core::Context &context, const QKeySequence &key)
{
Core::ActionManager *actionManager = Core::ICore::instance()->actionManager();
Core::Command *command = 0;