Пример #1
0
void MainWindow::on_installButton_clicked()
{
    ManageWindow * window = new ManageWindow(this, *_games);
#ifdef Q_WS_MAEMO_5
    window->setAttribute(Qt::WA_Maemo5StackedWindow);
    window->setWindowFlags(Qt::Window);
#endif
    window->show();
    connect(window, SIGNAL(destroyed()), this, SLOT(UpdateLabels()));
}
Пример #2
0
void  MainWindow::on_manageButton_clicked()
{
    ConnectorPath  conPath( _connector, _curItemPath);
    ManageWindow*  manageWindow = new ManageWindow( _appSettings, conPath, 0);
    manageWindow->show();
}