summaryrefslogtreecommitdiffstats
path: root/examples/sql/drilldown
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/drilldown')
-rw-r--r--examples/sql/drilldown/drilldown.pro8
-rw-r--r--examples/sql/drilldown/main.cpp4
-rw-r--r--examples/sql/drilldown/view.cpp12
3 files changed, 0 insertions, 24 deletions
diff --git a/examples/sql/drilldown/drilldown.pro b/examples/sql/drilldown/drilldown.pro
index 8209dd5bd5..a6f593e2f8 100644
--- a/examples/sql/drilldown/drilldown.pro
+++ b/examples/sql/drilldown/drilldown.pro
@@ -14,11 +14,3 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/drilldown
sources.files = $$SOURCES *.h $$RESOURCES $$FORMS drilldown.pro *.png *.jpg images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/sql/drilldown
INSTALLS += target sources
-
-symbian {
- TARGET.UID3 = 0xA000C612
- CONFIG += qt_example
-}
-maemo5: CONFIG += qt_example
-
-simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/sql/drilldown/main.cpp b/examples/sql/drilldown/main.cpp
index 462eb0face..c38e3439fe 100644
--- a/examples/sql/drilldown/main.cpp
+++ b/examples/sql/drilldown/main.cpp
@@ -53,11 +53,7 @@ int main(int argc, char *argv[])
return 1;
View view("offices", "images");
-#ifndef Q_OS_SYMBIAN
view.show();
-#else
- view.showMaximized();
-#endif
#ifdef QT_KEYPAD_NAVIGATION
QApplication::setNavigationMode(Qt::NavigationModeCursorAuto);
#endif
diff --git a/examples/sql/drilldown/view.cpp b/examples/sql/drilldown/view.cpp
index 883b28b094..d0f240be9e 100644
--- a/examples/sql/drilldown/view.cpp
+++ b/examples/sql/drilldown/view.cpp
@@ -62,12 +62,8 @@ View::View(const QString &offices, const QString &images, QWidget *parent)
QGraphicsPixmapItem *logo = scene->addPixmap(QPixmap(":/logo.png"));
logo->setPos(30, 515);
-#if !defined(Q_OS_SYMBIAN) && !defined(Q_WS_MAEMO_5)
setMinimumSize(470, 620);
setMaximumSize(470, 620);
-#else
- setDragMode(QGraphicsView::ScrollHandDrag);
-#endif
setWindowTitle(tr("Offices World Wide"));
}
@@ -130,11 +126,7 @@ void View::showInformation(ImageItem *image)
window->raise();
window->activateWindow();
} else if (window && !window->isVisible()) {
-#ifndef Q_OS_SYMBIAN
window->show();
-#else
- window->showMaximized();
-#endif
} else {
InformationWindow *window;
window = new InformationWindow(id, officeTable, this);
@@ -142,12 +134,8 @@ void View::showInformation(ImageItem *image)
connect(window, SIGNAL(imageChanged(int,QString)),
this, SLOT(updateImage(int,QString)));
-#ifndef Q_OS_SYMBIAN
window->move(pos() + QPoint(20, 40));
window->show();
-#else
- window->showMaximized();
-#endif
informationWindows.append(window);
}
}