diff options
author | hjk <[email protected]> | 2010-06-25 12:56:16 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2010-06-25 12:58:07 +0200 |
commit | c7e8b51d37700499536e3ab333190abd127ea0f7 (patch) | |
tree | a37b295b137c0049958fb2283b169eec0cdc430c /src/plugins/cvs/cvsplugin.cpp | |
parent | a54fc1f6a1e2c2fa0a2f741558a95231c08925b4 (diff) |
core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.
Reviewed-By: con
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r-- | src/plugins/cvs/cvsplugin.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp index a5b2fba5a2c..2542157d757 100644 --- a/src/plugins/cvs/cvsplugin.cpp +++ b/src/plugins/cvs/cvsplugin.cpp @@ -204,8 +204,8 @@ static const VCSBase::VCSBaseSubmitEditorParameters submitParameters = { static inline Core::Command *createSeparator(QObject *parent, Core::ActionManager *ami, - const char*id, - const QList<int> &globalcontext) + const char *id, + const Core::Context &globalcontext) { QAction *tmpaction = new QAction(parent); tmpaction->setSeparator(true); @@ -257,8 +257,7 @@ bool CVSPlugin::initialize(const QStringList & /*arguments */, QString *errorMes toolsContainer->addMenu(cvsMenu); m_menuAction = cvsMenu->menu()->menuAction(); - QList<int> globalcontext; - globalcontext << core->uniqueIDManager()->uniqueIdentifier(C_GLOBAL); + Core::Context globalcontext(core->uniqueIDManager()->uniqueIdentifier(C_GLOBAL)); Core::Command *command; @@ -380,7 +379,7 @@ bool CVSPlugin::initialize(const QStringList & /*arguments */, QString *errorMes m_commandLocator->appendCommand(command); // Actions of the submit editor - QList<int> cvscommitcontext; + Core::Context cvscommitcontext; cvscommitcontext << Core::UniqueIDManager::instance()->uniqueIdentifier(Constants::CVSCOMMITEDITOR); m_submitCurrentLogAction = new QAction(VCSBase::VCSBaseSubmitEditor::submitIcon(), tr("Commit"), this); |