~ubuntu-branches/ubuntu/raring/koffice/raring

« back to all changes in this revision

Viewing changes to kexi/widget/KexiProjectModelItem.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-06 15:30:09 UTC
  • mfrom: (0.13.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206153009-yf0dqbp9l7fzwxi8
Tags: 1:2.2.91-0ubuntu1
New upstream RC release

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
KexiProjectModelItem::~KexiProjectModelItem()
50
50
{
 
51
    qDeleteAll(m_childItems);
51
52
}
52
53
 
53
54
void KexiProjectModelItem::appendChild(KexiProjectModelItem* c)
111
112
{
112
113
     if (m_parentItem)
113
114
     {
114
 
         //kDebug() << m_parentItem->m_childItems << this << data(0);;
 
115
         //kDebug() << m_parentItem->m_childItems << this << data(0);
115
116
         return m_parentItem->m_childItems.indexOf(this);
116
117
     }
117
118
     kDebug() << "No parent item!";