--- a/qtmobility/examples/publish-subscribe/main.cpp Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/examples/publish-subscribe/main.cpp Mon May 03 13:18:40 2010 +0300
@@ -70,7 +70,7 @@
if (createDefault || createPublisher) {
publisher = new PublisherDialog;
QObject::connect(publisher, SIGNAL(rejected()), &app, SLOT(quit()));
-#ifndef QTM_SMALL_SCREEN
+#ifndef QTM_EXAMPLES_SMALL_SCREEN
publisher->show();
#endif
}
@@ -79,14 +79,14 @@
if (createDefault || createSubscriber) {
subscriber = new SubscriberDialog;
QObject::connect(subscriber, SIGNAL(rejected()), &app, SLOT(quit()));
-#ifndef QTM_SMALL_SCREEN
+#ifndef QTM_EXAMPLES_SMALL_SCREEN
subscriber->show();
#else
subscriber->showMaximized();
#endif
}
-#ifdef QTM_SMALL_SCREEN
+#ifdef QTM_EXAMPLES_SMALL_SCREEN
QObject::connect(publisher, SIGNAL(switchRequested()), subscriber, SLOT(showMaximized()));
QObject::connect(publisher, SIGNAL(switchRequested()), subscriber, SLOT(repaint()));
QObject::connect(publisher, SIGNAL(switchRequested()), publisher, SLOT(hide()));