summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-10-20 21:33:08 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-10-20 21:33:08 -0500
commitd3fa742c69aff07a76e7d21325b83401089eeb2b (patch)
treea1049aae1f0463a58660108d06dc2923bd374d15
parentc20f47dbc3ee3e31324cf6ddfcc21e55f7876b6d (diff)
downloadtdesdk-d3fa742c69aff07a76e7d21325b83401089eeb2b.tar.gz
tdesdk-d3fa742c69aff07a76e7d21325b83401089eeb2b.zip
Update TQt3 property/enum macros
-rw-r--r--kbabel/commonui/kactionselector.h2
-rw-r--r--scripts/kde-devel-vim.vim2
-rw-r--r--umbrello/umbrello/codeimport/kdevcppparser/driver.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/commonui/kactionselector.h b/kbabel/commonui/kactionselector.h
index 8e401718..3a13303b 100644
--- a/kbabel/commonui/kactionselector.h
+++ b/kbabel/commonui/kactionselector.h
@@ -87,7 +87,7 @@ class KActionSelectorPrivate;
class KActionSelector : public TQWidget {
Q_OBJECT
- Q_ENUMS( ButtonIconSize InsertionPolicy )
+ TQ_ENUMS( ButtonIconSize InsertionPolicy )
TQ_PROPERTY( bool moveOnDoubleClick READ moveOnDoubleClick WRITE setMoveOnDoubleClick )
TQ_PROPERTY( bool keyboardEnabled READ keyboardEnabled WRITE setKeyboardEnabled )
TQ_PROPERTY( TQString availableLabel READ availableLabel WRITE setAvailableLabel )
diff --git a/scripts/kde-devel-vim.vim b/scripts/kde-devel-vim.vim
index 765fd39c..40ad4186 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 Q_PROPERTY Q_ENUMS Q_OVERRIDE Q_CLASSINFO Q_SETS SIGNAL SLOT
+ syn keyword qtMacros Q_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
diff --git a/umbrello/umbrello/codeimport/kdevcppparser/driver.cpp b/umbrello/umbrello/codeimport/kdevcppparser/driver.cpp
index d3c8a1df..b3a7329c 100644
--- a/umbrello/umbrello/codeimport/kdevcppparser/driver.cpp
+++ b/umbrello/umbrello/codeimport/kdevcppparser/driver.cpp
@@ -326,7 +326,7 @@ void Driver::setupLexer( Lexer * lexer )
// qt
lexer->addSkipWord( "TQ_OVERRIDE", SkipWordAndArguments );
- lexer->addSkipWord( "Q_ENUMS", SkipWordAndArguments );
+ lexer->addSkipWord( "TQ_ENUMS", SkipWordAndArguments );
lexer->addSkipWord( "TQ_PROPERTY", SkipWordAndArguments );
lexer->addSkipWord( "TQ_CLASSINFO", SkipWordAndArguments );
lexer->addSkipWord( "TQ_SETS", SkipWordAndArguments );