-#if 0
-void DSPDasmWindow::keyPressEvent(QKeyEvent * e)
-{
- if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return)
- hide();
-#if 1
- else if (e->key() == Qt::Key_PageUp)
- {
- memBase -= 64;
-
- if (memBase < 0)
- memBase = 0;
-
- RefreshContents();
- }
- else if (e->key() == Qt::Key_PageDown)
- {
- memBase += 64;
-
- if (memBase > (0x1000000 - 480))
- memBase = 0x1000000 - 480;
-
- RefreshContents();
- }
- else if (e->key() == Qt::Key_Up || e->key() == Qt::Key_Minus)
- {
- memBase -= 2;
-
- if (memBase < 0)
- memBase = 0;
-
- RefreshContents();
- }
- else if (e->key() == Qt::Key_Down || e->key() == Qt::Key_Equal)
- {
- memBase += 2;
-
- if (memBase > (0x1000000 - 480))
- memBase = 0x1000000 - 480;
-
- RefreshContents();
- }
-#endif
-}
-#endif
-
-
-#if 0
-void DSPDasmWindow::GoToAddress(void)
-{
- bool ok;
- QString newAddress = address->text();
- memBase = newAddress.toUInt(&ok, 16);
- RefreshContents();
-}
-#endif
-
-