GUI: Rename project file related methods in mainwindow.

This commit is contained in:
Kimmo Varis 2010-07-13 12:33:24 +03:00
parent b8980c4892
commit 4a1708013e
2 changed files with 8 additions and 8 deletions

View File

@ -81,8 +81,8 @@ MainWindow::MainWindow() :
connect(mUI.mResults, SIGNAL(GotResults()), this, SLOT(ResultsAdded()));
connect(mUI.mMenuView, SIGNAL(aboutToShow()), this, SLOT(AboutToShowViewMenu()));
connect(mUI.mActionNewProjectFile, SIGNAL(triggered()), this, SLOT(NewProjectFileDialog()));
connect(mUI.mActionOpenProjectFile, SIGNAL(triggered()), this, SLOT(ShowProjectFileDialog()));
connect(mUI.mActionNewProjectFile, SIGNAL(triggered()), this, SLOT(NewProjectFile()));
connect(mUI.mActionOpenProjectFile, SIGNAL(triggered()), this, SLOT(OpenProjectFile()));
#ifdef WIN32
connect(mUI.mActionHelpContents, SIGNAL(triggered()), this, SLOT(OpenHelpContents()));
@ -685,7 +685,7 @@ void MainWindow::OpenHtmlHelpContents()
#endif // WIN32
}
void MainWindow::ShowProjectFileDialog()
void MainWindow::OpenProjectFile()
{
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
QString filepath = QFileDialog::getOpenFileName(this,
@ -701,7 +701,7 @@ void MainWindow::ShowProjectFileDialog()
}
}
void MainWindow::NewProjectFileDialog()
void MainWindow::NewProjectFile()
{
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
QString filepath = QFileDialog::getSaveFileName(this,

View File

@ -132,16 +132,16 @@ public slots:
void Save();
/**
* @brief Slot to shown project file dialog for new project file.
* @brief Slot to create new project file..
*
*/
void NewProjectFileDialog();
void NewProjectFile();
/**
* @brief Slot to shown project file dialog for existing project file.
* @brief Slot to edit existing project file.
*
*/
void ShowProjectFileDialog();
void OpenProjectFile();
protected slots: