author | ar <ar> | 2004-02-08 19:14:56 (UTC) |
---|---|---|
committer | ar <ar> | 2004-02-08 19:14:56 (UTC) |
commit | 5f698069bca9dde2c8be9ff1bf863ee3a7a33cf0 (patch) (side-by-side diff) | |
tree | 525f35c4937c9f4ae99538289c5d1f96c53d7fa7 /noncore/apps/tableviewer/ui | |
parent | 2dc8add65c44b3dd240cf2bd3c276c3c0155f46b (diff) | |
download | opie-5f698069bca9dde2c8be9ff1bf863ee3a7a33cf0.zip opie-5f698069bca9dde2c8be9ff1bf863ee3a7a33cf0.tar.gz opie-5f698069bca9dde2c8be9ff1bf863ee3a7a33cf0.tar.bz2 |
improve support for BigScreen
-rw-r--r-- | noncore/apps/tableviewer/ui/tveditview.cpp | 8 | ||||
-rw-r--r-- | noncore/apps/tableviewer/ui/tvfilterview.cpp | 8 | ||||
-rw-r--r-- | noncore/apps/tableviewer/ui/tvkeyedit.cpp | 8 |
3 files changed, 15 insertions, 9 deletions
diff --git a/noncore/apps/tableviewer/ui/tveditview.cpp b/noncore/apps/tableviewer/ui/tveditview.cpp index 23e2b42..20a24c8 100644 --- a/noncore/apps/tableviewer/ui/tveditview.cpp +++ b/noncore/apps/tableviewer/ui/tveditview.cpp @@ -41,5 +41,7 @@ #include <qsignalmapper.h> -TVEditView::TVEditView(TableState *s, DataElem *d, QWidget* parent, +#include <qpe/qpeapplication.h> + +TVEditView::TVEditView(TableState *s, DataElem *d, QWidget* parent, const char *name, WFlags fl ) : QDialog(parent, name, true, fl) { @@ -48,5 +50,5 @@ TVEditView::TVEditView(TableState *s, DataElem *d, QWidget* parent, QVBoxLayout *layout = new QVBoxLayout(this, 0); /* only so that will resize - correctly in other + correctly in other widgets */ @@ -65,5 +67,5 @@ TVEditView::TVEditView(TableState *s, DataElem *d, QWidget* parent, setData(s, d); #ifdef Q_WS_QWS - showMaximized(); + QPEApplication::showDialog( this ); #endif } diff --git a/noncore/apps/tableviewer/ui/tvfilterview.cpp b/noncore/apps/tableviewer/ui/tvfilterview.cpp index 0182127..b03e846 100644 --- a/noncore/apps/tableviewer/ui/tvfilterview.cpp +++ b/noncore/apps/tableviewer/ui/tvfilterview.cpp @@ -17,5 +17,5 @@ ** not clear to you. ** -**********************************************************************/ +**********************************************************************/ #include "tvfilterview.h" #include <qtoolbutton.h> @@ -27,5 +27,7 @@ #include <qlabel.h> -TVFilterView::TVFilterView(TableState *t, QWidget* parent, +#include <qpe/qpeapplication.h> + +TVFilterView::TVFilterView(TableState *t, QWidget* parent, const char *name, WFlags fl ) : QDialog(parent, name, TRUE, fl) { @@ -96,5 +98,5 @@ TVFilterView::TVFilterView(TableState *t, QWidget* parent, #ifdef Q_WS_QWS - showMaximized(); + QPEApplication::showDialog( this ); #endif } diff --git a/noncore/apps/tableviewer/ui/tvkeyedit.cpp b/noncore/apps/tableviewer/ui/tvkeyedit.cpp index 4849e87..c22ecd3 100644 --- a/noncore/apps/tableviewer/ui/tvkeyedit.cpp +++ b/noncore/apps/tableviewer/ui/tvkeyedit.cpp @@ -27,4 +27,6 @@ #include <qpushbutton.h> +#include <qpe/qpeapplication.h> + /* QList view item... ?? that can store and update the values that I will * be changing */ @@ -136,10 +138,10 @@ TVKeyEdit::TVKeyEdit(TableState *t, QWidget* parent, const char *name, display->setSorting(0); #ifdef Q_WS_QWS - showMaximized(); + QPEApplication::showDialog( this ); #endif } /*! - Destroys the TVKeyEdit widget + Destroys the TVKeyEdit widget */ TVKeyEdit::~TVKeyEdit() @@ -148,5 +150,5 @@ TVKeyEdit::~TVKeyEdit() /* SLOTS */ -void TVKeyEdit::newTerm() +void TVKeyEdit::newTerm() { /* new item, make current Item */ |