I was doing Qt gui programming, in signals and slot section, I have the following syntax:
class Myclass
{
public slot:
signal:
}
Is this allowed to have a labelled region in class because normally I have seen this:
class Myclass
{
public:
//declarations
}
Can access modifiers have label also or it is a specific syntax in Qt?
Please clarify. Any help is appreciated. Thanks in advance.