PDA

View Full Version : Static function signature



jhearon
30th January 2008, 17:09
Hi,
I'm confused about static functions.
How would I go about creating the signature for this static function when trying to
make a QT widget out of this SoQt static function?


static SoSeparator *nurbscurve_graph()
{
}
................

//mywidget.h
public:
static SoSeparator * nurbscurve_graph();

//mywidget.cpp
void mywidget::static SoSeparator * nurbscurve_graph();
{
}

thanks.

jpn
30th January 2008, 20:49
public:
static SoSeparator * nurbscurve_graph();

SoSeparator * mywidget::nurbscurve_graph()
{
}