--- as_assist.cpp 2002/12/09 16:44:37 1.52
+++ as_assist.cpp 2002/12/10 00:00:57 1.53
@@ -213,7 +213,7 @@
m_pFilequitact = new QAction(trUtf8("Exit"), trUtf8("E&xit"), CTRL+Key_Q, this, "Exit");
if (m_pFilequitact == NULL) // Sanity check
throw Genexcept("Main window file quit action creation failed.");
- connect(m_pFilequitact, SIGNAL(activated()), qApp, SLOT(quit()));
+ connect(m_pFilequitact, SIGNAL(activated()), this, SLOT(close()));
// Cut action
m_pCutact = new QAction(trUtf8("Cut"), QPixmap(s_kpcCut_xpm), trUtf8("&Cut"), CTRL+Key_X, this, "Cut");
@@ -249,7 +249,7 @@
m_pPasteact->setWhatsThis(kszPastetext);
// Add data row action
- m_pAddrowact = new QAction(trUtf8("Add Row"), QPixmap(s_kpcRowadd_xpm), trUtf8("&Add row"), CTRL+Key_A, this, "Addrow");
+ m_pAddrowact = new QAction(trUtf8("Add Row"), QPixmap(s_kpcRowadd_xpm), trUtf8("&Add row"), Key_Insert, this, "Addrow");
if (m_pAddrowact == NULL) // Sanity check
throw Genexcept("Main window add row action creation failed.");
connect(m_pAddrowact, SIGNAL(activated()), this, SLOT(addEntry()));
@@ -260,7 +260,7 @@
m_pAddrowact->setWhatsThis(kszAddrowtext);
// Delete data row action
- m_pDelrowact = new QAction(trUtf8("Delete Row"), QPixmap(s_kpcRowdel_xpm), trUtf8("&Delete row"), CTRL+Key_D, this, "Delrow");
+ m_pDelrowact = new QAction(trUtf8("Delete Row"), QPixmap(s_kpcRowdel_xpm), trUtf8("&Delete row"), Key_Delete, this, "Delrow");
if (m_pDelrowact == NULL) // Sanity check
throw Genexcept("Main window delete row action creation failed.");
connect(m_pDelrowact, SIGNAL(activated()), this, SLOT(delEntry()));
|