summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btchat
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-07-24 11:47:04 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-25 14:30:14 +0200
commitb0cca9bdd0acf0865a1a5fcb0c51944d902638b1 (patch)
tree44f877493c3ee613dcb34dd9d0412d52fa3a41d9 /examples/bluetooth/btchat
parent0f677d485e83abd1e1d6f64b6220948fed421d94 (diff)
Remove code related to dead or currently unsupported platforms
- Removes the Meego/Maemo backend for QtNfc - Remove Simulator, WinCE and S60 remnants from the examples If any of these platforms becomes relevant they can be added back of course. Change-Id: I84712ea07f01794b622560ce77e08cee347406e3 Reviewed-by: Michael Zanetti <michael.zanetti@canonical.com> Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'examples/bluetooth/btchat')
-rw-r--r--examples/bluetooth/btchat/chat.cpp4
-rw-r--r--examples/bluetooth/btchat/main.cpp4
-rw-r--r--examples/bluetooth/btchat/remoteselector.cpp4
3 files changed, 0 insertions, 12 deletions
diff --git a/examples/bluetooth/btchat/chat.cpp b/examples/bluetooth/btchat/chat.cpp
index fbb38761..1d4e57eb 100644
--- a/examples/bluetooth/btchat/chat.cpp
+++ b/examples/bluetooth/btchat/chat.cpp
@@ -61,10 +61,6 @@ Chat::Chat(QWidget *parent)
//! [Construct UI]
ui->setupUi(this);
-#if defined(Q_OS_WINCE) || defined(Q_WS_MAEMO_6)
- setWindowState(Qt::WindowFullScreen);
-#endif
-
connect(ui->quitButton, SIGNAL(clicked()), this, SLOT(accept()));
connect(ui->connectButton, SIGNAL(clicked()), this, SLOT(connectClicked()));
connect(ui->sendButton, SIGNAL(clicked()), this, SLOT(sendClicked()));
diff --git a/examples/bluetooth/btchat/main.cpp b/examples/bluetooth/btchat/main.cpp
index 00a03d96..ac23a11d 100644
--- a/examples/bluetooth/btchat/main.cpp
+++ b/examples/bluetooth/btchat/main.cpp
@@ -49,11 +49,7 @@ int main(int argc, char *argv[])
Chat d;
QObject::connect(&d, SIGNAL(accepted()), &app, SLOT(quit()));
-#if defined(Q_WS_MAEMO_6)
- d.showFullScreen();
-#else
d.show();
-#endif
app.exec();
diff --git a/examples/bluetooth/btchat/remoteselector.cpp b/examples/bluetooth/btchat/remoteselector.cpp
index 7937f0cb..50bebcd3 100644
--- a/examples/bluetooth/btchat/remoteselector.cpp
+++ b/examples/bluetooth/btchat/remoteselector.cpp
@@ -52,10 +52,6 @@ RemoteSelector::RemoteSelector(QWidget *parent)
{
ui->setupUi(this);
-#if defined(Q_OS_WINCE) || defined(Q_WS_MAEMO_6)
- setWindowState(Qt::WindowFullScreen);
-#endif
-
connect(m_discoveryAgent, SIGNAL(serviceDiscovered(QBluetoothServiceInfo)),
this, SLOT(serviceDiscovered(QBluetoothServiceInfo)));
connect(m_discoveryAgent, SIGNAL(finished()), this, SLOT(discoveryFinished()));