~ubuntu-branches/ubuntu/precise/kgpg/precise-updates

« back to all changes in this revision

Viewing changes to keytreeview.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-12-24 23:16:12 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111224231612-1esf4004sfou258b
Tags: 4:4.7.95-0ubuntu1
New upstream release candidate

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        setDragEnabled(true);
40
40
        setDragDropMode(DragDrop);
41
41
        setAcceptDrops(true);
 
42
        setEditTriggers(QTreeView::NoEditTriggers);
42
43
}
43
44
 
44
45
QList<KGpgNode *>
222
223
        QTreeView::keyPressEvent(event);
223
224
}
224
225
 
 
226
bool
 
227
KeyTreeView::isEditing() const
 
228
{
 
229
        return (state() == EditingState);
 
230
}
 
231
 
225
232
#include "keytreeview.moc"