summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/qcheckname.cpp
authorcniehaus <cniehaus>2002-09-15 14:24:54 (UTC)
committer cniehaus <cniehaus>2002-09-15 14:24:54 (UTC)
commit74d0e81facb652eecd9c0684d7fa69a51471f4bc (patch) (side-by-side diff)
tree727ff60461eb1b42d3d2d40a3298eb2fb3e5c13d /noncore/apps/checkbook/qcheckname.cpp
parenta7dc3fe0c963ef8f5f19c04c2806daeb91ba23c8 (diff)
downloadopie-74d0e81facb652eecd9c0684d7fa69a51471f4bc.zip
opie-74d0e81facb652eecd9c0684d7fa69a51471f4bc.tar.gz
opie-74d0e81facb652eecd9c0684d7fa69a51471f4bc.tar.bz2
hope it works now. Sorry for multi-commits
Diffstat (limited to 'noncore/apps/checkbook/qcheckname.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/qcheckname.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/noncore/apps/checkbook/qcheckname.cpp b/noncore/apps/checkbook/qcheckname.cpp
deleted file mode 100644
index 0e4d71c..0000000
--- a/noncore/apps/checkbook/qcheckname.cpp
+++ b/dev/null
@@ -1,36 +0,0 @@
-#include "qcheckname.h"
-#include <qmessagebox.h>
-#include <qdialog.h>
-#include <qpushbutton.h>
-#include <qlineedit.h>
-#include "qrestrictedline.h"
-
-QCheckName::QCheckName()
- : QCheckNameBase()
-{
- connect(cmdDone, SIGNAL(clicked()), this, SLOT(clicked()));
-}
-
-QString QCheckName::getName()
-{
- QCheckName qcn;
- qcn.setWFlags(Qt::WType_Modal);
- qcn.leText->setValidChars("abcdefghijklmnopqrstuvwxyz0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ");
- if (qcn.exec() == QDialog::Accepted)
- {
- return qcn.leText->text();
- } else {
- return QString("");
- }
-}
-
-void QCheckName::clicked()
-{
- if (leText->text().isEmpty() == false)
- {
- hide();
- accept();
- } else {
- QMessageBox::critical(this, "Missing Information", "<qt>Please enter the name of your Check Book and try again.</qt>");
- }
-}