~ubuntu-branches/ubuntu/oneiric/kalgebra/oneiric-updates

« back to all changes in this revision

Viewing changes to analitza/expressiontype.cpp

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Jonathan Kolberg, Scott Kitterman
  • Date: 2011-09-08 09:54:16 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: package-import@ubuntu.com-20110908095416-56n1ezw5lvr54p45
Tags: 4:4.7.1-0ubuntu1
[ Jonathan Kolberg ]
* New upstream release

[ Scott Kitterman ]
* Make the mobile package descriptions not identical to the regular ones
* Improve kalgebra-dbg long descriptions
* Fix kalgebra-dbg depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
        }
227
227
}
228
228
 
 
229
void ExpressionType::removeAssumptions(const QStringList& bvarStrings)
 
230
{
 
231
        foreach(const QString& bvar, bvarStrings)
 
232
                m_assumptions.remove(bvar);
 
233
        
 
234
        QList<ExpressionType>::iterator it=m_contained.begin(), itEnd=m_contained.end();
 
235
        for(; it!=itEnd; ++it) {
 
236
                it->removeAssumptions(bvarStrings);
 
237
        }
 
238
}
 
239
 
229
240
void ExpressionType::addAssumptions(const QMap<QString, ExpressionType>& a)
230
241
{
231
242
//      qDebug() << "=====1" << m_assumptions << a;