}
}
+/**
+ * This slot function opens browser to project www page.
+ */
void MainWindow::on_pushButtonWWW_clicked()
{
QDesktopServices::openUrl(QUrl("http://garage.maemo.org/projects/speedfreak/"));
}
+/**
+ * This slot function opens the credits dialog
+ */
void MainWindow::on_pushButtonCredits_clicked()
{
creditsDialog->show();
}
+/**
+ * This slot function opens the route save dialog
+ */
void MainWindow::on_pushButtonRoute_clicked()
{
routeSaveDialog->show();
}
+/**
+ * This slot function opens the settings dialog
+ */
void MainWindow::on_pushButtonSettings_clicked()
{
settingsDialog->show();
}
+/**
+ * This slot function opens the acceleration dialog
+ */
void MainWindow::on_pushButtonAccelerate_clicked()
{
if(!accstart)
accstart->show();
}
+/**
+ * This slot function opens the top results dialog
+ */
void MainWindow::on_pushButtonResults_clicked()
{
topResultDialog->show();
topResultDialog->showTopList(topList);
}
+/**
+ * This function performs registration to server
+ */
void MainWindow::regUserToServer()
{
httpClient->requestRegistration();
}
+/**
+ * This function performs login to server
+ */
void MainWindow::userLogin()
{
httpClient->checkLogin();