X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=Client%2Fmainwindow.cpp;h=04aeb97c14c03b815e11139237c5b0893f28afd4;hb=5786051c926ebc119ffe39c3e55f9a5652db68c1;hp=6eb8757c928db06523378ca21fe8702f8af3ab1f;hpb=43b1f319f4f2ffab0e8aa75c485b0cc5cd8d03d4;p=speedfreak diff --git a/Client/mainwindow.cpp b/Client/mainwindow.cpp index 6eb8757..04aeb97 100644 --- a/Client/mainwindow.cpp +++ b/Client/mainwindow.cpp @@ -180,7 +180,6 @@ MainWindow::~MainWindow() delete customButtonHelp; } - /** * */ @@ -220,7 +219,7 @@ void MainWindow::clientRequestTopList(int index) } /** - *This function is used to set items to category combobox. Top-tab view. + *This function is used to set items to category combobox. *@param */ void MainWindow::setCategoryCompoBox() @@ -284,11 +283,14 @@ void MainWindow::clientUserLogin() /** * This function send route data to server. + * @param QString oldName, old file name + * @param QString newName, new file name + * @param int i */ -void MainWindow::clientSendRoute() +void MainWindow::clientSendRoute(QString oldName, QString newName, int i) { if(httpClient) - httpClient->sendRouteXml(); + httpClient->sendRouteXml(oldName, newName, i); } /** @@ -375,7 +377,7 @@ void MainWindow::OpenRouteDialog() if(!routeSaveDialog) routeSaveDialog = new RouteSaveDialog; - connect(routeSaveDialog, SIGNAL(sendroute()), this, SLOT(clientSendRoute())); + connect(routeSaveDialog, SIGNAL(sendroute(QString,QString,int)), this, SLOT(clientSendRoute(QString,QString,int))); connect(routeSaveDialog, SIGNAL(rejected()), this, SLOT(killDialog())); routeSaveDialog->show(); }