summaryrefslogtreecommitdiff
path: root/noncore/apps/keyz-cfg/cfgdlg.cpp
authorzecke <zecke>2004-07-15 22:35:55 (UTC)
committer zecke <zecke>2004-07-15 22:35:55 (UTC)
commit422e7757feae169d8c931f2f0ac1d5acc201f846 (patch) (side-by-side diff)
tree33e9493dcc04a1f6f2e251aa17d292d6b347e03a /noncore/apps/keyz-cfg/cfgdlg.cpp
parent652bde59f89394d8091b3ac53635059e52d9f8a0 (diff)
downloadopie-422e7757feae169d8c931f2f0ac1d5acc201f846.zip
opie-422e7757feae169d8c931f2f0ac1d5acc201f846.tar.gz
opie-422e7757feae169d8c931f2f0ac1d5acc201f846.tar.bz2
When you've startet this application and the clicked
on its symbol you got a blank and unnamed widget. This was the QMainWindow which was manually hidden, but then raised by QPEApplication::raiseAppropriate. Now soleley use QPEApplication::showMainWidget and execDialog for showing the widget TODO: CleanUp more and use quicklaunc technology
Diffstat (limited to 'noncore/apps/keyz-cfg/cfgdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/keyz-cfg/cfgdlg.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/keyz-cfg/cfgdlg.cpp b/noncore/apps/keyz-cfg/cfgdlg.cpp
index 863f21e..3965198 100644
--- a/noncore/apps/keyz-cfg/cfgdlg.cpp
+++ b/noncore/apps/keyz-cfg/cfgdlg.cpp
@@ -7,3 +7,5 @@
-CfgDlg::CfgDlg(QWidget* parent, CfgFile* cf, QApplication* app):QDialog(parent), cfile(cf), application(app) {
+CfgDlg::CfgDlg(QWidget* parent, CfgFile* cf, QApplication* app, bool mod):
+ QDialog(parent, "CfgDlg", mod), cfile(cf), application(app) {
+
setCaption(tr("keyz configurator"));
@@ -29,3 +31,3 @@ CfgDlg::CfgDlg(QWidget* parent, CfgFile* cf, QApplication* app):QDialog(parent),
ap = new QSpinBox(0, 5000, 5, this);
-
+
// QLabel* adms = new QLabel("ms", this);