summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/includemocs2
-rw-r--r--scripts/kde-devel-vim.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/includemocs b/scripts/includemocs
index 2ff30a55..3b2c87f0 100755
--- a/scripts/includemocs
+++ b/scripts/includemocs
@@ -13,7 +13,7 @@ sub collectthing()
if (/\.([^.]+)$/) {
my $ext=$1;
if (" h H hh hxx h++ " =~ / $ext /) {
- my $line=`grep -l '^[{ \t]*Q_OBJECT' $_ 2> /dev/null`;
+ my $line=`grep -l '^[{ \t]*TQ_OBJECT' $_ 2> /dev/null`;
chomp($line);
if ($line) {
$dir2files{$File::Find::dir}->{headers}->{$_} = 1;
diff --git a/scripts/kde-devel-vim.vim b/scripts/kde-devel-vim.vim
index fbe7093e..4e9eaf65 100644
--- a/scripts/kde-devel-vim.vim
+++ b/scripts/kde-devel-vim.vim
@@ -384,7 +384,7 @@ endfunction
function! AddQtSyntax()
if expand( "<amatch>" ) == "cpp"
syn keyword qtKeywords Q_SIGNALS Q_SLOTS emit foreach
- syn keyword qtMacros Q_OBJECT Q_WIDGET TQ_PROPERTY TQ_ENUMS TQ_OVERRIDE TQ_CLASSINFO TQ_SETS SIGNAL SLOT
+ syn keyword qtMacros TQ_OBJECT Q_WIDGET TQ_PROPERTY TQ_ENUMS TQ_OVERRIDE TQ_CLASSINFO TQ_SETS SIGNAL SLOT
syn keyword qtCast qt_cast qobject_cast qvariant_cast qstyleoption_cast
syn keyword qtTypedef uchar uint ushort ulong TQ_INT8 TQ_UINT8 TQ_INT16 TQ_UINT16 TQ_INT32 TQ_UINT32 TQ_LONG TQ_ULONG TQ_INT64 TQ_UINT64 TQ_LLONG TQ_ULLONG pchar puchar pcchar qint8 quint8 qint16 quint16 qint32 quint32 qint64 quint64 qlonglong qulonglong
syn keyword kdeKeywords k_dcop k_dcop_Q_SIGNALS