[Kde-bindings] SMOKE and QSyntaxHighlighter

Richard Dale richard.j.dale at gmail.com
Wed Mar 7 16:03:21 UTC 2007


On Wednesday 07 March 2007, Arno Rehn wrote:
> Hi,
>
> I just looked through the Qyoto code again and wondered why there is no
> QSyntaxHighlighter.HighlightBlock() method. I took a look into the SMOKE
> API with rbqt4api, but I don't even find the method in SMOKE. Doesn't it
> work with smoke or is it some kind of parsing bug?
Ah, highlightBlock() is a pure virtual method, and pure virtual methods are in
the Smoke lib, but only as callbacks to the bindings code:

    virtual void highlightBlock(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_voidp = (void*)&x1;
        qt_Smoke->binding->callMethod(13079, (void*)this, x, true /*pure
virtual*/);
        return;
        // ABSTRACT
    }

So probably they should be added to the Qyoto.cs classes as 'abstract'
methods.

-- Richard



More information about the Kde-bindings mailing list