So, i want to call a function of my main class "mywidget" and i don't know how...please help me fast

here are the codes:
class Buttonublic QPushButton
{
public:
int y,x;
Button(QWidget *parent);
void apasat();
};
class MyWidgetublic QWidget
{
private:
QPushButton *quit;
Button *but[20][20];
public:
MyWidget(QWidget *parent=0,const char *name=0);
void verifica(int y, int x);
};
and ti try to call the function like this:
void Button::apasat()
{
MyWidget::verifica(y,x);
}
help me plz