1 Dec 2003 16:04
Re: cc-mode for Qt, if interested
Jake Colman <colman <at> ppllc.com>
2003-12-01 15:04:04 GMT
2003-12-01 15:04:04 GMT
>>>>> "MS" == Martin Stjernholm <mast <at> lysator.liu.se> writes:
MS> Jake Colman <colman <at> ppllc.com> wrote:
>> /.../ If you fix the core to handle the missing semicolons, will
>> that pretty much solve the problem of the Qt macros?
MS> I don't know. Vincent Poinot obviously want them indented in another
MS> way, as can been seen a few mails back in this thread. But maybe
MS> that's just his personal preference rather than some generic rule most
MS> Qt developers follow.
Qt's own source code uses the followning indentation (edited for brevity):
class Q_EXPORT QComboBox : public QWidget
{
Q_OBJECT
Q_ENUMS( Policy )
Q_PROPERTY( bool editable READ editable WRITE setEditable )
public:
QComboBox( QWidget* parent=0, const char* name=0 );
QComboBox( bool rw, QWidget* parent=0, const char* name=0 );
};
This is my preferred indentation but is not how Vincent would like to see
it. If you can provide this indentation with core changes, you'd make alot
of Qt developers very happy.
--
--
Jake Colman
(Continue reading)
RSS Feed