aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/icontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/icontext.h')
-rw-r--r--src/plugins/coreplugin/icontext.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/coreplugin/icontext.h b/src/plugins/coreplugin/icontext.h
index 5c60ed1f4c..8884dd3198 100644
--- a/src/plugins/coreplugin/icontext.h
+++ b/src/plugins/coreplugin/icontext.h
@@ -43,27 +43,27 @@ class CORE_EXPORT Context
public:
Context() = default;
- explicit Context(Id c1) { add(c1); }
- Context(Id c1, Id c2) { add(c1); add(c2); }
- Context(Id c1, Id c2, Id c3) { add(c1); add(c2); add(c3); }
- bool contains(Id c) const { return d.contains(c); }
+ explicit Context(Utils::Id c1) { add(c1); }
+ Context(Utils::Id c1, Utils::Id c2) { add(c1); add(c2); }
+ Context(Utils::Id c1, Utils::Id c2, Utils::Id c3) { add(c1); add(c2); add(c3); }
+ bool contains(Utils::Id c) const { return d.contains(c); }
int size() const { return d.size(); }
bool isEmpty() const { return d.isEmpty(); }
- Id at(int i) const { return d.at(i); }
+ Utils::Id at(int i) const { return d.at(i); }
// FIXME: Make interface slimmer.
- using const_iterator = QList<Id>::const_iterator;
+ using const_iterator = QList<Utils::Id>::const_iterator;
const_iterator begin() const { return d.begin(); }
const_iterator end() const { return d.end(); }
- int indexOf(Id c) const { return d.indexOf(c); }
+ int indexOf(Utils::Id c) const { return d.indexOf(c); }
void removeAt(int i) { d.removeAt(i); }
- void prepend(Id c) { d.prepend(c); }
+ void prepend(Utils::Id c) { d.prepend(c); }
void add(const Context &c) { d += c.d; }
- void add(Id c) { d.append(c); }
+ void add(Utils::Id c) { d.append(c); }
bool operator==(const Context &c) const { return d == c.d; }
private:
- QList<Id> d;
+ QList<Utils::Id> d;
};
class CORE_EXPORT IContext : public QObject