Example #1
0
void jezibaba::on_label_clicked()
{
    //qDebug() << "serepes\n";
    Chat *chat = new Chat();
    chat->showFullScreen();
    connect(chat, SIGNAL(closing()), this, SLOT(showFullScreen()));
}
Example #2
0
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    Chat d;
    QObject::connect(&d, SIGNAL(accepted()), &app, SLOT(quit()));

#if defined(Q_WS_MAEMO_6)
    d.showFullScreen();
#else
    d.show();
#endif

    app.exec();

    return 0;
}