forked from qt-creator/qt-creator
Help: move global constants
Global constants that are used only in one place could live just there. Change-Id: Ibee751b6ccc4fb0d35a8e708995730991becd749 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
@@ -48,18 +48,6 @@
|
||||
|
||||
using namespace Help::Internal;
|
||||
|
||||
const QString HelpViewer::NsNokia = QLatin1String("qthelp://com.nokia.");
|
||||
const QString HelpViewer::NsTrolltech = QLatin1String("qthelp://com.trolltech.");
|
||||
|
||||
const QString HelpViewer::AboutBlankPage =
|
||||
QCoreApplication::translate("HelpViewer", "<title>about:blank</title>");
|
||||
|
||||
const QString HelpViewer::PageNotFoundMessage =
|
||||
QCoreApplication::translate("HelpViewer", "<html><head><meta http-equiv=\""
|
||||
"content-type\" content=\"text/html; charset=UTF-8\"><title>Error 404...</title>"
|
||||
"</head><body><div align=\"center\"><br><br><h1>The page could not be found</h1>"
|
||||
"<br><h3>'%1'</h3></div></body>");
|
||||
|
||||
struct ExtensionMap {
|
||||
const char *extension;
|
||||
const char *mimeType;
|
||||
|
||||
Reference in New Issue
Block a user