Krazy fixes (spelling, single char strings, char constants).

This commit is contained in:
Friedemann Kleint
2011-05-10 15:19:38 +02:00
parent bda50da7cd
commit ddf4b613f3
61 changed files with 232 additions and 228 deletions

View File

@@ -145,8 +145,8 @@ RegExpWindow::RegExpWindow(QWidget *parent) :
refresh();
}
static const char *escapedBackSlash = "\\\\";
static const char *escapedDoubleQuote = "\\\"";
static const char escapedBackSlash[] = "\\\\";
static const char escapedDoubleQuote[] = "\\\"";
static QString escapePattern(const QString &pattern)
{

View File

@@ -34,16 +34,16 @@
#include <QtCore/QSettings>
static const char *syntaxKey = "Syntax";
static const char *minimalKey = "Minimal";
static const char *caseSensitiveKey = "CaseSensitive";
static const char *patternKey = "Patterns";
static const char *currentPatternKey = "CurrentPattern";
static const char *matchKey = "Matches";
static const char *currentMatchKey = "CurrentMatch";
static const char *patternDefault = "[A-Za-z_]+([A-Za-z_0-9]*)";
static const char *matchDefault = "(10 + delta4) * 32";
static const char *settingsGroup = "RegExp";
static const char syntaxKey[] = "Syntax";
static const char minimalKey[] = "Minimal";
static const char caseSensitiveKey[] = "CaseSensitive";
static const char patternKey[] = "Patterns";
static const char currentPatternKey[] = "CurrentPattern";
static const char matchKey[] = "Matches";
static const char currentMatchKey[] = "CurrentMatch";
static const char patternDefault[] = "[A-Za-z_]+([A-Za-z_0-9]*)";
static const char matchDefault[] = "(10 + delta4) * 32";
static const char settingsGroup[] = "RegExp";
namespace RegExp {
namespace Internal {