Move the constants where they belong.

This commit is contained in:
kh1
2010-03-23 17:05:09 +01:00
parent c504a7ceee
commit 42e01eaaab
4 changed files with 12 additions and 11 deletions

View File

@@ -34,9 +34,16 @@
namespace Help {
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_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

View File

@@ -28,7 +28,7 @@
**************************************************************************/
#include "helpmode.h"
#include "helpplugin.h"
#include "helpconstants.h"
#include <coreplugin/findplaceholder.h>

View File

@@ -34,6 +34,7 @@
#include "docsettingspage.h"
#include "filtersettingspage.h"
#include "generalsettingspage.h"
#include "helpconstants.h"
#include "helpfindsupport.h"
#include "helpindexfilter.h"
#include "helpmanager.h"

View File

@@ -60,13 +60,6 @@ class SideBarItem;
namespace Help {
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 {
class CentralWidget;
class DocSettingsPage;