~ubuntu-branches/ubuntu/quantal/kdepimlibs/quantal-proposed

« back to all changes in this revision

Viewing changes to akonadi/itemview.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-14 14:37:07 UTC
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: package-import@ubuntu.com-20111214143707-m0qplh3hsd957ukv
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
  mParent->header()->setClickable( true );
66
66
  mParent->header()->setStretchLastSection( true );
67
67
 
68
 
  mParent->connect( mParent, SIGNAL( activated( const QModelIndex& ) ),
69
 
                    mParent, SLOT( itemActivated( const QModelIndex& ) ) );
70
 
  mParent->connect( mParent, SIGNAL( clicked( const QModelIndex& ) ),
71
 
                    mParent, SLOT( itemClicked( const QModelIndex& ) ) );
72
 
  mParent->connect( mParent, SIGNAL( doubleClicked( const QModelIndex& ) ),
73
 
                    mParent, SLOT( itemDoubleClicked( const QModelIndex& ) ) );
 
68
  mParent->connect( mParent, SIGNAL(activated(QModelIndex)),
 
69
                    mParent, SLOT(itemActivated(QModelIndex)) );
 
70
  mParent->connect( mParent, SIGNAL(clicked(QModelIndex)),
 
71
                    mParent, SLOT(itemClicked(QModelIndex)) );
 
72
  mParent->connect( mParent, SIGNAL(doubleClicked(QModelIndex)),
 
73
                    mParent, SLOT(itemDoubleClicked(QModelIndex)) );
74
74
 
75
75
  Control::widgetNeedsAkonadi( mParent );
76
76
}
166
166
{
167
167
  QTreeView::setModel( model );
168
168
 
169
 
  connect( selectionModel(), SIGNAL( currentChanged( const QModelIndex&, const QModelIndex& ) ),
170
 
           this, SLOT( itemCurrentChanged( const QModelIndex& ) ) );
 
169
  connect( selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)),
 
170
           this, SLOT(itemCurrentChanged(QModelIndex)) );
171
171
}
172
172
 
173
173
void ItemView::contextMenuEvent(QContextMenuEvent * event)