diff options
author | alex <alex.blasche@nokia.com> | 2012-02-07 16:59:47 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 14:01:13 +0100 |
commit | 09defae552883e1d673021772e51fdce81838560 (patch) | |
tree | 775409288b3b3178d60556be6d9d9d2b9f49616d /examples/btchat | |
parent | 79095c3fbc97abd0138b91bb1833628f1d09fdad (diff) |
No more Bluetooth on Symbian
This change cleans the code base significantly.
Change-Id: I668d05d72cf5aa896818139e2daba51909c0b9dd
Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com>
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'examples/btchat')
-rw-r--r-- | examples/btchat/btchat.pro | 4 | ||||
-rw-r--r-- | examples/btchat/chat.cpp | 2 | ||||
-rw-r--r-- | examples/btchat/main.cpp | 2 | ||||
-rw-r--r-- | examples/btchat/remoteselector.cpp | 2 |
4 files changed, 3 insertions, 7 deletions
diff --git a/examples/btchat/btchat.pro b/examples/btchat/btchat.pro index 37f4b3ee..28e1692a 100644 --- a/examples/btchat/btchat.pro +++ b/examples/btchat/btchat.pro @@ -21,7 +21,3 @@ HEADERS = \ FORMS = \ chat.ui \ remoteselector.ui - -symbian { - TARGET.CAPABILITY = LocalServices UserEnvironment ReadUserData WriteUserData NetworkServices NetworkControl ReadDeviceData WriteDeviceData SwEvent -} diff --git a/examples/btchat/chat.cpp b/examples/btchat/chat.cpp index fccb7249..97b545c7 100644 --- a/examples/btchat/chat.cpp +++ b/examples/btchat/chat.cpp @@ -61,7 +61,7 @@ Chat::Chat(QWidget *parent) //! [Construct UI] ui->setupUi(this); -#if defined (Q_OS_SYMBIAN) || defined(Q_OS_WINCE) || defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6) +#if defined(Q_OS_WINCE) || defined(Q_WS_MAEMO_6) setWindowState(Qt::WindowFullScreen); #endif diff --git a/examples/btchat/main.cpp b/examples/btchat/main.cpp index 19ea4dbd..63b82c42 100644 --- a/examples/btchat/main.cpp +++ b/examples/btchat/main.cpp @@ -49,7 +49,7 @@ int main(int argc, char *argv[]) Chat d; QObject::connect(&d, SIGNAL(accepted()), &app, SLOT(quit())); -#if defined(Q_WS_MAEMO_6) || defined(Q_OS_SYMBIAN) +#if defined(Q_WS_MAEMO_6) d.showFullScreen(); #else d.show(); diff --git a/examples/btchat/remoteselector.cpp b/examples/btchat/remoteselector.cpp index 101fb8ab..de44c549 100644 --- a/examples/btchat/remoteselector.cpp +++ b/examples/btchat/remoteselector.cpp @@ -52,7 +52,7 @@ RemoteSelector::RemoteSelector(QWidget *parent) { ui->setupUi(this); -#if defined (Q_OS_SYMBIAN) || defined(Q_OS_WINCE) || defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6) +#if defined(Q_OS_WINCE) || defined(Q_WS_MAEMO_6) setWindowState(Qt::WindowFullScreen); #endif |