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

@@ -43,6 +43,8 @@ QT_END_NAMESPACE
namespace Core {
class Context;
class CORE_EXPORT Command : public QObject
{
Q_OBJECT
@@ -65,7 +67,7 @@ public:
virtual QAction *action() const = 0;
virtual QShortcut *shortcut() const = 0;
virtual QList<int> context() const = 0;
virtual Context context() const = 0;
virtual void setAttribute(CommandAttribute attr) = 0;
virtual void removeAttribute(CommandAttribute attr) = 0;