summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/qcheckbook.cpp
authorllornkcor <llornkcor>2002-10-20 14:04:56 (UTC)
committer llornkcor <llornkcor>2002-10-20 14:04:56 (UTC)
commitb915686dd38e99df72db332e1ea0b12a0895bdb3 (patch) (side-by-side diff)
treeac5590b057da22eadc96e44eafad7f4dd27688a5 /noncore/apps/checkbook/qcheckbook.cpp
parent6924185b50abfa448daa16a9f7cb6e532ec77ff9 (diff)
downloadopie-b915686dd38e99df72db332e1ea0b12a0895bdb3.zip
opie-b915686dd38e99df72db332e1ea0b12a0895bdb3.tar.gz
opie-b915686dd38e99df72db332e1ea0b12a0895bdb3.tar.bz2
added ability to delete checkbook account
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);