[PyKDE] More SIP questions

WELCH,DONALD J (HP-Vancouver,ex1) donald_welch at am.exch.hp.com
Tue Mar 25 23:04:00 GMT 2003


Greetings,
 
Thanks again for the quick response to my earlier queries. I have an
additional point of contention:
 
Each of these 5 variables and methods in the class are causing me grief.
 
// channel.h
class Channel 
{
    public:
        static const int MAX_LEN = 4096;
        static const char DEF_NAME[] = "UNKNOWN";
        
        Channel & operator=( const Channel & chan );
 
        virtual ~Channel();
 
        static void delay( struct timeval value);
    ...
};
 
Tried this: 
 
//channel.sip
class Channel
{
%HeaderCode
#include "channel.h"
%End
 
public:
    static const MAX_LEN; // Correct?
    static const char DEF_NAME[]; // Error
    Channel & operator=( const Channel & ); //Error
    virtual ~Channel(); //Error
    static void delay( struct timeval ); //Error
};
 
Any help much appreciated!
 
Regards,
 
Don
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030325/fc71332d/attachment.html


More information about the PyQt mailing list