forked from qt-creator/qt-creator
Move the constants where they belong.
This commit is contained in:
@@ -33,10 +33,17 @@
|
|||||||
#include <QtCore/QtGlobal>
|
#include <QtCore/QtGlobal>
|
||||||
|
|
||||||
namespace Help {
|
namespace Help {
|
||||||
namespace Constants {
|
namespace Constants {
|
||||||
|
|
||||||
|
const int P_MODE_HELP = 70;
|
||||||
|
const char * const ID_MODE_HELP = "Help";
|
||||||
const char * const HELP_CATEGORY = "H.Help";
|
const char * const HELP_CATEGORY = "H.Help";
|
||||||
const char * const HELP_TR_CATEGORY = QT_TRANSLATE_NOOP("Help", "Help");
|
const char * const HELP_TR_CATEGORY = QT_TRANSLATE_NOOP("Help", "Help");
|
||||||
}
|
|
||||||
}
|
const char * const C_MODE_HELP = "Help Mode";
|
||||||
|
const char * const C_HELP_SIDEBAR = "Help Sidebar";
|
||||||
|
|
||||||
|
} // Constants
|
||||||
|
} // Help
|
||||||
|
|
||||||
#endif // HELPCONSTANTS_H
|
#endif // HELPCONSTANTS_H
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
#include "helpmode.h"
|
#include "helpmode.h"
|
||||||
#include "helpplugin.h"
|
#include "helpconstants.h"
|
||||||
|
|
||||||
#include <coreplugin/findplaceholder.h>
|
#include <coreplugin/findplaceholder.h>
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
#include "docsettingspage.h"
|
#include "docsettingspage.h"
|
||||||
#include "filtersettingspage.h"
|
#include "filtersettingspage.h"
|
||||||
#include "generalsettingspage.h"
|
#include "generalsettingspage.h"
|
||||||
|
#include "helpconstants.h"
|
||||||
#include "helpfindsupport.h"
|
#include "helpfindsupport.h"
|
||||||
#include "helpindexfilter.h"
|
#include "helpindexfilter.h"
|
||||||
#include "helpmanager.h"
|
#include "helpmanager.h"
|
||||||
|
|||||||
@@ -60,13 +60,6 @@ class SideBarItem;
|
|||||||
namespace Help {
|
namespace Help {
|
||||||
class HelpManager;
|
class HelpManager;
|
||||||
|
|
||||||
namespace Constants {
|
|
||||||
const char * const C_MODE_HELP = "Help Mode";
|
|
||||||
const char * const C_HELP_SIDEBAR = "Help Sidebar";
|
|
||||||
const int P_MODE_HELP = 70;
|
|
||||||
const char * const ID_MODE_HELP = "Help";
|
|
||||||
} // Constants
|
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
class CentralWidget;
|
class CentralWidget;
|
||||||
class DocSettingsPage;
|
class DocSettingsPage;
|
||||||
|
|||||||
Reference in New Issue
Block a user