[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-perl
Subject:    [Kde-perl] Constant objects (aka. you want waitCursor, right?)
From:       Ashley Winters <qaqortog () nwlink ! com>
Date:       2002-05-28 21:40:10
[Download RAW message or body]

I got t8 working, and as I was trying t9 I just realized that the constant 
static color/cursor objects from the Qt class aren't interfaced anywhere.

David... :)

static QCursor blue();   // fake prototype

class x_Qt : public Qt {
    // ...
    static void x_499(Smoke::Stack x) {
	x[0].s_class = (void*)new QColor(Qt::blue);
    }
    // ...
};

Make the return-value "QColor", not "const QColor&". I don't want to return a 
const object when I don't have to (const is evil). I plan to enforce const, 
someday...

Ashley Winters

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic