PageRenderTime 150ms queryTime 55ms sortTime 0ms getByIdsTime 37ms findMatchingLines 10ms

100+ results results for 'QDesktopServices::openUrl' (150 ms)

Not the results you expected?
Medias.cpp https://bitbucket.org/kamicode/marblepower.git | C++ | 378 lines
                    
348    if (QFileInfo(select).isFile()) {
                    
349        QDesktopServices::openUrl(QUrl(QString("file:///") + select,
                    
350                                       QUrl::TolerantMode));
                    
356    if (QFileInfo(select).isFile()) {
                    
357        QDesktopServices::openUrl(QUrl(QString("file:///") + select,
                    
358                                       QUrl::TolerantMode));
                    
364    if (QFileInfo(select).isFile()) {
                    
365        QDesktopServices::openUrl(QUrl(QString("file:///") + select,
                    
366                                       QUrl::TolerantMode));
                    
372    if (QFileInfo(select).isFile()) {
                    
373        QDesktopServices::openUrl(QUrl(QString("file:///") + select,
                    
374                                       QUrl::TolerantMode));
                    
                
tst_qdesktopservices.cpp https://gitlab.com/f3822/qtbase | C++ | 118 lines
                    
42
                    
43void tst_QDesktopServices::openUrl_data()
                    
44{
                    
107
                    
108void tst_QDesktopServices::openUrl()
                    
109{
                    
112    qWarning("\n\nOpening \"%s\": %s", qPrintable(data.toString()), qPrintable(message));
                    
113    QVERIFY(QDesktopServices::openUrl(data));
                    
114}
                    
                
global_functions.h git://pkgs.fedoraproject.org/AcetoneISO2 | C Header | 421 lines
                    
18  QUrl url("http://www.acetoneteam.org/donate.html");
                    
19  QDesktopServices::openUrl(url);
                    
20}
                    
                
MainView.cpp https://gitlab.com/ChristianHeinemann/alien | C++ | 369 lines
                    
179{
                    
180    QDesktopServices::openUrl(QUrl("https://alien-project.org/documentation.html"));
                    
181}
                    
                
window.cpp https://gitlab.com/f3822/qtbase | C++ | 311 lines
                    
68{
                    
69    QDesktopServices::openUrl(QUrl::fromLocalFile(fileName));
                    
70}
                    
                
docu_dock.cpp https://gitlab.com/ismaelgv/morpheus | C++ | 196 lines
                    
83	else {
                    
84		QDesktopServices::openUrl(request.url());
                    
85		return new HelpNetworkReply(request, QByteArray() , "text/html");
                    
                
mapzoom.cpp https://bitbucket.org/cvp2ri/qt5-tlsauth.git | C++ | 139 lines
                    
137{
                    
138    QDesktopServices::openUrl(QUrl("http://www.openstreetmap.org"));
                    
139}
                    
                
clickable.cpp https://gitlab.com/zsj/quassel | C++ | 128 lines
                    
40            str = "http://" + str;
                    
41        QDesktopServices::openUrl(QUrl::fromEncoded(str.toUtf8(), QUrl::TolerantMode));
                    
42        break;
                    
                
useragentprovider.cpp https://bitbucket.org/yogeshwarp/gnewsreader-nokia.git | C++ | 120 lines
                    
56    TPtrC myUrl (reinterpret_cast<const TText*>(url.constData()),url.length());
                    
57    //QDesktopServices::openUrl(QUrl(url));
                    
58    RApaLsSession lsSession;
                    
75#else
                    
76    qDebug() << "Trying default Qt function : QDesktopServices::openUrl" << url;
                    
77    QDesktopServices::openUrl(url);
                    
                
GameList.cpp https://gitlab.com/WoomyNightClub/dolphin | C++ | 174 lines
                    
115	QString url = QStringLiteral("https://wiki.dolphin-emu.org/index.php?title=").append(game_id);
                    
116	QDesktopServices::openUrl(QUrl(url));
                    
117}
                    
                
associatedapplicationmanager.cpp https://github.com/vasi/kdelibs.git | C++ | 157 lines
                    
142#else
                    
143        QDesktopServices::openUrl(d->urlLists.value(applet).first());
                    
144#endif
                    
                
MenuBar.cpp https://gitlab.com/SplatoonModdingHub/dolphin | C++ | 225 lines
                    
175	connect(documentation, &QAction::triggered, this, [=]() {
                    
176	    QDesktopServices::openUrl(QUrl(QStringLiteral("https://dolphin-emu.org/docs/guides")));
                    
177	});
                    
                
sirius.cpp https://gitlab.com/kohoutovice/Sirius_old | C++ | 461 lines
                    
129            //QString link = "http://www.google.com/search?q=" + input + "";
                    
130            //QDesktopServices::openUrl(QUrl(link));
                    
131            reset_fsm();
                    
                
aboutcontroller.cpp https://bitbucket.org/adrianogil/qdominoes.git | C++ | 144 lines
                    
135{
                    
136    QDesktopServices::openUrl(QUrl(tr("http://bit.ly/atRQmu")));
                    
137}
                    
                
kqoauthmanager.h https://gitlab.com/Red54/MuseScore | C Header | 203 lines
                    
78     *
                    
79     * If set to true (the default), the KQOAuthManager uses QDesktopServices::openUrl()
                    
80     * for opening the browser. Otherwise it emits the authorizationPageRequested()
                    
                
PlaylistUIModule.cpp https://github.com/baoping/Red-Bull-Media-Player.git | C++ | 189 lines
                    
151    else
                    
152        QDesktopServices::openUrl( ConfigManager::instance()->getServusTvB2BUrl() );
                    
153
                    
                
tst_qdesktopservices.cpp https://bitbucket.org/manctl/qtbase.git | C++ | 152 lines
                    
78
                    
79void tst_qdesktopservices::openUrl()
                    
80{
                    
81    // At the bare minimum check that they return false for invalid url's
                    
82    QCOMPARE(QDesktopServices::openUrl(QUrl()), false);
                    
83#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
                    
84    // this test is only valid on windows on other systems it might mean open a new document in the application handling .file
                    
85    QCOMPARE(QDesktopServices::openUrl(QUrl("file://invalid.file")), false);
                    
86#endif
                    
111
                    
112    QVERIFY(QDesktopServices::openUrl(fooUrl));
                    
113    QVERIFY(QDesktopServices::openUrl(barUrl));
                    
                
mainwindow.cpp https://gitlab.com/f3822/qtconnectivity | C++ | 162 lines
                    
127{
                    
128    QDesktopServices::openUrl(QUrl(m_uriLabel->text()));
                    
129}
                    
                
testqgsvectorlayer.cpp https://github.com/linz/Quantum-GIS.git | C++ | 653 lines
                    
137        myFile.close();
                    
138        QDesktopServices::openUrl( "file://" + myReportFile );
                    
139      }
                    
                
sendsigndocumentdialog.cpp https://bitbucket.org/victorrbravo/inflow.git | C++ | 362 lines
                    
114        }
                    
115        QDesktopServices::openUrl( url );
                    
116    }
                    
                
help.cpp https://gitlab.com/Red54/MuseScore | C++ | 229 lines
                    
180            help += QString("&utm_source=desktop&utm_medium=contextual&utm_content=%1&utm_term=%2&utm_campaign=MuseScore%3").arg(rev.trimmed()).arg(s).arg(QString(VERSION));
                    
181            QDesktopServices::openUrl(QUrl(help));
                    
182            }
                    
                
aboutdialog.cpp https://bitbucket.org/kasimling/qt.git | C++ | 184 lines
                    
101    || !HelpViewer::canOpenPage(url.path()))) {
                    
102        if (!QDesktopServices::openUrl(url)) {
                    
103            QMessageBox::warning(this, tr("Warning"),
                    
                
tst_qdesktopservices.cpp https://bitbucket.org/kasimling/qt.git | C++ | 388 lines
                    
102
                    
103void tst_qdesktopservices::openUrl()
                    
104{
                    
105    // At the bare minimum check that they return false for invalid url's
                    
106    QCOMPARE(QDesktopServices::openUrl(QUrl()), false);
                    
107#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
                    
108    // this test is only valid on windows on other systems it might mean open a new document in the application handling .file
                    
109    QCOMPARE(QDesktopServices::openUrl(QUrl("file://invalid.file")), false);
                    
110#endif
                    
132    QFETCH(bool, result);
                    
133    QCOMPARE(QDesktopServices::openUrl(url), result);
                    
134    QTest::qWait(30000);
                    
199    QFETCH(bool, result);
                    
200    QCOMPARE(QDesktopServices::openUrl(url), result);
                    
201    QTest::qWait(5000);
                    
                
system.cpp https://github.com/Jmgr/actionaz.git | C++ | 332 lines
                    
76	{
                    
77		if(!QDesktopServices::openUrl(QUrl(url)))
                    
78			throwError(QStringLiteral("OpenUrlError"), tr("Cannot open the url"));
                    
                
airodump.cpp https://gitlab.com/gustawho/aircrackgui-m4 | C++ | 1023 lines
                    
124{
                    
125    QDesktopServices::openUrl(QUrl("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Q7WM3MVSDTR8W&lc=ES&item_name=Aircrack%20GUI%20M4&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"));
                    
126}
                    
                
testqgsrenderers.cpp https://github.com/linz/Quantum-GIS.git | C++ | 239 lines
                    
136    myFile.close();
                    
137    QDesktopServices::openUrl( "file://" + myReportFile );
                    
138  }
                    
                
mainwindow.cpp https://gitlab.com/refaQtor/manualLog | C++ | 188 lines
                    
185    csv.write();
                    
186    QDesktopServices::openUrl(QUrl("file:///" + exportfilepath));// + exportcomplete)); //just open folder, file handling app start inconsistent
                    
187}
                    
                
webpage.cpp https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | C++ | 210 lines
                    
112    if (QAction* action = qobject_cast<QAction*>(sender()))
                    
113        QDesktopServices::openUrl(action->data().toUrl());
                    
114    else
                    
114    else
                    
115        QDesktopServices::openUrl(url);
                    
116#endif
                    
                
qtscript_QDesktopServices.cpp https://github.com/SSMN/MuseScore.git | C++ | 292 lines
                    
221        QUrl _q_arg0 = qscriptvalue_cast<QUrl>(context->argument(0));
                    
222        bool _q_result = QDesktopServices::openUrl(_q_arg0);
                    
223        return QScriptValue(context->engine(), _q_result);
                    
                
TabManager.cc https://github.com/openscad/openscad.git | C++ | 728 lines
                    
363    if (dir.exists()) {
                    
364      QDesktopServices::openUrl(QUrl::fromLocalFile(dir.absolutePath()));
                    
365    }
                    
                
mainwindow.cpp https://gitlab.com/f3822/qttools | C++ | 778 lines
                    
57    QTextStream(&url) << "https://doc.qt.io/qt-" << (qtVersion >> 16) << "/qtdistancefieldgenerator-index.html";
                    
58    QDesktopServices::openUrl(QUrl(url));
                    
59}
                    
                
widgetgallery.cpp https://gitlab.com/f3822/qtbase | C++ | 474 lines
                    
119{
                    
120     QDesktopServices::openUrl(helpUrl(w));
                    
121}
                    
124{
                    
125    QDesktopServices::openUrl(helpUrl(QLatin1String("qtwidgets-index")));
                    
126}
                    
                
GameList.cpp https://gitlab.com/Hexexpeck/dolphin-emulator | C++ | 191 lines
                    
132  QString url = QStringLiteral("https://wiki.dolphin-emu.org/index.php?title=").append(game_id);
                    
133  QDesktopServices::openUrl(QUrl(url));
                    
134}
                    
                
testqgsquickprint.cpp https://github.com/linz/Quantum-GIS.git | C++ | 175 lines
                    
125    myFile.close();
                    
126    QDesktopServices::openUrl("file://"+myReportFile);
                    
127  }
                    
                
twitter.cpp https://gitlab.com/f3822/qtnetworkauth | C++ | 94 lines
                    
86        url.setQuery(query);
                    
87        QDesktopServices::openUrl(url);
                    
88    });
                    
                
diveshareexportdialog.cpp https://github.com/dirkhh/subsurface.git | C++ | 128 lines
                    
31{
                    
32	QDesktopServices::openUrl(QUrl(DIVESHARE_BASE_URI "/secret"));
                    
33}
                    
                
settingstabother.h https://gitlab.com/vladius/photoqt | C Header | 105 lines
                    
100	void markAllNone(QString cat);
                    
101	void openWebsite(QString web) { QDesktopServices::openUrl(QUrl(web)); }
                    
102
                    
                
ImagePreviewWidget.cpp https://gitlab.com/alvinahmadov2/icq-desktop | C++ | 229 lines
                    
87        {
                    
88            QDesktopServices::openUrl(Uri_);
                    
89        }
                    
                
contenttab.cpp git://pkgs.fedoraproject.org/mingw-qt | C++ | 152 lines
                    
143    {
                    
144        bool ret = QDesktopServices::openUrl(itemUrl(item));
                    
145        if (!ret)
                    
                
TabDivePhotos.cpp https://github.com/dirkhh/subsurface.git | C++ | 170 lines
                    
33		[](const QString& path) {
                    
34			QDesktopServices::openUrl(QUrl::fromLocalFile(path));
                    
35		}
                    
103	for (const QString &dir: directories)
                    
104		QDesktopServices::openUrl(QUrl::fromLocalFile(dir));
                    
105}
                    
                
src_gui_util_qdesktopservices.cpp https://bitbucket.org/kasimling/qt.git | C++ | 60 lines
                    
58//! [2]
                    
59QDesktopServices::openUrl(QUrl("file:///C:/Documents and Settings/All Users/Desktop", QUrl::TolerantMode));
                    
60//! [2]
                    
                
mainwindow.cpp https://gitlab.com/f3822/qtbase | C++ | 189 lines
                    
96    else if (action == openAction)
                    
97        QDesktopServices::openUrl(QUrl(url));
                    
98}
                    
                
MenuBar.cpp https://gitlab.com/Hexexpeck/dolphin-emulator | C++ | 208 lines
                    
168  connect(documentation, &QAction::triggered, this, [=]() {
                    
169    QDesktopServices::openUrl(QUrl(QStringLiteral("https://dolphin-emu.org/docs/guides")));
                    
170  });
                    
                
tweeter.cpp https://gitlab.com/k1-801/o2 | C++ | 135 lines
                    
99    qDebug() << "Opening browser with URL" << url.toString();
                    
100    QDesktopServices::openUrl(url);
                    
101}
                    
                
uhgprepletterbombwizardpage.cpp https://bitbucket.org/danielrutz/yauhgd-yet-another-uhg-downloader.git | C++ | 77 lines
                    
36{
                    
37    QDesktopServices::openUrl(QUrl("http://please.hackmii.com/"));
                    
38    clickedToGameExploit = false;
                    
                
tst_qdesktopservices.cpp https://gitlab.com/f3822/qtbase | C++ | 107 lines
                    
42
                    
43void tst_qdesktopservices::openUrl()
                    
44{
                    
45    // At the bare minimum check that they return false for invalid url's
                    
46    QCOMPARE(QDesktopServices::openUrl(QUrl()), false);
                    
47#if defined(Q_OS_WIN)
                    
51    QTest::ignoreMessage(QtWarningMsg, messagePattern);
                    
52    QCOMPARE(QDesktopServices::openUrl(QUrl("file://invalid.file")), false);
                    
53#endif
                    
88
                    
89    QVERIFY(QDesktopServices::openUrl(fooUrl));
                    
90    QVERIFY(QDesktopServices::openUrl(barUrl));
                    
                
widget.cpp https://gitlab.com/f3822/qtbase | C++ | 125 lines
                    
121        tf->close();
                    
122        QDesktopServices::openUrl(QUrl::fromLocalFile(tf->fileName()));
                    
123    }
                    
                
adblockdialog.cpp https://github.com/8jack/arora.git | C++ | 150 lines
                    
130    QUrl url(QLatin1String("http://adblockplus.org/en/subscriptions"));
                    
131    QDesktopServices::openUrl(url);
                    
132}
                    
136    QUrl url(QLatin1String("http://adblockplus.org/en/filters"));
                    
137    QDesktopServices::openUrl(url);
                    
138}
                    
                
vtkQtDebugLeaksView.cxx https://github.com/aashish24/VTK-old.git | C++ | 242 lines
                    
135{
                    
136  QDesktopServices::openUrl(QUrl("http://doc.trolltech.com/4.6/qregexp.html#introduction"));
                    
137}
                    
                
splitterwin.cpp http://saje.googlecode.com/svn/trunk/ | C++ | 311 lines
                    
106void SplitterWin::openLink(const QUrl &url) {
                    
107	QDesktopServices::openUrl(url);
                    
108}
                    
                
fbdemo.cpp https://gitlab.com/k1-801/o2 | C++ | 119 lines
                    
67void FBDemo::onOpenBrowser(const QUrl &url) {
                    
68    QDesktopServices::openUrl(url);
                    
69}
                    
                
DiskSpacePresenter.cpp https://github.com/baoping/Red-Bull-Media-Player.git | C++ | 117 lines
                    
113    QUrl url( path, QUrl::TolerantMode );
                    
114    QDesktopServices::openUrl( url );
                    
115    hideView();
                    
                
mainwindow.cpp https://github.com/qtplatz/qtplatz.git | C++ | 249 lines
                    
218        QUrl url( QUrl::fromLocalFile( QString::fromStdWString( path.wstring() ) ) );
                    
219        QDesktopServices::openUrl( url );
                    
220
                    
                
searchbox.cpp https://gitlab.com/Moon4u/QGInsert | C++ | 75 lines
                    
73	QString url = QString(GSEARCH_URL).arg(text());
                    
74	//QDesktopServices::openUrl(QUrl(url));
                    
75}
                    
                
inflowfirmadoc.cpp https://bitbucket.org/victorrbravo/inflow.git | C++ | 256 lines
                    
60    m_ui->webDocument->print(&printer);
                    
61    QDesktopServices::openUrl(myfile);
                    
62
                    
                
updater.cpp https://gitlab.com/gustawho/aircrackgui-m4 | C++ | 123 lines
                    
29{
                    
30    QDesktopServices::openUrl(QUrl("http://code.google.com/p/aircrackgui-m4/downloads/list"));
                    
31}
                    
                
MainWindow.cpp https://gitlab.com/mvaldivia/RevistaGit | C++ | 218 lines
                    
156  else
                    
157    QDesktopServices::openUrl(QUrl::fromLocalFile(repoPath));
                    
158}
                    
                
webpage.cpp https://github.com/mikezit/Webkit_Code.git | C++ | 111 lines
                    
100    if (QAction* action = qobject_cast<QAction*>(sender()))
                    
101        QDesktopServices::openUrl(action->data().toUrl());
                    
102    else
                    
102    else
                    
103        QDesktopServices::openUrl(url);
                    
104}
                    
                
src_gui_util_qdesktopservices.cpp https://gitlab.com/f3822/qtbase | C++ | 174 lines
                    
86//! [2]
                    
87QDesktopServices::openUrl(QUrl("file:///C:/Program Files", QUrl::TolerantMode));
                    
88//! [2]
                    
                
clipgrab-3.2.1.0-obey.patch https://gitlab.com/rindeal/gentoo-cvs-history-archive | Patch | 85 lines
                    
52-                        {
                    
53-                            QDesktopServices::openUrl(QUrl(command.at(1)));
                    
54-                        }
                    
                
contenttab.cpp https://gitlab.com/f3822/qtsvg | C++ | 149 lines
                    
142{
                    
143    bool ret = QDesktopServices::openUrl(itemUrl(item));
                    
144    if (!ret)
                    
                
noticewidget.cpp https://github.com/Rambler-ru/Contacts.git | C++ | 190 lines
                    
188{
                    
189	QDesktopServices::openUrl(ALink);
                    
190}
                    
                
importsummary.cpp https://gitlab.com/sonium/librepilot | C++ | 161 lines
                    
61{
                    
62    QDesktopServices::openUrl(QUrl(tr("http://wiki.openpilot.org/display/Doc/UAV+Settings+import-export"), QUrl::StrictMode));
                    
63}
                    
                
extendedtablewidget.cpp https://gitlab.com/xivo.solutions/xivo-client-qt | C++ | 97 lines
                    
89    if (!email.isEmpty()) {
                    
90        QDesktopServices::openUrl(QUrl("mailto:" + email));
                    
91    }
                    
                
profile_tree_view.cpp https://gitlab.com/jvelando/wireshark | C++ | 118 lines
                    
90        QString path = QDir::toNativeSeparators(index.data().toString());
                    
91        QDesktopServices::openUrl(QUrl::fromLocalFile(path));
                    
92    }
                    
                
searchbox.cpp https://bitbucket.org/kasimling/qt.git | C++ | 72 lines
                    
68    QString url = QString(GSEARCH_URL).arg(text());
                    
69    QDesktopServices::openUrl(QUrl(url));
                    
70}
                    
                
about.cpp https://github.com/simon-r/-Archivio---LeScienze500.git | C++ | 89 lines
                    
82    QUrl url( link ) ;
                    
83    QDesktopServices::openUrl( url ) ;
                    
84}
                    
87{
                    
88    QDesktopServices::openUrl( url ) ;
                    
89}
                    
                
about.cpp https://github.com/simon-r/-Archivio---LeScienze500.git | C++ | 89 lines
                    
82    QUrl url( link ) ;
                    
83    QDesktopServices::openUrl ( url ) ;
                    
84}
                    
87{
                    
88    QDesktopServices::openUrl ( url ) ;
                    
89}
                    
                
sbitmainwindow.cpp https://bitbucket.org/dbezrukov/sbit.git | C++ | 120 lines
                    
108{
                    
109    QDesktopServices::openUrl(QUrl("http://upbit.org"));
                    
110}
                    
                
devinfowidget.cpp https://github.com/salieff/yaudtray.git | C++ | 163 lines
                    
155{
                    
156//	QDesktopServices::openUrl(QUrl(strLink, QUrl::TolerantMode));
                    
157//	QDesktopServices::openUrl(QUrl::fromLocalFile(strLink));
                    
157//	QDesktopServices::openUrl(QUrl::fromLocalFile(strLink));
                    
158//	QDesktopServices::openUrl(QUrl::fromUserInput(strLink));
                    
159
                    
                
main.cpp https://gitlab.com/f3822/qtwebchannel | C++ | 104 lines
                    
97    QUrl url = QUrl::fromLocalFile(BUILD_DIR "/index.html");
                    
98    QDesktopServices::openUrl(url);
                    
99
                    
                
MainWindow.cpp https://github.com/RJ/lastfm-desktop.git | C++ | 149 lines
                    
140{
                    
141    QDesktopServices::openUrl( QUrl("http://www.last.fm/help/faq/?category=Fingerprinting") );
                    
142}
                    
                
openurlinstance.hpp https://github.com/Jmgr/actionaz.git | C++ Header | 78 lines
                    
64
                    
65			if(!QDesktopServices::openUrl(url))
                    
66			{
                    
                
fileutils.cpp http://filesearch.googlecode.com/svn/trunk/ | C++ | 421 lines
                    
282
                    
283    // QDesktopServices::openUrl(QUrl("file:////Users/Biao/Desktop/1.mp4"));
                    
284    QDesktopServices::openUrl(QUrl::fromLocalFile(filepath));
                    
                
ToolsManager.cpp git://pkgs.fedoraproject.org/monkeystudio | C++ | 423 lines
                    
216    else if ( workingPath.isEmpty() && QFile::exists( filePath ) ) {
                    
217        ok = QDesktopServices::openUrl( QUrl::fromLocalFile( filePath ) );
                    
218    }
                    
                
DroneshareDialog.cc https://gitlab.com/fsgdez/apm_planner | C++ | 79 lines
                    
74    QLOG_DEBUG() << "Droneshare: signupClicked";
                    
75    QDesktopServices::openUrl(QUrl("http://www.droneshare.com"));
                    
76}
                    
                
dialogconversionstatus.cpp git://pkgs.fedoraproject.org/converseen | C++ | 167 lines
                    
157    QString value = action->data().toString();
                    
158    QDesktopServices::openUrl(QUrl("file:///" + value, QUrl::TolerantMode));
                    
159}
                    
163    for (int i = 0; i < outDirs.count(); i++) {
                    
164        QDesktopServices::openUrl(QUrl("file:///" + outDirs.at(i), QUrl::TolerantMode));
                    
165    }
                    
                
GSInterlace.cpp http://fop-miniscribus.googlecode.com/svn/trunk/ | C++ | 429 lines
                    
64       }
                    
65    bool wr = QDesktopServices::openUrl(QUrl(fullFileName));
                    
66    if (!wr) {
                    
73
                    
74     bool r = QDesktopServices::openUrl(loc);
                    
75    if (!r) {
                    
                
specrunner.cpp https://github.com/joseanpg/Cuore-Framework.git | C++ | 139 lines
                    
110        m_page.mainFrame()->evaluateJavaScript(DUMP_MSG);
                    
111        QDesktopServices::openUrl(m_page.mainFrame()->url());
                    
112        QApplication::instance()->exit(1);
                    
                
qgsmessagebaritem.cpp git://github.com/qgis/Quantum-GIS.git | C++ | 289 lines
                    
286  else
                    
287    QDesktopServices::openUrl( url );
                    
288  dismiss();
                    
                
qgsaction.cpp git://github.com/qgis/Quantum-GIS.git | C++ | 166 lines
                    
72    if ( finfo.exists() && finfo.isFile() )
                    
73      QDesktopServices::openUrl( QUrl::fromLocalFile( expandedAction ) );
                    
74    else
                    
74    else
                    
75      QDesktopServices::openUrl( QUrl( expandedAction, QUrl::TolerantMode ) );
                    
76  }
                    
                
installwindow.cpp http://kludgets.googlecode.com/svn/trunk/ | C++ | 205 lines
                    
41    if (url !=  "")
                    
42    	QDesktopServices::openUrl(QUrl(url));
                    
43    */
                    
197{
                    
198    QDesktopServices::openUrl(QUrl("http://www.kludgets.com/download"));
                    
199}
                    
202{
                    
203    QDesktopServices::openUrl(QUrl("http://code.google.com/p/kludgets/wiki/Credits"));
                    
204}
                    
                
patreondialog.cpp git://github.com/bjorn/tiled.git | C++ | 97 lines
                    
54{
                    
55    QDesktopServices::openUrl(QUrl(QLatin1String("https://www.patreon.com/bjorn")));
                    
56}
                    
                
qgis.g.browser.cpp https://github.com/linz/Quantum-GIS.git | C++ | 41 lines
                    
33#endif
                    
34  QDesktopServices::openUrl( url );
                    
35#ifdef Q_OS_WIN
                    
                
qtiplot-0.9.8.3-popup.patch https://github.com/1000timesdead/portage.git | Patch | 47 lines
                    
5@@ -15912,6 +15912,7 @@ void ApplicationWindow::showBugTracker()
                    
6 	QDesktopServices::openUrl(QUrl("https://developer.berlios.de/bugs/?group_id=6626"));
                    
7 }
                    
                
clipgrab-3.2.0.10-obey.patch https://gitlab.com/rindeal/gentoo-cvs-history-archive | Patch | 82 lines
                    
63-                    {
                    
64-                        QDesktopServices::openUrl(QUrl(commands.at(i).split("|").at(1)));
                    
65-                    }
                    
                
main.cpp https://gitlab.com/f3822/qtwebengine | C++ | 100 lines
                    
67            return true;
                    
68        QDesktopServices::openUrl(url);
                    
69        return false;
                    
                
application.cpp https://gitlab.com/alvinahmadov2/icq-desktop | C++ | 261 lines
                    
125        QString decoded = url.fromPercentEncoding(urlStr.toStdString().c_str());
                    
126        QDesktopServices::openUrl(decoded);
                    
127    }
                    
                
communitywelcomepagewidget.cpp https://github.com/CorvusCorax/my_OpenPilot_mods.git | C++ | 85 lines
                    
80{
                    
81    QDesktopServices::openUrl(QUrl(data));
                    
82}
                    
                
previewpage.cpp https://gitlab.com/f3822/qtwebengine | C++ | 64 lines
                    
61        return true;
                    
62    QDesktopServices::openUrl(url);
                    
63    return false;
                    
                
themewidget.cpp https://github.com/pkexp-martin/pokemon-online.git | C++ | 86 lines
                    
66    qDebug() << "Opening url" << downloadUrl;
                    
67    QDesktopServices::openUrl(QUrl(downloadUrl));
                    
68}
                    
72    QUrl url = "http://pokemon-online.eu/forums/showthread.php?" + forumId;
                    
73    QDesktopServices::openUrl(url);
                    
74}
                    
                
imgurimageslist.cpp git://pkgs.fedoraproject.org/digikam | C++ | 228 lines
                    
163        // need to check for delete url click - and ask user if he wants to remove the tags also
                    
164        QDesktopServices::openUrl(url);
                    
165    }
                    
                
jsextender.cpp git://pkgs.fedoraproject.org/qesteidutil | C++ | 485 lines
                    
108void JsExtender::openUrl( const QString &url )
                    
109{ QDesktopServices::openUrl( QUrl( url ) ); }
                    
110
                    
                
clusters.cpp http://semantic-engine.googlecode.com/svn/trunk/ | C++ | 398 lines
                    
116		if( QFile::exists( title ) ){
                    
117			QDesktopServices::openUrl(QUrl::fromLocalFile(title));
                    
118		} else {
                    
                
qiosservices.mm https://gitlab.com/f3822/qtbase | Objective C++ | 107 lines
                    
103    // up the matching keys in the Info.plist file (CFBundleURLTypes and friends).
                    
104    return QDesktopServices::openUrl(url);
                    
105}
                    
                
aboutwidget.cpp http://instead-launcher.googlecode.com/svn/trunk/ | C++ | 121 lines
                    
106void AboutWidget::linkActivated( const QString &link ) {
                    
107    QDesktopServices::openUrl( link );
                    
108}
                    
110void AboutWidget::goToDevelopersForum() {
                    
111    QDesktopServices::openUrl( QString( "http://instead.syscall.ru/forum" ) );
                    
112}
                    
114void AboutWidget::goToINSTEADPage() {
                    
115    QDesktopServices::openUrl( QString( "http://instead.googlecode.com" ) );
                    
116}
                    
118void AboutWidget::goToINSTEADLauncherPage() {
                    
119    QDesktopServices::openUrl( QString( "http://instead-launcher.googlecode.com" ) );
                    
120}
                    
                
aboutdialog.cpp https://gitlab.com/sonium/librepilot | C++ | 97 lines
                    
92{
                    
93    QDesktopServices::openUrl(QUrl(url));
                    
94}
                    
                
FeedReaderFeedItem.cpp https://gitlab.com/cave/RetroShare.git | C++ | 189 lines
                    
187
                    
188	QDesktopServices::openUrl(QUrl(mLink));
                    
189}
                    
                
qgsactionmanager.cpp git://github.com/qgis/Quantum-GIS.git | C++ | 290 lines
                    
195    if ( finfo.exists() && finfo.isFile() )
                    
196      QDesktopServices::openUrl( QUrl::fromLocalFile( action.command() ) );
                    
197    else
                    
197    else
                    
198      QDesktopServices::openUrl( QUrl( action.command(), QUrl::TolerantMode ) );
                    
199  }
                    
                
webpage.cpp https://github.com/kingst/op2-browser.git | C++ | 410 lines
                    
89        || scheme == QLatin1String("ftp")) {
                    
90//        QDesktopServices::openUrl(request.url());
                    
91        return false;
                    
                
divepixmapitem.cpp https://github.com/dirkhh/subsurface.git | C++ | 107 lines
                    
105	if (event->button() == Qt::LeftButton)
                    
106		QDesktopServices::openUrl(QUrl::fromLocalFile(localFilePath(fileUrl)));
                    
107}
                    
                
flickr.h git://github.com/sepych/QtFlickr.git | C Header | 184 lines
                    
62 * 			QUrl authUrl = qtFlickr->authorizationUrl(frob);
                    
63 * 			QDesktopServices::openUrl(authUrl);
                    
64 *
                    
                
about.cpp https://github.com/dirkhh/subsurface.git | C++ | 41 lines
                    
29{
                    
30	QDesktopServices::openUrl(QUrl("http://www.gnu.org/licenses/gpl-2.0.txt"));
                    
31}
                    
34{
                    
35	QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org"));
                    
36}
                    
39{
                    
40	QDesktopServices::openUrl(QUrl("http://subsurface-divelog.org/misc/credits"));
                    
41}
                    
                
detailsdialog.cpp http://qmmp.googlecode.com/svn/trunk/ | C++ | 179 lines
                    
89#else
                    
90    QDesktopServices::openUrl(QUrl::fromLocalFile(dir_path));
                    
91#endif
                    
                
external.cpp https://gitlab.com/vladius/photoqt | C++ | 27 lines
                    
6void GetAndDoStuffExternal::openLink(QString url) {
                    
7	QDesktopServices::openUrl(url);
                    
8}
                    
25void GetAndDoStuffExternal::openInDefaultFileManager(QString file) {
                    
26	QDesktopServices::openUrl(QUrl("file://" + QFileInfo(file).absolutePath()));
                    
27}
                    
                
abstractcontainer.cpp https://github.com/raphaelamorim/audactile.git | C++ | 55 lines
                    
53void AbstractContainer::openLinksInExternalWindow(QUrl url) {
                    
54    QDesktopServices::openUrl(url);
                    
55}
                    
                
qandroidplatformservices.cpp https://gitlab.com/f3822/qtbase | C++ | 125 lines
                    
121    QScopedValueRollback<QUrl> rollback(m_handlingUrl, url);
                    
122    return QDesktopServices::openUrl(url);
                    
123}
                    
                
QtAssistantViewer.cpp git://pkgs.fedoraproject.org/monkeystudio | C++ | 276 lines
                    
148    {
                    
149        //QDesktopServices::openUrl( url );
                    
150        return true;
                    
                
misc.cpp https://github.com/ziemniak/kadu.git | C++ | 417 lines
                    
119	{
                    
120		if(!QDesktopServices::openUrl(QUrl(link))){
                    
121			MessageBox::msg(qApp->translate("@default", QT_TR_NOOP("Web browser was not specified. Visit the configuration section")), false, "Warning");
                    
154
                    
155		if(!QDesktopServices::openUrl(email)){
                    
156			MessageBox::msg(qApp->translate("@default", QT_TR_NOOP("Mail client was not specified. Visit the configuration section")), false, "Warning");
                    
                
searchwidget.cpp https://github.com/epibobby/Bol.os.git | C++ | 82 lines
                    
74{
                    
75    QDesktopServices::openUrl(QUrl(this->trailer));
                    
76}
                    
                
vkontakteprotocol.cpp git://pkgs.fedoraproject.org/qutim | C++ | 150 lines
                    
141	QUrl url ("http://vkontakte.ru/id" + con->id());
                    
142	QDesktopServices::openUrl(url);
                    
143}
                    
                
searchbox.cpp https://gitlab.com/f3822/qtbase | C++ | 82 lines
                    
78    QString url = gsearchUrl.arg(text());
                    
79    QDesktopServices::openUrl(url);
                    
80}
                    
                
startpdf.cpp https://github.com/simon-r/-Archivio---LeScienze500.git | C++ | 54 lines
                    
36        url.setPath( pdf_path );
                    
37        process_strated = QDesktopServices::openUrl( url ) ;
                    
38    }
                    
                
LH_WeatherBrowserOpener.cpp https://code.google.com/p/lcdhost/ | C++ | 85 lines
                    
80    if( weather_data.url !="" )
                    
81        QDesktopServices::openUrl( QUrl::fromUserInput(weather_data.url) );
                    
82}
                    
                
about.cpp https://bitbucket.org/SteffenAL/velocity.git | C++ | 58 lines
                    
46{
                    
47    QDesktopServices::openUrl(QUrl(link));
                    
48}
                    
51{
                    
52    QDesktopServices::openUrl(QUrl("https://github.com/hetelek/Velocity"));
                    
53}
                    
56{
                    
57    QDesktopServices::openUrl(QUrl("http://free60.org/Main_Page"));
                    
58}
                    
                
HelpTextBrowser.cpp git://pkgs.fedoraproject.org/vidalia | C++ | 99 lines
                    
84    
                    
85    bool ok = QDesktopServices::openUrl(url);
                    
86    if (!ok) {
                    
                
XUPProjectItem.h git://pkgs.fedoraproject.org/monkeystudio | C Header | 189 lines
                    
51        NoTarget = 0,
                    
52        ServicesTarget, // use QDesktopServices::openUrl()
                    
53        DesktopTarget, // use open or similar thing (open on mac, xdg-open on unix...)
                    
                
oauthtwitter.cpp git://pkgs.fedoraproject.org/qtweetlib | C++ | 231 lines
                    
180
                    
181    QDesktopServices::openUrl(authorizeUrl);
                    
182}
                    
                
contactcontroller.cpp https://bitbucket.org/adrianogil/qdominoes.git | C++ | 42 lines
                    
35{
                    
36    QDesktopServices::openUrl(QUrl(tr("http://mobile.twitter.com/projetoTukanos")));
                    
37}
                    
40{
                    
41    QDesktopServices::openUrl(QUrl(tr("http://m.facebook.com/projetotukanos")));
                    
42}
                    
                
RicHelpFeatures.cpp https://bitbucket.org/terraai/resinsight.git | C++ | 179 lines
                    
163
                    
164    if (!QDesktopServices::openUrl(usersGuideUrl))
                    
165    {
                    
                
usermanual.cpp https://github.com/dirkhh/subsurface.git | C++ | 150 lines
                    
126{
                    
127	QDesktopServices::openUrl(url);
                    
128}
                    
                
helpviewer.cpp git://pkgs.fedoraproject.org/qbrew | C++ | 132 lines
                    
127    } else {
                    
128        QDesktopServices::openUrl(link);
                    
129        browser_->setSource(browser_->source());
                    
                
help.cpp git://pkgs.fedoraproject.org/muse | C++ | 113 lines
                    
101      {
                    
102      if (! QDesktopServices::openUrl(QUrl(whereTo)))
                    
103            {
                    
                
about_dialog.cpp https://gitlab.com/mattbas/Knotter | C++ | 131 lines
                    
129{
                    
130    QDesktopServices::openUrl(QUrl("file:///"+clicked_entry));
                    
131}
                    
                
testqgsdiagram.cpp git://github.com/qgis/Quantum-GIS.git | C++ | 919 lines
                    
119        myFile.close();
                    
120        //QDesktopServices::openUrl( "file:///" + myReportFile );
                    
121      }
                    
                
quetzalnotify.cpp git://pkgs.fedoraproject.org/qutim | C++ | 149 lines
                    
122{
                    
123	QDesktopServices::openUrl(QUrl::fromUserInput(uri));
                    
124	return NULL;
                    
                
helpbutton.cpp https://github.com/Jmgr/actionaz.git | C++ | 47 lines
                    
44
                    
45		QDesktopServices::openUrl(QUrl(QStringLiteral("http://wiki.actiona.tools/doku.php?id=%1").arg(mTopic)));
                    
46	}
                    
                
script.cpp https://bitbucket.org/muntyan/ggap | C++ | 439 lines
                    
144{
                    
145    return QDesktopServices::openUrl(url);
                    
146}
                    
                
welcomebrowser.cpp https://code.google.com/p/liteide/ | C++ | 221 lines
                    
132            url.scheme() == "mailto") {
                    
133        QDesktopServices::openUrl(url);
                    
134    } else if (url.scheme() == "session") {
                    
                
ReceiptCreator.cpp https://bitbucket.org/fbreiten/point-of-sale-system.git | C++ | 62 lines
                    
31        m_pPixmap->save("receipt.jpg");
                    
32        QDesktopServices::openUrl(QUrl("receipt.jpg"));
                    
33        qDebug() << "Printed receipt";
                    
                
help.cpp https://gitlab.com/biometricscurious/openbr | C++ | 44 lines
                    
30{
                    
31    QDesktopServices::openUrl(QUrl(QString("file:///%1/doc/html/index.html").arg(br_sdk_path())));
                    
32}
                    
                
UIUtils.cc git://github.com/openscad/openscad.git | C++ | 182 lines
                    
161{
                    
162    QDesktopServices::openUrl(QUrl("https://www.openscad.org/"));
                    
163}
                    
166{
                    
167    QDesktopServices::openUrl(QUrl(url.arg(openscad_shortversionnumber.c_str())));
                    
168}
                    
                
dialogabout.cpp https://github.com/ErnieAllen/XView.git | C++ | 41 lines
                    
39{
                    
40    QDesktopServices::openUrl(licenseUrl);
                    
41}
                    
                
 

Source

Language