atil
20th September 2006, 06:11
I want to use a method "FontStyle" which is already in .net
In QT, I m using QFont::Style. So is it ok?
and another thing is that if i want to take type name of the variable QFont::Style then waht is the method.
At now i m using.
QFont::Style fontStyle;
QString str;
str = QVariant::fromValue(fontStyle).typeName();
but it gives an error.
In QT, I m using QFont::Style. So is it ok?
and another thing is that if i want to take type name of the variable QFont::Style then waht is the method.
At now i m using.
QFont::Style fontStyle;
QString str;
str = QVariant::fromValue(fontStyle).typeName();
but it gives an error.