From 3c9c6c22a3e443bf98087def488e60f381a09bad Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:07:21 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit 44548d3e71aab859c1547104f3419fd288add594) --- scripts/includemocs | 2 +- scripts/kde-devel-vim.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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( "" ) == "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 -- cgit v1.2.1