forked from qt-creator/qt-creator
ProjectExplorer: Regularize namespace setup in appoutputpane.cpp
Change-Id: If87fbed5ec054c6180c43ec8190b9993621daa56 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -66,11 +66,18 @@
|
|||||||
|
|
||||||
static Q_LOGGING_CATEGORY(appOutputLog, "qtc.projectexplorer.appoutput", QtWarningMsg);
|
static Q_LOGGING_CATEGORY(appOutputLog, "qtc.projectexplorer.appoutput", QtWarningMsg);
|
||||||
|
|
||||||
using namespace ProjectExplorer;
|
namespace ProjectExplorer {
|
||||||
using namespace ProjectExplorer::Internal;
|
namespace Internal {
|
||||||
|
|
||||||
const char OPTIONS_PAGE_ID[] = "B.ProjectExplorer.AppOutputOptions";
|
const char OPTIONS_PAGE_ID[] = "B.ProjectExplorer.AppOutputOptions";
|
||||||
|
const char SETTINGS_KEY[] = "ProjectExplorer/AppOutput/Zoom";
|
||||||
|
const char C_APP_OUTPUT[] = "ProjectExplorer.ApplicationOutput";
|
||||||
|
const char POP_UP_FOR_RUN_OUTPUT_KEY[] = "ProjectExplorer/Settings/ShowRunOutput";
|
||||||
|
const char POP_UP_FOR_DEBUG_OUTPUT_KEY[] = "ProjectExplorer/Settings/ShowDebugOutput";
|
||||||
|
const char CLEAN_OLD_OUTPUT_KEY[] = "ProjectExplorer/Settings/CleanOldAppOutput";
|
||||||
|
const char MERGE_CHANNELS_KEY[] = "ProjectExplorer/Settings/MergeStdErrAndStdOut";
|
||||||
|
const char WRAP_OUTPUT_KEY[] = "ProjectExplorer/Settings/WrapAppOutput";
|
||||||
|
const char MAX_LINES_KEY[] = "ProjectExplorer/Settings/MaxAppOutputLines";
|
||||||
|
|
||||||
static QObject *debuggerPlugin()
|
static QObject *debuggerPlugin()
|
||||||
{
|
{
|
||||||
@@ -84,20 +91,6 @@ static QString msgAttachDebuggerTooltip(const QString &handleDescription = QStri
|
|||||||
AppOutputPane::tr("Attach debugger to %1").arg(handleDescription);
|
AppOutputPane::tr("Attach debugger to %1").arg(handleDescription);
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
|
||||||
const char SETTINGS_KEY[] = "ProjectExplorer/AppOutput/Zoom";
|
|
||||||
const char C_APP_OUTPUT[] = "ProjectExplorer.ApplicationOutput";
|
|
||||||
const char POP_UP_FOR_RUN_OUTPUT_KEY[] = "ProjectExplorer/Settings/ShowRunOutput";
|
|
||||||
const char POP_UP_FOR_DEBUG_OUTPUT_KEY[] = "ProjectExplorer/Settings/ShowDebugOutput";
|
|
||||||
const char CLEAN_OLD_OUTPUT_KEY[] = "ProjectExplorer/Settings/CleanOldAppOutput";
|
|
||||||
const char MERGE_CHANNELS_KEY[] = "ProjectExplorer/Settings/MergeStdErrAndStdOut";
|
|
||||||
const char WRAP_OUTPUT_KEY[] = "ProjectExplorer/Settings/WrapAppOutput";
|
|
||||||
const char MAX_LINES_KEY[] = "ProjectExplorer/Settings/MaxAppOutputLines";
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace ProjectExplorer {
|
|
||||||
namespace Internal {
|
|
||||||
|
|
||||||
class TabWidget : public QTabWidget
|
class TabWidget : public QTabWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Reference in New Issue
Block a user