summaryrefslogtreecommitdiffstats
path: root/examples/ipc/localfortuneserver
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ipc/localfortuneserver')
-rw-r--r--examples/ipc/localfortuneserver/localfortuneserver.pro2
-rw-r--r--examples/ipc/localfortuneserver/main.cpp4
-rw-r--r--examples/ipc/localfortuneserver/server.cpp4
-rw-r--r--examples/ipc/localfortuneserver/server.h8
4 files changed, 0 insertions, 18 deletions
diff --git a/examples/ipc/localfortuneserver/localfortuneserver.pro b/examples/ipc/localfortuneserver/localfortuneserver.pro
index 4c55f3b11d..4deda4571c 100644
--- a/examples/ipc/localfortuneserver/localfortuneserver.pro
+++ b/examples/ipc/localfortuneserver/localfortuneserver.pro
@@ -9,7 +9,5 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS localfortuneserver.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/ipc/localfortuneserver
INSTALLS += target sources
-symbian: CONFIG += qt_example
-maemo5: CONFIG += qt_example
simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/ipc/localfortuneserver/main.cpp b/examples/ipc/localfortuneserver/main.cpp
index fc0c698156..ebae3fdd23 100644
--- a/examples/ipc/localfortuneserver/main.cpp
+++ b/examples/ipc/localfortuneserver/main.cpp
@@ -49,11 +49,7 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Server server;
-#if defined(Q_WS_S60)
- server.showMaximized();
-#else
server.show();
-#endif
qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
return app.exec();
}
diff --git a/examples/ipc/localfortuneserver/server.cpp b/examples/ipc/localfortuneserver/server.cpp
index e68e5de457..684c81fc92 100644
--- a/examples/ipc/localfortuneserver/server.cpp
+++ b/examples/ipc/localfortuneserver/server.cpp
@@ -48,11 +48,7 @@
#include <qlocalsocket.h>
Server::Server(QWidget *parent)
-#ifdef Q_WS_MAEMO_5
- : QWidget(parent)
-#else
: QDialog(parent)
-#endif
{
statusLabel = new QLabel;
statusLabel->setWordWrap(true);
diff --git a/examples/ipc/localfortuneserver/server.h b/examples/ipc/localfortuneserver/server.h
index 313862cfaa..5f00ba4d2d 100644
--- a/examples/ipc/localfortuneserver/server.h
+++ b/examples/ipc/localfortuneserver/server.h
@@ -41,11 +41,7 @@
#ifndef SERVER_H
#define SERVER_H
-#ifdef Q_WS_MAEMO_5
-#include <QWidget>
-#else
#include <QDialog>
-#endif
QT_BEGIN_NAMESPACE
class QLabel;
@@ -53,11 +49,7 @@ class QPushButton;
class QLocalServer;
QT_END_NAMESPACE
-#ifdef Q_WS_MAEMO_5
-class Server : public QWidget
-#else
class Server : public QDialog
-#endif
{
Q_OBJECT