diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 21:39:08 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 21:39:08 -0500 |
commit | 4ee9bc52eb83d3dbe097893bf5df36dd26279280 (patch) | |
tree | 3eebbcd7afa309b92cf2c329d0dc5b4e7d3bb348 /lib | |
parent | 70a3c0d90bf27c502ec710042250d51e2eb8bd99 (diff) | |
download | tdevelop-4ee9bc52eb83d3dbe097893bf5df36dd26279280.tar.gz tdevelop-4ee9bc52eb83d3dbe097893bf5df36dd26279280.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cppparser/driver.cpp | 2 | ||||
-rw-r--r-- | lib/widgets/propeditor/Mainpage.dox | 2 | ||||
-rw-r--r-- | lib/widgets/qcomboview.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/cppparser/driver.cpp b/lib/cppparser/driver.cpp index 4c7fe6dc..0f5174a0 100644 --- a/lib/cppparser/driver.cpp +++ b/lib/cppparser/driver.cpp @@ -600,7 +600,7 @@ void Driver::setupLexer( Lexer * lexer ) { lexer->addSkipWord( "Q_OBJECT" ); lexer->addSkipWord( "" ); 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 ); diff --git a/lib/widgets/propeditor/Mainpage.dox b/lib/widgets/propeditor/Mainpage.dox index a46f0eb5..9a3a741a 100644 --- a/lib/widgets/propeditor/Mainpage.dox +++ b/lib/widgets/propeditor/Mainpage.dox @@ -22,7 +22,7 @@ with the goal to be more generic and extensible. Library provides a @ref PropertyLib::Property class which stores property name, value and some more important information like description or the list of possible values. -Using @ref PropertyLib::Property class adds more overhead over Q_PROPERTY but provides more +Using @ref PropertyLib::Property class adds more overhead over TQ_PROPERTY but provides more flexibility. You can subclass @ref PropertyLib::Property and create your custom properties. Custom properties can have either predefined type (see @ref PropertyLib::Property::PropertyType) or custom type. Custom type should be used if a custom property editor widget is diff --git a/lib/widgets/qcomboview.h b/lib/widgets/qcomboview.h index b97bb3c9..51d57eec 100644 --- a/lib/widgets/qcomboview.h +++ b/lib/widgets/qcomboview.h @@ -42,7 +42,7 @@ class TQ_EXPORT QComboView : public TQWidget { Q_OBJECT - Q_ENUMS( Policy ) + TQ_ENUMS( Policy ) TQ_PROPERTY( bool editable READ editable WRITE setEditable ) // TQ_PROPERTY( int count READ count ) TQ_PROPERTY( TQString currentText READ currentText WRITE setCurrentText DESIGNABLE false ) |