delete customButtonHelp;
}
-
/**
*
*/
}
/**
- *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()
/**
* 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);
}
/**
}
if(routeSaveDialog)
{
- qDebug() << "__MW kill: routeSaveDialog";
+ //qDebug() << "__MW kill: routeSaveDialog";
//delete routeSaveDialog;
//routeSaveDialog = NULL;
}
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();
}