diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-20 15:07:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-20 15:07:21 +0900 |
commit | 44548d3e71aab859c1547104f3419fd288add594 (patch) | |
tree | 16e117503409cd83a1af0b59a0cfa362316c9635 /scripts | |
parent | b6f300eb213c1eaa7d3a1cece80cc9e7c46dc578 (diff) | |
download | tdesdk-44548d3e71aab859c1547104f3419fd288add594.tar.gz tdesdk-44548d3e71aab859c1547104f3419fd288add594.zip |
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/includemocs | 2 | ||||
-rw-r--r-- | scripts/kde-devel-vim.vim | 2 |
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 |