1
/***************************************************************************
2
* Copyright (C) 2003 by Alexander Dymo *
3
* cloudtemple@mksat.net *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
***************************************************************************/
12
namespace GDBDebugger {
14
GDBTable::GDBTable(QWidget *parent, const char *name)
15
: QTable(parent, name)
19
GDBTable::GDBTable(int nr, int nc, QWidget * parent, const char * name)
20
: QTable(nr, nc, parent, name)
28
void GDBTable::keyPressEvent( QKeyEvent * e )
30
emit keyPressed(e->key());
32
if (e->key() == Key_Return)
34
else if (e->key() == Key_F2)
36
else if ((e->text() == QString("a")) && (e->state() == AltButton))
41
else if ((e->text() == QString("A")) && (e->state() == AltButton))
46
else if (e->key() == Key_Delete)
49
QTable::keyPressEvent(e);
54
#include "gdbtable.moc"