summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/qcheckbook.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/qcheckbook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/qcheckbook.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/qcheckbook.cpp b/noncore/apps/checkbook/qcheckbook.cpp
index bb7a5ac..26caad9 100644
--- a/noncore/apps/checkbook/qcheckbook.cpp
+++ b/noncore/apps/checkbook/qcheckbook.cpp
@@ -91,6 +91,11 @@ void QCheckBook::newCheck(const QString &filename)
}
}
+void QCheckBook::deleteCheck(const QString &filename)
+{
+ qDebug("Deleting "+filename);
+}
+
void QCheckBook::close()
{
QApplication::exit();
@@ -136,6 +141,7 @@ void QCheckBook::initMainMenus()
popup = new QPopupMenu();
popup->insertItem("&New", m_view3, SLOT(newClicked()));
+ popup->insertItem("&Delete", m_view3, SLOT(deleteClicked()));
popup->insertItem("&Exit", this, SLOT(close()));
mbar->insertItem("&File", popup);