~ubuntu-branches/ubuntu/trusty/ophcrack/trusty

« back to all changes in this revision

Viewing changes to src/gui/hashview.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam Cécile (Le_Vert)
  • Date: 2008-08-11 15:58:58 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080811155858-calnhe07mxkkqb1s
Tags: 3.0.1-1
* Upload to experimental because of lenny freeze.
* New upstream release.
* Update debian/watch.
* Switch from libgtk2.0-dev to libqt4-dev b-dep.
* Drop dpatch, not needed anymore.
* Add new package ophcrack-cli that provides command-line binary.
* Rewrite whole debian/rules to build qt4 and cli flavours.
* Update README.Debian with new tables names/urls.
* Do not depend anymore on bkhive/samdump2, both are embedded.
* Update debian/copyright.
* Add imagemagick b-dep to create icons.
* Write a new manpage for the new command line switches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   
 
3
 *   Ophcrack is a Lanmanager/NTLM hash cracker based on the faster time-memory
 
4
 *   trade-off using rainbow tables. 
 
5
 *   
 
6
 *   Created with the help of: Maxime Mueller, Luca Wullschleger, Claude
 
7
 *   Hochreutiner, Andreas Huber and Etienne Dysli.
 
8
 *   
 
9
 *   Copyright (c) 2008 Philippe Oechslin, Cedric Tissieres, Bertrand Mesot
 
10
 *   
 
11
 *   Ophcrack is free software; you can redistribute it and/or modify
 
12
 *   it under the terms of the GNU General Public License as published by
 
13
 *   the Free Software Foundation; either version 2 of the License, or
 
14
 *   (at your option) any later version.
 
15
 *   
 
16
 *   Ophcrack is distributed in the hope that it will be useful,
 
17
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 *   GNU General Public License for more details.
 
20
 *   
 
21
 *   You should have received a copy of the GNU General Public License
 
22
 *   along with Ophcrack; if not, write to the Free Software
 
23
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
24
 *   
 
25
 *   This program is released under the GPL with the additional exemption 
 
26
 *   that compiling, linking, and/or using OpenSSL is allowed.
 
27
 *   
 
28
 *   
 
29
 *   $Rev: 100 $
 
30
 *   $Date: 2008-04-23 14:18:27 +0200 (Wed, 23 Apr 2008) $
 
31
 *   
 
32
 *   
 
33
*/
 
34
#include <QKeyEvent>
 
35
#include "hashview.h"
 
36
//---------------------------------------------------------------------------
 
37
HashView::HashView(QWidget *parent) : QTreeView(parent) {
 
38
}
 
39
//---------------------------------------------------------------------------
 
40
void HashView::keyPressEvent(QKeyEvent *event) {
 
41
  int key = event->key();
 
42
 
 
43
  if (key == Qt::Key_Backspace || key == Qt::Key_Delete)
 
44
    emit delSelection();
 
45
 
 
46
  QTreeView::keyPressEvent(event);
 
47
}