Created
April 4, 2021 16:26
-
-
Save anjanik012/668d26b4fef310329747f6503bced1ee to your computer and use it in GitHub Desktop.
Usages of QRegExp class in digiKam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core/app/utils (1 usage found) | |
digikam_globals.cpp (1 usage found) | |
237 QRegExp versionRegExp(QLatin1String("(\\d+[.]*\\d*)")); | |
core/dplugins/generic/metadata/geolocationedit/kmlexport (1 usage found) | |
kmlexport.cpp (1 usage found) | |
85 webFileName = webFileName.replace(QRegExp(QLatin1String("[^-0-9a-z]+")), QLatin1String("_")); | |
core/dplugins/generic/metadata/metadataedit/exif (4 usages found) | |
exifcaption.cpp (2 usages found) | |
94 QRegExp asciiRx(QLatin1String("[\x20-\x7F]+$")); | |
95 QValidator* const asciiValidator = new QRegExpValidator(asciiRx, this); | |
exifdevice.cpp (2 usages found) | |
128 QRegExp asciiRx(QLatin1String("[\x20-\x7F]+$")); | |
129 QValidator* const asciiValidator = new QRegExpValidator(asciiRx, this); | |
core/dplugins/generic/metadata/metadataedit/xmp (2 usages found) | |
xmpsubjects.cpp (2 usages found) | |
46 QRegExp subjectRx(QLatin1String("[^*:?]+$")); | |
47 QValidator* const subjectValidator = new QRegExpValidator(subjectRx, this); | |
core/dplugins/generic/tools/htmlgallery/generator (1 usage found) | |
gallerygenerator.cpp (1 usage found) | |
658 return fileName.replace(QRegExp(QLatin1String("[^-0-9a-z]+")), QLatin1String("_")); | |
core/dplugins/generic/tools/panorama/tools (1 usage found) | |
cpfindbinary.h (1 usage found) | |
67 QRegExp headerRegExp; | |
core/dplugins/generic/webservices/imageshack (1 usage found) | |
imageshackwindow.cpp (1 usage found) | |
385 tagsList = str.split(QRegExp(QLatin1String("\\W+")), QString::SkipEmptyParts); | |
core/dplugins/generic/webservices/mediawiki/backend (1 usage found) | |
mediawiki_queryinfo.cpp (1 usage found) | |
158 QRegExp regex(QStringLiteral("&(?!\\w+;)")); | |
core/dplugins/generic/webservices/piwigo (2 usages found) | |
piwigotalker.cpp (2 usages found) | |
513 QRegExp verrx(QLatin1String(".?(\\d+)\\.(\\d+).*")); | |
665 QRegExp md5rx(QLatin1String("_?([a-f0-9]+)>([0-9]+)</.+")); | |
core/dplugins/generic/webservices/vkontakte/backend/attic (2 usages found) | |
vkontakte_messageinfo.cpp (2 usages found) | |
101 QRegExp rx("(Re(\\(\\d+\\))?: )?( ?)\\.\\.\\.( ?)"); | |
117 res.remove(QRegExp("^Re(\\(\\d+\\))?: ")); | |
core/libs/album/widgets (3 usages found) | |
albumpropsedit.cpp (3 usages found) | |
161 QRegExp titleRx(QLatin1String("[^/:]+")); | |
162 QValidator* const titleValidator = new QRegExpValidator(titleRx, this); | |
419 QRegExp emptyTitle = QRegExp(QLatin1String("^\\s*$")); | |
core/libs/database/coredb (5 usages found) | |
coredbnamefilter.cpp (3 usages found) | |
55 QRegExp wildcard( (*it).trimmed() ); | |
56 wildcard.setPatternSyntax(QRegExp::Wildcard); | |
65 QList<QRegExp>::const_iterator rit = m_filterList.constBegin(); | |
coredbnamefilter.h (1 usage found) | |
61 QList<QRegExp> m_filterList; | |
coredbsearchxml.cpp (1 usage found) | |
852 keywordList << group.split(QRegExp(QLatin1String("\\s+")), QString::SkipEmptyParts); | |
core/libs/database/engine (1 usage found) | |
dbenginebackend.cpp (1 usage found) | |
1217 QRegExp identifierRegExp(QLatin1String(":[A-Za-z0-9]+")); | |
core/libs/database/item/query (2 usages found) | |
itemquerybuilder.cpp (2 usages found) | |
457 if (readerString.contains(QRegExp(QLatin1String("^\\d+:\\d+$")))) | |
466 else if (readerString.contains(QRegExp(QLatin1String("^\\d+(.\\d+)?$")))) | |
core/libs/database/item/scanner (2 usages found) | |
itemscanner_photo.cpp (2 usages found) | |
328 if (keyword.contains(QRegExp(QLatin1String("(_Digikam_root_tag_/|/_Digikam_root_tag_|_Digikam_root_tag_)")))) | |
330 keyword = keyword.replace(QRegExp(QLatin1String("(_Digikam_root_tag_/|/_Digikam_root_tag_|_Digikam_root_tag_)")), | |
core/libs/database/models (8 usages found) | |
itemfiltersettings.cpp (8 usages found) | |
652 QRegExp textRegExp(m_textFilterSettings.text); | |
653 textRegExp.setPatternSyntax(QRegExp::WildcardUnix); | |
708 QRegExp expRatio (QLatin1String("^\\d+:\\d+$")); | |
709 QRegExp expFloat (QLatin1String("^\\d+(.\\d+)?$")); | |
711 if ((expRatio.indexIn(m_textFilterSettings.text) > -1) && m_textFilterSettings.text.contains(QRegExp(QLatin1String(":\\d+")))) | |
757 if (text.contains(QRegExp(QLatin1String("^>\\d{1,15}$"))) && | |
762 else if (text.contains(QRegExp(QLatin1String("^<\\d{1,15}$"))) && | |
767 else if (text.contains(QRegExp(QLatin1String("^\\d+$"))) && | |
core/libs/database/tags (2 usages found) | |
facetags.cpp (1 usage found) | |
73 if ((faceParentTagName).contains(QRegExp(QLatin1String("(_Digikam_root_tag_/|/_Digikam_root_tag_|_Digikam_root_tag_)")))) | |
tagscache.cpp (1 usage found) | |
404 if ((it->name).contains(QRegExp(QLatin1String("(_Digikam_root_tag_/|/_Digikam_root_tag_|_Digikam_root_tag_)")))) | |
core/libs/database/utils/widgets (2 usages found) | |
dbsettingswidget.cpp (2 usages found) | |
209 QRegExp asciiRx(QLatin1String("[\x20-\x7F]+$")); | |
210 QValidator* const asciiValidator = new QRegExpValidator(asciiRx, this); | |
core/libs/dimg/filters/decorate (1 usage found) | |
borderfilter.cpp (1 usage found) | |
525 QRegExp regexp(QLatin1String("(rgb|rgba)\\s*\\((.+)\\)\\s*")); | |
core/libs/dimg/filters/hotpixels (1 usage found) | |
hotpixelprops.cpp (1 usage found) | |
99 QRegExp exp(QLatin1String("(\\d+)-(\\d+)x(\\d+)-(\\d+)x(\\d+)")); | |
core/libs/dimg/filters/lens (1 usage found) | |
lensfuniface.cpp (1 usage found) | |
372 lensCutted.replace(QRegExp(QLatin1String("\\.[0-9]")), QLatin1String("")); //krazy:exclude=doublequote_chars | |
core/libs/dimg/filters/wb (1 usage found) | |
wbsettings.cpp (1 usage found) | |
126 tempDesc.remove(QRegExp(QLatin1String("\\(.*\\)"))); | |
core/libs/dplugins/webservices/o2/examples/msgraphdemo (1 usage found) | |
msgraphdemo.cpp (1 usage found) | |
117 QRegExp userPrincipalNameRE("\"userPrincipalName\":\"([^\"]+)\""); | |
core/libs/dplugins/webservices/o2/examples/msgraphexternalinterceptordemo (1 usage found) | |
msgraphdemo.cpp (1 usage found) | |
151 QRegExp userPrincipalNameRE("\"userPrincipalName\":\"([^\"]+)\""); | |
core/libs/dplugins/webservices/o2/examples/vimeodemo (1 usage found) | |
vimeodemo.cpp (1 usage found) | |
114 QRegExp nameRE("\"name\":\"([^\"]+)\""); | |
core/libs/dplugins/webservices/o2/src (1 usage found) | |
o2.cpp (1 usage found) | |
181 QString uniqueState = QUuid::createUuid().toString().remove(QRegExp("([^a-zA-Z0-9]|[-])")); | |
core/libs/fileactionmanager (2 usages found) | |
metadatahub.cpp (2 usages found) | |
590 if (keyword.contains(QRegExp(QLatin1String("(_Digikam_root_tag_/|/_Digikam_root_tag_|_Digikam_root_tag_)")))) | |
592 keyword = keyword.replace(QRegExp(QLatin1String("(_Digikam_root_tag_/|/_Digikam_root_tag_|_Digikam_root_tag_)")), | |
core/libs/metadataengine/dmetadata (1 usage found) | |
dmetadata_generic.cpp (1 usage found) | |
1032 QRegExp exp(spec2.left(spec2.indexOf(QLatin1Char('_'))) + QLatin1Char('-')); | |
core/libs/models (1 usage found) | |
categorizeditemmodel.cpp (1 usage found) | |
80 text.remove(QRegExp(QString::fromUtf8("[ \u00A0]?(\\.\\.\\.|…)$"))); | |
core/libs/tags/widgets (1 usage found) | |
tageditdlg.cpp (1 usage found) | |
364 QRegExp emptyTitle = QRegExp(QLatin1String("^\\s*$")); | |
core/libs/template (2 usages found) | |
subjectedit.cpp (2 usages found) | |
48 QRegExp subjectRx(QLatin1String("[^*:?]+$")); | |
49 QValidator* const subjectValidator = new QRegExpValidator(subjectRx, this); | |
core/libs/threadimageio/engine (3 usages found) | |
dfileoperations.cpp (2 usages found) | |
171 QRegExp version(QLatin1String("(.+)_v(\\d+)")); | |
216 QRegExp version(QLatin1String("(.+)-(\\d+)")); | |
dservicemenu.cpp (1 usage found) | |
57 QRegExp split(QLatin1String(" +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)")); | |
core/libs/timeadjust (1 usage found) | |
timeadjustcontainer.cpp (1 usage found) | |
127 QRegExp dateRegExp(regExpStrings.at(index)); | |
core/libs/versionmanager (2 usages found) | |
versionnamingscheme.cpp (2 usages found) | |
63 QRegExp versionIntermediate(QLatin1String("(.+)_v(\\d+)-(\\d+)")); | |
82 QRegExp version(QLatin1String("(.+)_v(\\d+)")); | |
core/libs/widgets/files (3 usages found) | |
dbinaryiface.cpp (3 usages found) | |
126 QRegExp reg(QLatin1String("^(\\d*[.]\\d*)")); | |
142 QRegExp reg(QLatin1String("^(\\d*[.]\\d*)")); | |
192 QRegExp versionRegExp(QLatin1String("\\d*(\\.\\d+)*")); | |
core/libs/widgets/metadata (2 usages found) | |
subjectwidget.cpp (2 usages found) | |
136 QRegExp refDigitRx(QLatin1String("^[0-9]{8}$")); | |
137 QValidator* const refValidator = new QRegExpValidator(refDigitRx, this); | |
core/tests/albummodel (1 usage found) | |
albummodeltest.cpp (1 usage found) | |
479 QRegExp countRegEx(QLatin1String(".+ \\(\\d+\\)")); | |
core/tests/mediawiki/fakeserver (1 usage found) | |
fakeserver.cpp (1 usage found) | |
74 QStringList token = QString::fromUtf8(m_clientSocket->readAll()).split(QRegExp(QStringLiteral("[ \r\n][ \r\n]*"))); | |
core/utilities/advancedrename (3 usages found) | |
advancedrenamemanager.cpp (1 usage found) | |
521 QRegExp regExp(regExpStr + QLatin1Char(']')); | |
README (2 usages found) | |
53 QRegExp reg("\\[date(:(.*))\\]"); | |
55 QRegExp reg("\\[date(:(.*))?\\]"); | |
core/utilities/advancedrename/common (16 usages found) | |
highlighter.cpp (5 usages found) | |
53 QRegExp expression(rule.pattern); | |
118 QRegExp expression(quotationRule.pattern); | |
146 QRegExp r = option->regExp(); | |
159 QRegExp r = modifier->regExp(); | |
170 quotationRule.pattern = QRegExp(QLatin1String("\".*\"")); | |
highlighter.h (1 usage found) | |
72 QRegExp pattern; | |
parser.cpp (2 usages found) | |
112 QRegExp invalidString(QLatin1String("^\\s*$")); | |
304 QRegExp regExp = modifier->regExp(); | |
rule.cpp (4 usages found) | |
53 QRegExp regExp; | |
114 QRegExp& Rule::regExp() const | |
119 void Rule::setRegExp(const QRegExp& regExp) | |
270 const QRegExp& reg = regExp(); | |
rule.h (2 usages found) | |
78 QRegExp& regExp() const; | |
154 void setRegExp(const QRegExp& regExp); | |
ruledialog.cpp (1 usage found) | |
130 _title.remove(QRegExp(QLatin1String("\\.{3,}"))).replace(QLatin1String("&&"), QLatin1String("&")); | |
tooltipcreator.cpp (1 usage found) | |
142 QRegExp optionsRegExp(QLatin1String("\\|\\|(.*)\\|\\|")); | |
core/utilities/advancedrename/parser/modifiers (13 usages found) | |
casemodifier.cpp (2 usages found) | |
47 QRegExp reg(QLatin1String("\\{(firstupper|lower|upper)\\}")); | |
54 const QRegExp& reg = regExp(); | |
defaultvaluemodifier.cpp (2 usages found) | |
83 QRegExp reg(QLatin1String("\\{default:\"(.+)\"\\}")); | |
118 const QRegExp& reg = regExp(); | |
rangemodifier.cpp (2 usages found) | |
78 QRegExp reg(QLatin1String("\\{range(:(-?\\d+)(,((-1|\\d+))?)?)\\}")); | |
114 const QRegExp& reg = regExp(); | |
removedoublesmodifier.cpp (1 usage found) | |
46 QRegExp reg(QLatin1String("\\{removedoubles\\}")); | |
replacemodifier.cpp (3 usages found) | |
67 QRegExp reg(QLatin1String("\\{replace(:\"(.*)\",\"(.*)\"(,(r|ri|ir|i))?)\\}")); | |
115 const QRegExp& reg = regExp(); | |
123 QRegExp ro(original); | |
trimmedmodifier.cpp (1 usage found) | |
41 QRegExp reg(escapeToken(token)); | |
uniquemodifier.cpp (2 usages found) | |
48 QRegExp reg(QLatin1String("\\{unique(:(\\d+))?\\}")); | |
58 const QRegExp& reg = regExp(); | |
core/utilities/advancedrename/parser/options (13 usages found) | |
cameranameoption.cpp (1 usage found) | |
50 QRegExp reg(escapeToken(token)); | |
dateoption.cpp (4 usages found) | |
150 QRegExp validRegExp(QLatin1String("[^/]+")); | |
151 QValidator* const validator = new QRegExpValidator(validRegExp, this); | |
262 QRegExp reg(QLatin1String("\\[date(:(.*))?\\]")); | |
269 const QRegExp& reg = regExp(); | |
directorynameoption.cpp (2 usages found) | |
48 QRegExp reg(QLatin1String("\\[dir(\\.*)\\]")); | |
65 const QRegExp& reg = regExp(); | |
filepropertiesoption.cpp (2 usages found) | |
72 QRegExp reg(regExpStr); | |
82 const QRegExp& reg = regExp(); | |
metadataoption.cpp (2 usages found) | |
116 QRegExp reg(QLatin1String("\\[meta(:(.*))\\]")); | |
150 const QRegExp& reg = regExp(); | |
sequencenumberoption.cpp (2 usages found) | |
71 QRegExp reg(QLatin1String("(#+)(\\[(e?f?,?)?((-?\\d+)(,(-?\\d+))?)?\\])?")); | |
138 const QRegExp& reg = regExp(); | |
core/utilities/advancedrename/parser/options/database (2 usages found) | |
databaseoption.cpp (2 usages found) | |
86 QRegExp reg(QLatin1String("\\[db(:(.*))\\]")); | |
151 const QRegExp& reg = regExp(); | |
core/utilities/geolocation/geoiface/lookup (1 usage found) | |
lookupaltitudegeonames.cpp (1 usage found) | |
236 const QStringList altitudes = QString::fromLatin1(data).split(QRegExp(QLatin1String("\\s+"))); | |
core/utilities/import/backend (1 usage found) | |
cameracontroller.cpp (1 usage found) | |
150 QRegExp x = QRegExp(QLatin1String("(usb:[0-9,]*)")); | |
core/utilities/import/views (3 usages found) | |
cameranamehelper.cpp (3 usages found) | |
38 static QRegExp REGEXP_CAMERA_NAME(QLatin1String("^(.*)\\s*\\((.*)\\)\\s*$"), Qt::CaseInsensitive); | |
39 static QRegExp REGEXP_MODES(QLatin1String("^(ptp|normal|mtp)(\\s+mode)?$"), Qt::CaseInsensitive); | |
105 static QRegExp REGEXP_AUTODETECTED(QString::fromUtf8("(%1|, %1)").arg(STR_AUTO_DETECTED.toString())); | |
core/utilities/import/widgets (6 usages found) | |
filter.cpp (3 usages found) | |
78 const QRegExp& Filter::regexp(const QString& wildcard) | |
82 QRegExp rx(wildcard.toLower()); | |
83 rx.setPatternSyntax(QRegExp::Wildcard); | |
filter.h (2 usages found) | |
53 const QRegExp& regexp(const QString& wildcard); | |
64 QHash<QString, QRegExp> filterHash; | |
importfiltercombobox.cpp (1 usage found) | |
87 QHash<QString, QRegExp> filterHash; | |
core/utilities/queuemanager/views (2 usages found) | |
workflowdlg.cpp (2 usages found) | |
104 QRegExp reg(QLatin1String("[^/]+")); | |
105 QValidator* const validator = new QRegExpValidator(reg, this); | |
Usage in comments (3 usages found) | |
digikam (3 usages found) | |
core/tests/database (1 usage found) | |
databasetagstest.cpp (1 usage found) | |
456 QRegExp countRegEx(QLatin1String(".+ \\(\\d+\\)")); | |
core/utilities/advancedrename/common (2 usages found) | |
rule.h (2 usages found) | |
62 * and filled in the results of this search, so that you can use QRegExp::cap() immediately, you don't have to search | |
67 * const QRegExp& reg = regExp(); | |
Usage in string constants (27 usages found) | |
digikam (27 usages found) | |
core/dplugins/generic/metadata/geolocationedit/kmlexport (1 usage found) | |
kmlexport.cpp (1 usage found) | |
30 #include <QRegExp> | |
core/dplugins/generic/tools/htmlgallery/generator (1 usage found) | |
gallerygenerator.cpp (1 usage found) | |
30 #include <QRegExp> | |
core/dplugins/generic/tools/jalbum/generator (1 usage found) | |
jalbumgenerator.cpp (1 usage found) | |
29 #include <QRegExp> | |
core/dplugins/generic/webservices/mediawiki/backend (1 usage found) | |
mediawiki_queryinfo.cpp (1 usage found) | |
33 #include <QRegExp> | |
core/dplugins/generic/webservices/piwigo (1 usage found) | |
piwigotalker.cpp (1 usage found) | |
33 #include <QRegExp> | |
core/dplugins/generic/webservices/vkontakte/backend/attic (1 usage found) | |
vkontakte_messageinfo.cpp (1 usage found) | |
29 #include <QRegExp> | |
core/libs/album/widgets (1 usage found) | |
albumpropsedit.cpp (1 usage found) | |
35 #include <QRegExp> | |
core/libs/database/coredb (1 usage found) | |
coredbnamefilter.h (1 usage found) | |
33 #include <QRegExp> | |
core/libs/database/engine (1 usage found) | |
dbenginebackend.cpp (1 usage found) | |
34 #include <QRegExp> | |
core/libs/database/item/lister (1 usage found) | |
itemlister_p.h (1 usage found) | |
45 #include <QRegExp> | |
core/libs/dimg/filters/curves (1 usage found) | |
curvessettings.cpp (1 usage found) | |
36 #include <QRegExp> | |
core/libs/dimg/filters/hotpixels (2 usages found) | |
hotpixelfixer.cpp (1 usage found) | |
36 #include <QRegExp> | |
hotpixelprops.cpp (1 usage found) | |
29 #include <QRegExp> | |
core/libs/dimg/filters/lc (1 usage found) | |
localcontrastsettings.cpp (1 usage found) | |
37 #include <QRegExp> | |
core/libs/dimg/filters/wb (1 usage found) | |
wbsettings.cpp (1 usage found) | |
36 #include <QRegExp> | |
core/libs/dplugins/webservices/o2/examples/msgraphdemo (1 usage found) | |
msgraphdemo.cpp (1 usage found) | |
7 #include <QRegExp> | |
core/libs/dplugins/webservices/o2/examples/vimeodemo (1 usage found) | |
vimeodemo.cpp (1 usage found) | |
7 #include <QRegExp> | |
core/libs/metadataengine/engine (1 usage found) | |
metaengine.h (1 usage found) | |
43 #include <QRegExp> | |
core/utilities/advancedrename (1 usage found) | |
advancedrenamewidget.cpp (1 usage found) | |
34 #include <QRegExp> | |
core/utilities/advancedrename/common (3 usages found) | |
rule.cpp (1 usage found) | |
31 #include <QRegExp> | |
ruledialog.cpp (1 usage found) | |
32 #include <QRegExp> | |
tooltipcreator.cpp (1 usage found) | |
28 #include <QRegExp> | |
core/utilities/import/backend (1 usage found) | |
cameracontroller.cpp (1 usage found) | |
38 #include <QRegExp> | |
core/utilities/import/views (1 usage found) | |
cameranamehelper.cpp (1 usage found) | |
28 #include <QRegExp> | |
core/utilities/import/widgets (2 usages found) | |
filter.h (1 usage found) | |
34 #include <QRegExp> | |
renamecustomizer.h (1 usage found) | |
33 #include <QRegExp> | |
core/utilities/queuemanager/views (1 usage found) | |
workflowdlg.cpp (1 usage found) | |
32 #include <QRegExp> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment