Qt accessors (getters and setters) generator
资 源 简 介
This project aims to generate getter and setter methods for a property of a C++ class (accessors) in a way that fits well with the Qt property system, reducing the boilerplate code written in a typical project.
sample input:
qaccessorsgen TestClass QString name
sample output:
DECLARATIONS:
QString _name;
Q_PROPERTY(QString name READ name WRITE setName)
QString name();
void setName(const QString& value);
IMPLEMENTATION:
QString TestClass::name()
{
return _name ;
}
void TestClass::setName(const QString& value)
{
_name = value ;
}
文 件 列 表
qaccessorsgen-0.0.1
AUTHORS
ROADMAP
DISTRIBUTING
README
NEWS
qaccessorsgen
GPLV2.txt
COPYING
qaccessorsgen.pro
doc
INSTALL
format_source.sh
qaccessorsgenlib
qaccessorsgentest