Hi,
I am trying to use the slots in a class that is define by using the word namespace in the Qt Creator but it is showing an error "Needs an declaration"
Is it possible to do so the code that i have written is
namespace CCentralImply
{
void func();
void func_one();
private slots: //At this Line it shows error [B]expected declaration[/B]
slot_name();
}
namespace CCentralImply
{
void func();
void func_one();
private slots: //At this Line it shows error [B]expected declaration[/B]
slot_name();
}
To copy to clipboard, switch view to plain text mode
Thanks & regards,
Rohith.G
Bookmarks