qtmobility/examples/keepintouch/addressfinder.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/examples/keepintouch/addressfinder.h	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/examples/keepintouch/addressfinder.h	Wed Jun 23 19:08:38 2010 +0300
@@ -62,6 +62,10 @@
 #define USE_SEARCH_BUTTON
 #endif
 
+#ifdef Q_WS_MAEMO_5
+#define USE_CONTACTS_COMBOBOX
+#endif
+
 QTM_USE_NAMESPACE
 
 class AddressFinder : public QMainWindow
@@ -100,7 +104,11 @@
     QAction *searchAction;
     QPushButton *searchButton;
 
+#ifdef USE_CONTACTS_COMBOBOX
+    QComboBox *contactList;
+#else
     QListWidget *contactList;
+#endif
     QComboBox *messageCombo;
     QPushButton *showButton;
     QPushButton *forwardButton;