summaryrefslogtreecommitdiff
path: root/noncore/apps/odict
Side-by-side diff
Diffstat (limited to 'noncore/apps/odict') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/configdlg.cpp9
-rw-r--r--noncore/apps/odict/searchmethoddlg.cpp15
2 files changed, 13 insertions, 11 deletions
diff --git a/noncore/apps/odict/configdlg.cpp b/noncore/apps/odict/configdlg.cpp
index 2103df9..b12a395 100644
--- a/noncore/apps/odict/configdlg.cpp
+++ b/noncore/apps/odict/configdlg.cpp
@@ -19,6 +19,7 @@
-#include <qdialog.h>
+#include <qpe/qpeapplication.h>
#include <qpe/config.h>
-#include <qlayout.h>
+#include <qdialog.h>
+#include <qlayout.h>
#include <qhbox.h>
@@ -37,3 +38,3 @@ ConfigDlg::ConfigDlg(QWidget *parent, const char *name, bool modal) : QDialog(pa
QVBoxLayout *vbox_layout_searchtab = new QVBoxLayout( search_tab, 4 , 4 ,"blah" );
-
+
QHBox *hbox = new QHBox( search_tab );
@@ -55,3 +56,3 @@ ConfigDlg::ConfigDlg(QWidget *parent, const char *name, bool modal) : QDialog(pa
- showMaximized();
+ QPEApplication::execDialog( this );
}
diff --git a/noncore/apps/odict/searchmethoddlg.cpp b/noncore/apps/odict/searchmethoddlg.cpp
index 99cd8db..8ed7152 100644
--- a/noncore/apps/odict/searchmethoddlg.cpp
+++ b/noncore/apps/odict/searchmethoddlg.cpp
@@ -18,6 +18,7 @@
-#include <qdialog.h>
#include <qpe/config.h>
-#include <qlayout.h>
+#include <qpe/qpeapplication.h>
+#include <qdialog.h>
+#include <qlayout.h>
#include <qhbox.h>
@@ -57,3 +58,3 @@ SearchMethodDlg::SearchMethodDlg(QWidget *parent, const char *name, bool modal,
trenner->setText( "::" );
-
+
QGridLayout *grid = new QGridLayout( dummywidget, 2,3 );
@@ -65,10 +66,10 @@ SearchMethodDlg::SearchMethodDlg(QWidget *parent, const char *name, bool modal,
grid->addWidget( lang2, 1,2 );
-
+
vbox_layout->addWidget( vbox );
- showMaximized();
-
+ QPEApplication::execDialog ( this );
+
if( !itemname )
setCaption( tr( "New Searchmethod" ) );
- else
+ else
{