summaryrefslogtreecommitdiff
path: root/noncore/tools/remote
Side-by-side diff
Diffstat (limited to 'noncore/tools/remote') (more/less context) (show whitespace changes)
-rw-r--r--noncore/tools/remote/learntab.cpp11
-rw-r--r--noncore/tools/remote/remote.cpp10
2 files changed, 14 insertions, 7 deletions
diff --git a/noncore/tools/remote/learntab.cpp b/noncore/tools/remote/learntab.cpp
index 7582161..335a3e9 100644
--- a/noncore/tools/remote/learntab.cpp
+++ b/noncore/tools/remote/learntab.cpp
@@ -18,2 +18,5 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+/* OPIE */
+#include <qpe/qpeapplication.h>
+
LearnTab::LearnTab(QWidget *parent, const char *name):QWidget(parent,name)
@@ -52,3 +55,3 @@ void LearnTab::add()
RecordDialog *dialog = new RecordDialog(this);
- dialog->showMaximized();
+ QPEApplication::showDialog( dialog );
}
@@ -56,8 +59,6 @@ void LearnTab::add()
void LearnTab::edit()
-{
-}
+{}
void LearnTab::del()
-{
-}
+{}
diff --git a/noncore/tools/remote/remote.cpp b/noncore/tools/remote/remote.cpp
index 7972def..638629f 100644
--- a/noncore/tools/remote/remote.cpp
+++ b/noncore/tools/remote/remote.cpp
@@ -16,2 +16,5 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#include "mainview.h"
+
+/* OPIE */
#include <qpe/qpeapplication.h>
@@ -19,2 +22,4 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <qpe/config.h>
+
+/* QT */
#include <qpushbutton.h>
@@ -25,2 +30,4 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <qobject.h>
+
+/* STD */
#include <sys/socket.h>
@@ -32,3 +39,2 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#include "mainview.h"
@@ -97,3 +103,3 @@ int main( int argc, char **argv )
w.setIRSocket(fd);
- w.showMaximized();
+ QPEApplication::showWidget( &w );
return a.exec();