summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 16:11:38 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 16:11:38 (GMT)
commit722b12490d0c14eab6629042a4b117f967e80dda (patch)
treea516a9b9ce1d2deb47cb2495730294fdf0d33e0a
parent08722193e8340b35a33829f84b2151b8e1eb05c7 (diff)
Don't match commented lines when looking for kdelibs4support stuff
-rwxr-xr-xkf5/search-kdelibs4support-header.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kf5/search-kdelibs4support-header.sh b/kf5/search-kdelibs4support-header.sh
index 2a225cf..390944f 100755
--- a/kf5/search-kdelibs4support-header.sh
+++ b/kf5/search-kdelibs4support-header.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-find -name "*.cpp" -o -iname "*.cc" -o -iname "*.h" -o -iname "*.ui" -o -iname "*.kcf*" |egrep -v build | xargs egrep -i '\b(KIO::NetAccess|k3bufferedsocket|k3clientsocketbase|k3resolver|k3reverseresolver|k3serversocket|k3socketaddress|k3socketbase|k3socketdevice|k3streamsocket|k4aboutdata|k4style|k4timezonewidget|kaccelgen|\bkaction\b|kapplication|karrowbutton|kascii|kbuttongroup|kcalendarsystem|kcmdlineargs|kcolorchoosermode|kcolordialog|kcolorvalueselector|kcomponentdata|kconfiggroup_kurl|kcurrencycode|kdatatool|kdatetime|kdatetimewidget|kdatewidget|kdebug|kdefakes|kde_file|kdelibs4support_export|kdelibs4support_export_internal|kdemacros|kdeprintdialog|kdeversion|kdevicelistmodel|kdialogbuttonbox|\bkdialog\b|kdirselectdialog|kdiskfreespace|keditlistbox|kfadewidgeteffect|kfiledialog|kfileitemactionplugin|kfilemetadataconfigurationwidget|kfilemetadatawidget|kfilemetainfo|kfilemetainfoitem|kfilemetainfowidget|kfileshare|kfilewriteplugin|kfontcombobox|kfontdialog|kgenericfactory|kglobal\b|kglobalsettings|khbox|khuesaturationselect|kicon\b|kimageio|kinputdialog|klibloader|klibrary|klistwidget\b|klocale|klocalizeddate|klockfile|kmd5|kmenubar|\bkmenu\b|kmessageboxmessagehandler|kmessagebox_queued|\bkmimetype\b|knuminput|knumvalidator|kpassivepopupmessagehandler|kpixmapcache|kprintpreview|kprogressdialog|kpropsdialog|kpushbutton|krestrictedline|ksavefile|kscan|ksessionmanager|ksharedptr|kshortcut\b|ksocketfactory|ksplashscreen|ksslcertchain|ksslcertificate|kssl|ksslutils|ksslx509v3|kstandarddirs|kstatusbar|kstringhandler_deprecated|kstringvalidator|ksystemtimezone|ksystemtrayicon|ktabbar|ktabwidget|ktempdir|ktemporaryfile|ktextbrowser|ktimezone|ktypelist|ktzfiletimezone|kundostack|kuniqueapplication|kurl\b|kvbox|kviewstatesaver|kxerrorhandler|predicateproperties|qtest_kde)\b'
+find -name "*.cpp" -o -iname "*.cc" -o -iname "*.h" -o -iname "*.ui" -o -iname "*.kcf*" |egrep -v build | xargs grep -Pi '^(?:(?!\/\/).)*\b(KIO::NetAccess|k3bufferedsocket|k3clientsocketbase|k3resolver|k3reverseresolver|k3serversocket|k3socketaddress|k3socketbase|k3socketdevice|k3streamsocket|k4aboutdata|k4style|k4timezonewidget|kaccelgen|\bkaction\b|kapplication|karrowbutton|kascii|kbuttongroup|kcalendarsystem|kcmdlineargs|kcolorchoosermode|kcolordialog|kcolorvalueselector|kcomponentdata|kconfiggroup_kurl|kcurrencycode|kdatatool|kdatetime|kdatetimewidget|kdatewidget|kdebug|kdefakes|kde_file|kdelibs4support_export|kdelibs4support_export_internal|kdemacros|kdeprintdialog|kdeversion|kdevicelistmodel|kdialogbuttonbox|\bkdialog\b|kdirselectdialog|kdiskfreespace|keditlistbox|kfadewidgeteffect|kfiledialog|kfileitemactionplugin|kfilemetadataconfigurationwidget|kfilemetadatawidget|kfilemetainfo|kfilemetainfoitem|kfilemetainfowidget|kfileshare|kfilewriteplugin|kfontcombobox|kfontdialog|kgenericfactory|kglobal\b|kglobalsettings|khbox|khuesaturationselect|kicon\b|kimageio|kinputdialog|klibloader|klibrary|klistwidget\b|klocale|klocalizeddate|klockfile|kmd5|kmenubar|\bkmenu\b|kmessageboxmessagehandler|kmessagebox_queued|\bkmimetype\b|knuminput|knumvalidator|kpassivepopupmessagehandler|kpixmapcache|kprintpreview|kprogressdialog|kpropsdialog|kpushbutton|krestrictedline|ksavefile|kscan|ksessionmanager|ksharedptr|kshortcut\b|ksocketfactory|ksplashscreen|ksslcertchain|ksslcertificate|kssl|ksslutils|ksslx509v3|kstandarddirs|kstatusbar|kstringhandler_deprecated|kstringvalidator|ksystemtimezone|ksystemtrayicon|ktabbar|ktabwidget|ktempdir|ktemporaryfile|ktextbrowser|ktimezone|ktypelist|ktzfiletimezone|kundostack|kuniqueapplication|kurl\b|kvbox|kviewstatesaver|kxerrorhandler|predicateproperties|qtest_kde)\b'