PageRenderTime 298ms queryFilters 0ms Sphinxql 10ms app.CodeModel.GetByIds 254ms findMatchingLines 11ms GetByIds 265ms meta 0ms repositoryFilters 46ms languageFilters 0ms sourceFilters 3ms

3,129 results for 'QDesktopServices::openUrl' (298 ms)

Source

Language

Repository

tst_qdesktopservices.cpp https://bitbucket.org/aksenofo/emscripten-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);
GetStartedDialog.cpp https://github.com/electron128/retroshare_old.git | C++ | 471 lines
206
207	/* pass the url directly to QDesktopServices::openUrl */
208	QDesktopServices::openUrl(QUrl(mailstr));
456{
457	/* pass the url directly to QDesktopServices::openUrl */
458	QDesktopServices::openUrl(QUrl(URL_FAQ));
462{
463	/* pass the url directly to QDesktopServices::openUrl */
464	QDesktopServices::openUrl(QUrl(URL_FORUM));
468{
469	/* pass the url directly to QDesktopServices::openUrl */
470	QDesktopServices::openUrl(QUrl(URL_WEBSITE));
win_main.cpp https://bitbucket.org/lord_mulder/simple-x264-launcher.git | C++ | 1,241 lines
504{
505	if(QObject::sender() == actionWebMulder)     QDesktopServices::openUrl(QUrl(home_url));
506	if(QObject::sender() == actionWebX264)       QDesktopServices::openUrl(QUrl("http://www.x264.com/"));
506	if(QObject::sender() == actionWebX264)       QDesktopServices::openUrl(QUrl("http://www.x264.com/"));
507	if(QObject::sender() == actionWebKomisar)    QDesktopServices::openUrl(QUrl("http://komisar.gin.by/"));
508	if(QObject::sender() == actionWebJarod)      QDesktopServices::openUrl(QUrl("http://www.x264.nl/"));
508	if(QObject::sender() == actionWebJarod)      QDesktopServices::openUrl(QUrl("http://www.x264.nl/"));
509	if(QObject::sender() == actionWebJEEB)       QDesktopServices::openUrl(QUrl("http://x264.fushizen.eu/"));
510	if(QObject::sender() == actionWebAvisynth32) QDesktopServices::openUrl(QUrl("http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/"));
510	if(QObject::sender() == actionWebAvisynth32) QDesktopServices::openUrl(QUrl("http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/"));
511	if(QObject::sender() == actionWebAvisynth64) QDesktopServices::openUrl(QUrl("http://code.google.com/p/avisynth64/downloads/list"));
512	if(QObject::sender() == actionWebWiki)       QDesktopServices::openUrl(QUrl("http://mewiki.project357.com/wiki/X264_Settings"));
512	if(QObject::sender() == actionWebWiki)       QDesktopServices::openUrl(QUrl("http://mewiki.project357.com/wiki/X264_Settings"));
513	if(QObject::sender() == actionWebBluRay)     QDesktopServices::openUrl(QUrl("http://www.x264bluray.com/"));
514	if(QObject::sender() == actionWebAvsWiki)    QDesktopServices::openUrl(QUrl("http://avisynth.org/mediawiki/Main_Page#Usage"));
qgsafsdataitemguiprovider.cpp https://github.com/DelazJ/QGIS.git | C++ | 141 lines
52    {
53      QDesktopServices::openUrl( QUrl( connectionItem->url() ) );
54    } );
61    {
62      QDesktopServices::openUrl( QUrl( folderItem->path() ) );
63    } );
70    {
71      QDesktopServices::openUrl( QUrl( serviceItem->path() ) );
72    } );
79    {
80      QDesktopServices::openUrl( QUrl( layerItem->path() ) );
81    } );
88    {
89      QDesktopServices::openUrl( QUrl( layerItem->path() ) );
90    } );
mainwindow.cpp https://github.com/ef1105/mameplus.git | C++ | 1,621 lines
884{
885	QDesktopServices::openUrl(QUrl("http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=158710&view=collapsed"));
886}
890	if (language.startsWith("zh_"))
891		QDesktopServices::openUrl(QUrl("http://bbs.wisestudio.org/viewthread.php?tid=504"));
892	else
892	else
893		QDesktopServices::openUrl(QUrl("http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=164054&view=collapsed"));
894}
898	if (language.startsWith("zh_"))
899		QDesktopServices::openUrl(QUrl("http://bbs.wisestudio.org/forum-16-1.html"));
900	else
900	else
901		QDesktopServices::openUrl(QUrl("http://www.mameworld.info/ubbthreads/postlist.php?Cat=&Board=mameplus&view=collapsed"));
902}
launchboxsim.cpp https://bitbucket.org/sumant_rapsodo/sourcetree.git | C++ | 2,714 lines
1211								qDebug() << "Opening the file url: " << urlToTmpDownload;
1212								QDesktopServices::openUrl(QUrl(urlToTmpDownload, QUrl::TolerantMode));
1213							}
1286						qDebug() << "Opening the file url: " << urlToTmpDownload;
1287						QDesktopServices::openUrl(QUrl(urlToTmpDownload, QUrl::TolerantMode));
1288					}
1307								machineIdText + "&tgc_exist_license=" + userLicenseText;
1308			QDesktopServices::openUrl(QUrl(extLink));
1309		}
1319					+ "&tgc_email=" + userEmail + "&tgc_machineid=" + machineIdText + "&tgc_exist_license=" + userLicenseText;
1320				QDesktopServices::openUrl(QUrl(extLink));
1321			}
1325					machineIdText + "&tgc_exist_license=" + userLicenseText;
1326				QDesktopServices::openUrl(QUrl(extLink));
1327			}
main-window.cc https://bitbucket.org/ttl/octave-ttl | C++ | 2,355 lines
357{
358  QDesktopServices::openUrl (QUrl ("http://octave.org/doc/interpreter"));
359}
619{
620  QDesktopServices::openUrl (QUrl ("http://octave.org/bugs.html"));
621}
625{
626  QDesktopServices::openUrl (QUrl ("http://octave.org/packages.html"));
627}
631{
632  QDesktopServices::openUrl (QUrl ("http://agora.octave.org"));
633}
637{
638  QDesktopServices::openUrl (QUrl ("http://octave.org/donate.html"));
639}
win_main.cpp http://mulder.googlecode.com/svn/trunk/ | C++ | 1,316 lines
540{
541	if(QObject::sender() == actionWebMulder)          QDesktopServices::openUrl(QUrl(home_url));
542	if(QObject::sender() == actionWebX264)            QDesktopServices::openUrl(QUrl("http://www.x264.com/"));
542	if(QObject::sender() == actionWebX264)            QDesktopServices::openUrl(QUrl("http://www.x264.com/"));
543	if(QObject::sender() == actionWebKomisar)         QDesktopServices::openUrl(QUrl("http://komisar.gin.by/"));
544	if(QObject::sender() == actionWebVideoLAN)        QDesktopServices::openUrl(QUrl("http://download.videolan.org/pub/x264/binaries/"));
544	if(QObject::sender() == actionWebVideoLAN)        QDesktopServices::openUrl(QUrl("http://download.videolan.org/pub/x264/binaries/"));
545	if(QObject::sender() == actionWebJEEB)            QDesktopServices::openUrl(QUrl("http://x264.fushizen.eu/"));
546	if(QObject::sender() == actionWebAvisynth32)      QDesktopServices::openUrl(QUrl("http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/"));
546	if(QObject::sender() == actionWebAvisynth32)      QDesktopServices::openUrl(QUrl("http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/"));
547	if(QObject::sender() == actionWebAvisynth64)      QDesktopServices::openUrl(QUrl("http://code.google.com/p/avisynth64/downloads/list"));
548	if(QObject::sender() == actionWebVapourSynth)     QDesktopServices::openUrl(QUrl("http://www.vapoursynth.com/"));
548	if(QObject::sender() == actionWebVapourSynth)     QDesktopServices::openUrl(QUrl("http://www.vapoursynth.com/"));
549	if(QObject::sender() == actionWebVapourSynthDocs) QDesktopServices::openUrl(QUrl("http://www.vapoursynth.com/doc/"));
550	if(QObject::sender() == actionWebWiki)            QDesktopServices::openUrl(QUrl("http://mewiki.project357.com/wiki/X264_Settings"));
CMain.cpp https://bitbucket.org/skynowa/start.git | C++ | 2,265 lines
393
394    bool bRv = QDesktopServices::openUrl( QUrl(sDir) );
395    xTEST_EQ(true, bRv);
969
970    bool bRv = QDesktopServices::openUrl( QString("file:///%1").arg(sVolumePath) );
971    xTEST_EQ(true, bRv);
1234
1235    bool bRv = QDesktopServices::openUrl(csDir);
1236    xTEST_EQ(true, bRv);
1243
1244    bool bRv = QDesktopServices::openUrl(csDir);
1245    xTEST_EQ(true, bRv);
1266
1267    bool bRv = QDesktopServices::openUrl( QUrl(sDir) );
1268    xTEST_EQ(true, bRv);
merchantlist.cpp https://github.com/cqtenq/feathercoin_core.git | C++ | 275 lines
140	 	 	if (obj == ui->label_Map) { 
141	 	 	  QDesktopServices::openUrl(QUrl("http://map.ftc-c.com"));
142	 			return true; 
144	 	 	if (obj == ui->label_left_1) { 
145	 	 	  QDesktopServices::openUrl(QUrl("http://www.bitcoinbazaar.co.uk"));
146	 			return true; 
148	 	 	if (obj == ui->label_left_2) { 
149	 	 	  QDesktopServices::openUrl(QUrl("https://pock.io"));
150	 			return true; 
152	 	 	if (obj == ui->label_left_3) { 
153	 	 	  QDesktopServices::openUrl(QUrl("http://bitbooks.co"));
154	 			return true; 
156	 	 	if (obj == ui->label_left_4) { 
157	 	 	  QDesktopServices::openUrl(QUrl("http://coinverted.com"));
158	 			return true; 
overviewpage.cpp https://github.com/deadbrainviv/master.git | C++ | 240 lines
216    QString link="http://tinyurl.com/bitcointalk-vericoin";
217    QDesktopServices::openUrl(QUrl(link));
218}
221    QString link="http://tinyurl.com/freenode-vericoin";
222    QDesktopServices::openUrl(QUrl(link));
223}
226    QString link="http://www.reddit.com/r/vericoin";
227    QDesktopServices::openUrl(QUrl(link));
228}
231    QString link="https://twitter.com/vericoin";
232    QDesktopServices::openUrl(QUrl(link));
233}
qgsamsdataitemguiprovider.cpp https://github.com/DelazJ/QGIS.git | C++ | 128 lines
51    {
52      QDesktopServices::openUrl( QUrl( connectionItem->url() ) );
53    } );
60    {
61      QDesktopServices::openUrl( QUrl( folderItem->path() ) );
62    } );
69    {
70      QDesktopServices::openUrl( QUrl( serviceItem->path() ) );
71    } );
78    {
79      QDesktopServices::openUrl( QUrl( layerItem->path() ) );
80    } );
guiutil.cpp https://bitbucket.org/gincoin-dev/gincoin-core.git | C++ | 1,076 lines
420    if (boost::filesystem::exists(pathDebug))
421        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
422}
429    if (boost::filesystem::exists(pathConfig))
430        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
431}
438    if (boost::filesystem::exists(pathConfig))
439        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
440}
447    if (boost::filesystem::exists(backupsDir))
448        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(backupsDir)));
449}
tst_qdesktopservices.cpp https://bitbucket.org/ProGamerCode/qtbase.git | C++ | 153 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)
85    QTest::ignoreMessage(QtWarningMsg, "ShellExecute 'file://invalid.file' failed (error 3).");
86    QCOMPARE(QDesktopServices::openUrl(QUrl("file://invalid.file")), false);
87#endif
112
113    QVERIFY(QDesktopServices::openUrl(fooUrl));
114    QVERIFY(QDesktopServices::openUrl(barUrl));
guiutil.cpp https://bitbucket.org/gogorick/gogorick.git | C++ | 1,075 lines
419    if (boost::filesystem::exists(pathDebug))
420        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
421}
428    if (boost::filesystem::exists(pathConfig))
429        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
430}
437    if (boost::filesystem::exists(pathConfig))
438        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
439}
446    if (boost::filesystem::exists(backupsDir))
447        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(backupsDir)));
448}
guiutil.cpp https://bitbucket.org/haozi23333/opc.coin.git | C++ | 1,075 lines
419    if (boost::filesystem::exists(pathDebug))
420        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
421}
428    if (boost::filesystem::exists(pathConfig))
429        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
430}
437    if (boost::filesystem::exists(pathConfig))
438        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
439}
446    if (boost::filesystem::exists(backupsDir))
447        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(backupsDir)));
448}
guiutil.cpp https://bitbucket.org/rainwater11/raixem.git | C++ | 1,075 lines
419    if (boost::filesystem::exists(pathDebug))
420        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug)));
421}
428    if (boost::filesystem::exists(pathConfig))
429        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
430}
437    if (boost::filesystem::exists(pathConfig))
438        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
439}
446    if (boost::filesystem::exists(backupsDir))
447        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(backupsDir)));
448}
tst_qdesktopservices.cpp https://bitbucket.org/jjgod/qt-vtl.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);
tst_qdesktopservices.cpp https://bitbucket.org/manctl/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);
GetStartedDialog.cpp https://gitlab.com/g10h4ck/RetroShare.git | C++ | 458 lines
202
203	/* pass the url directly to QDesktopServices::openUrl */
204	QDesktopServices::openUrl(QUrl(mailstr));
442{
443	/* pass the url directly to QDesktopServices::openUrl */
444	QDesktopServices::openUrl(QUrl(URL_FAQ));
448{
449	/* pass the url directly to QDesktopServices::openUrl */
450	QDesktopServices::openUrl(QUrl(URL_FORUM));
454{
455	/* pass the url directly to QDesktopServices::openUrl */
456	QDesktopServices::openUrl(QUrl(URL_WEBSITE));
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21