summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-10-21 14:56:24 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-11-08 03:06:28 +0100
commit71482a8fc77d88f374abd3311eb87677beba3836 (patch)
tree7eddbebd3aed5aa98fa892a328f71f07e04ee482 /scripts
parentb2a3c86f4358b19ea2044c7dc8a6543b5e5ff654 (diff)
downloadtdesdk-71482a8fc77d88f374abd3311eb87677beba3836.tar.gz
tdesdk-71482a8fc77d88f374abd3311eb87677beba3836.zip
Fix inadvertent tq changes.
(cherry picked from commit ccb576aa671246fd123b5ca8ff8263a6be7c8bff)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_licenses2
-rwxr-xr-xscripts/create_svnignore2
-rwxr-xr-xscripts/cvs2dist2
-rwxr-xr-xscripts/cvscheck6
-rwxr-xr-xscripts/includemocs18
-rw-r--r--scripts/kde-devel-vim.vim6
-rw-r--r--scripts/kde-emacs/kde-emacs-utils.el2
-rwxr-xr-xscripts/kde-spellcheck.pl4
-rwxr-xr-xscripts/pruneemptydirs2
-rwxr-xr-xscripts/svn2dist2
10 files changed, 23 insertions, 23 deletions
diff --git a/scripts/check_licenses b/scripts/check_licenses
index 33e64479..6accd259 100755
--- a/scripts/check_licenses
+++ b/scripts/check_licenses
@@ -26,7 +26,7 @@ sub nameok()
and $f !~ /_stub\.cpp/
and $f !~ /_skel.cpp/
and $f !~ /_closure\.cpp/
- and $f !~ /tqmoc\.cpp/
+ and $f !~ /moc\.cpp/
)
{
return 1;
diff --git a/scripts/create_svnignore b/scripts/create_svnignore
index 299160d2..fed482fa 100755
--- a/scripts/create_svnignore
+++ b/scripts/create_svnignore
@@ -42,7 +42,7 @@ handledir() {
done
fi
grep -q LIBRARIES Makefile.am && addignore ".libs"
- grep -q METASOURCES Makefile.am && addignore "*.tqmoc"
+ grep -q METASOURCES Makefile.am && addignore "*.moc"
fgrep -q .skel Makefile.am && addignore "*.kidl"
fgrep -q .skel Makefile.am && addignore "*_skel.c*"
fgrep -q .stub Makefile.am && addignore "*_stub.cpp"
diff --git a/scripts/cvs2dist b/scripts/cvs2dist
index 60721bdf..dba8a4d9 100755
--- a/scripts/cvs2dist
+++ b/scripts/cvs2dist
@@ -16,7 +16,7 @@ cmdline="$@"
returndir=`pwd`
override="README ChangeLog INSTALL AUTHORS AUTHOR COPYING COPYING.LIB TODO"
-remove="config.cache config.log config.status Makefile configure inst-apps CVS acinclude.m4 aclocal.m4 config.h config.h.bot config.h.in configure.files libtool stamp-h stamp-h.in stamp-h1 subdirs *.tqmoc *.la .libs .deps .cvsignore autom4te.cache {arch} .arch-ids"
+remove="config.cache config.log config.status Makefile configure inst-apps CVS acinclude.m4 aclocal.m4 config.h config.h.bot config.h.in configure.files libtool stamp-h stamp-h.in stamp-h1 subdirs *.moc *.la .libs .deps .cvsignore autom4te.cache {arch} .arch-ids"
toplevelremove="configure.in.bot"
# whitespace seperated list of languages to never include.
always_skip_languages="xx"
diff --git a/scripts/cvscheck b/scripts/cvscheck
index 1e2bb6b7..1e1da5a8 100755
--- a/scripts/cvscheck
+++ b/scripts/cvscheck
@@ -144,9 +144,9 @@ sub processEntries
next if ($e eq "Makefile.calls");
next if ($e eq "Makefile.rules.in");
next if ($e eq "Makefile.calls.in");
- next if ($e =~ /^.*\.tqmoc$/);
+ next if ($e =~ /^.*\.moc$/);
next if ($e =~ /^.+\.gmo$/);
- next if ($e =~ /^.+\.tqmoc\.[^\.]+$/);
+ next if ($e =~ /^.+\.moc\.[^\.]+$/);
next if ($e =~ /^.+\.lo$/);
next if ($e =~ /^.+\.la$/);
next if ($e =~ /^.+\.rpo$/);
@@ -160,7 +160,7 @@ sub processEntries
# Qt specific entries
next if ($e eq ".ui");
- next if ($e eq ".tqmoc");
+ next if ($e eq ".moc");
next if ($e eq ".obj");
$dirunknown{$e} = 1;
diff --git a/scripts/includemocs b/scripts/includemocs
index 08eb85ae..32df1b20 100755
--- a/scripts/includemocs
+++ b/scripts/includemocs
@@ -32,7 +32,7 @@ sub checkdir($)
my $srcs=$dir2files{$dir}->{sources};
foreach my $h (keys %$hdrs) {
(my $name=$h) =~ s/\.[^.]+$//;
- my @answer = `grep -l "^#include[ ]*.$name\.tqmoc." $cppFiles 2> /dev/null`;
+ my @answer = `grep -l "^#include[ ]*.$name\.moc." $cppFiles 2> /dev/null`;
if (@answer == 0) {
my $s;
foreach my $e (split(/\s+/, $cppExt)) {
@@ -42,7 +42,7 @@ sub checkdir($)
}
if ($s) {
print "echo >> $s ;\n";
- print "echo '#include \"$name.tqmoc\"' >> $s ;\n";
+ print "echo '#include \"$name.moc\"' >> $s ;\n";
} else {
print "echo \"can't guess a C++ file for $dir/$h\" ;\n";
}
@@ -63,23 +63,23 @@ foreach my $k (keys %dir2files) {
=head1 NAME
-includetqmocs -- handle tqmocifyable headers, whose .tqmoc file is nowhere included.
+includemocs -- handle mocifyable headers, whose .moc file is nowhere included.
=head1 SYNOPSIS
- includetqmocs
+ includemocs
=head1 DESCRIPTION
-Header files declaring a QObject descendant have to be run through tqmoc to
-produce a .tqmoc file. This .tqmoc file has to be compiled, for which two
+Header files declaring a QObject descendant have to be run through moc to
+produce a .moc file. This .moc file has to be compiled, for which two
possibilities exists: compile it separately, or #include it in the C++ file
implementing that above mentioned class. The latter is more efficient in term
of compilation speed.
This script searches in the current directory and its subdirs for header files
declaring a QObject descendant class. If it finds some, it looks, if there is
-a C++ file containing an '#include' for the generated .tqmoc file. If thats not
+a C++ file containing an '#include' for the generated .moc file. If thats not
the case, it tries to guess into which C++ file that '#include' is placed best
(based on the filename). If it fails to guess a proper place, it mentions
that.
@@ -91,8 +91,8 @@ On stderr some informational messages are printed.
=head1 EXAMPLES
- cd kdebase ; includetqmocs
- cd kdebase ; `eval includetqmocs 2> /dev/null`
+ cd kdebase ; includemocs
+ cd kdebase ; `eval includemocs 2> /dev/null`
=head1 AUTHOR
diff --git a/scripts/kde-devel-vim.vim b/scripts/kde-devel-vim.vim
index 3507c805..99375a97 100644
--- a/scripts/kde-devel-vim.vim
+++ b/scripts/kde-devel-vim.vim
@@ -9,7 +9,7 @@
" should do the trick.
" Don't include these in filename completions
-set suffixes+=.lo,.o,.tqmoc,.la,.closure,.loT
+set suffixes+=.lo,.o,.moc,.la,.closure,.loT
" Search for headers here
set path=.,/usr/include,/usr/local/include,
@@ -314,7 +314,7 @@ function! AddHeader()
let incomment = 1
elseif s =~ '^' . include
break
- elseif s =~ '^#include' && s !~ '\.tqmoc"'
+ elseif s =~ '^#include' && s !~ '\.moc"'
let appendpos = line
elseif codestart == 0 && s !~ '^$'
let codestart = line
@@ -411,7 +411,7 @@ function! UpdateMocFiles()
while i < 80
let s = getline( i )
if s =~ '^#include ".*\.moc"'
- let s = substitute( s, '.*"\(.*\)\.tqmoc"', '\1.h', '' )
+ let s = substitute( s, '.*"\(.*\)\.moc"', '\1.h', '' )
if stridx( &complete, s ) == -1
let &complete = &complete . ',k' . s
endif
diff --git a/scripts/kde-emacs/kde-emacs-utils.el b/scripts/kde-emacs/kde-emacs-utils.el
index 4ad2e314..c6904539 100644
--- a/scripts/kde-emacs/kde-emacs-utils.el
+++ b/scripts/kde-emacs/kde-emacs-utils.el
@@ -312,7 +312,7 @@ This function does not do any hidden buffer changes."
(kde-comments-begin)
(kde-skip-blank-lines)
(setq msubstr (buffer-substring (point-at-bol) (point-at-eol)))
- (if (string-match "^#include.*tqmoc.*" msubstr)
+ (if (string-match "^#include.*moc.*" msubstr)
(progn
(forward-line -1)
(end-of-line)
diff --git a/scripts/kde-spellcheck.pl b/scripts/kde-spellcheck.pl
index 15e53f30..2a8974e0 100755
--- a/scripts/kde-spellcheck.pl
+++ b/scripts/kde-spellcheck.pl
@@ -43,7 +43,7 @@ CAUTION IS NEEDED WHEN USING THIS SCRIPT - changes are made to the original
file and are not programming language syntax aware - this is why the script
only suggests the changes to be made unless --make-changes is specified.
-Hidden files, CVS directories, .desktop, and .tqmoc files are excluded
+Hidden files, CVS directories, .desktop, and .moc files are excluded
from checking.
--check-dictionary : Checks the internal dictionary for potential
@@ -195,7 +195,7 @@ sub process_directory
{
if ( $entry =~ /^\./ or
$entry =~ /\.desktop$/ or
- $entry =~ /\.tqmoc$/ or
+ $entry =~ /\.moc$/ or
$entry eq "CVS" )
{
info "Skipping excluded file or directory: $entry\n";
diff --git a/scripts/pruneemptydirs b/scripts/pruneemptydirs
index 528c0ee8..6f177a0f 100755
--- a/scripts/pruneemptydirs
+++ b/scripts/pruneemptydirs
@@ -20,7 +20,7 @@ files=`find . -type d | grep -v CVS\$ | grep -v admin\$ | grep -v .libs\$ | fgre
toremove="rm -rf";
for i in $files; do if test -d $i; then
# List their contents and filter out generated files
- realfiles=`find $i -type f | egrep -v '.svn|CVS/|Makefile$|Makefile.in$|Makefile.rules.in$|Makefile.calls.in$|\.o$|\.lo$|\.rpo$|\.la$|\.tqmoc|/\.#' `
+ realfiles=`find $i -type f | egrep -v '.svn|CVS/|Makefile$|Makefile.in$|Makefile.rules.in$|Makefile.calls.in$|\.o$|\.lo$|\.rpo$|\.la$|\.moc|/\.#' `
if [ -z "$realfiles" ]; then
toremove="$toremove '$i'"
fi
diff --git a/scripts/svn2dist b/scripts/svn2dist
index 7680ec84..a7004b27 100755
--- a/scripts/svn2dist
+++ b/scripts/svn2dist
@@ -17,7 +17,7 @@ cmdline="$@"
returndir=`pwd`
override="README ChangeLog INSTALL AUTHORS AUTHOR COPYING COPYING.LIB TODO COPYING-DOCS"
-remove="config.cache config.log config.status Makefile configure inst-apps CVS acinclude.m4 aclocal.m4 libtool subdirs *.tqmoc *.la .libs .deps .svn .cvsignore autom4te.cache {arch} .arch-ids *.lo *.o *.bbg *.da *.bb"
+remove="config.cache config.log config.status Makefile configure inst-apps CVS acinclude.m4 aclocal.m4 libtool subdirs *.moc *.la .libs .deps .svn .cvsignore autom4te.cache {arch} .arch-ids *.lo *.o *.bbg *.da *.bb"
toplevelremove="configure.in.bot config.h config.h.bot config.h.in config.status config.log stamp-h stamp-h.in stamp-h1 subdirs configure.files "
# whitespace seperated list of languages to never include.
always_skip_languages="xx"