summaryrefslogtreecommitdiffstats
path: root/src/base/Sets.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/base/Sets.h
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/base/Sets.h')
-rw-r--r--src/base/Sets.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/Sets.h b/src/base/Sets.h
index 4fe14d1..9884207 100644
--- a/src/base/Sets.h
+++ b/src/base/Sets.h
@@ -103,7 +103,7 @@ public:
Iterator getHighestNote() const { return m_highest; }
Iterator getLowestNote() const { return m_lowest; }
- virtual bool contains(const Iterator &) const = 0;
+ virtual bool tqcontains(const Iterator &) const = 0;
/// Return the pointed-to element, in Event form (public to work around gcc-2.95 bug)
static Event *getAsEvent(const Iterator &i);
@@ -175,7 +175,7 @@ public:
virtual int getMarkCountForChord() const;
virtual std::vector<Mark> getMarksForChord() const;
virtual std::vector<int> getPitches() const;
- virtual bool contains(const Iterator &) const;
+ virtual bool tqcontains(const Iterator &) const;
/**
* Return an iterator pointing to the previous note before this
@@ -622,7 +622,7 @@ GenericChord<Element, Container, singleStaff>::getPitches() const
template <class Element, class Container, bool singleStaff>
bool
-GenericChord<Element, Container, singleStaff>::contains(const Iterator &itr) const
+GenericChord<Element, Container, singleStaff>::tqcontains(const Iterator &itr) const
{
for (typename std::vector<typename Container::iterator>::const_iterator
i = std::vector<typename Container::iterator>::begin();