equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the examples of the Qt Toolkit. |
7 ** This file is part of the examples of the Qt Toolkit. |
8 ** |
8 ** |
68 completer->preventSuggest(); |
68 completer->preventSuggest(); |
69 QString url = QString(GSEARCH_URL).arg(text()); |
69 QString url = QString(GSEARCH_URL).arg(text()); |
70 QDesktopServices::openUrl(QUrl(url)); |
70 QDesktopServices::openUrl(QUrl(url)); |
71 } |
71 } |
72 //! [2] |
72 //! [2] |
|
73 |