GUI: Rename project file related methods in mainwindow.
This commit is contained in:
parent
b8980c4892
commit
4a1708013e
@ -81,8 +81,8 @@ MainWindow::MainWindow() :
|
|||||||
connect(mUI.mResults, SIGNAL(GotResults()), this, SLOT(ResultsAdded()));
|
connect(mUI.mResults, SIGNAL(GotResults()), this, SLOT(ResultsAdded()));
|
||||||
connect(mUI.mMenuView, SIGNAL(aboutToShow()), this, SLOT(AboutToShowViewMenu()));
|
connect(mUI.mMenuView, SIGNAL(aboutToShow()), this, SLOT(AboutToShowViewMenu()));
|
||||||
|
|
||||||
connect(mUI.mActionNewProjectFile, SIGNAL(triggered()), this, SLOT(NewProjectFileDialog()));
|
connect(mUI.mActionNewProjectFile, SIGNAL(triggered()), this, SLOT(NewProjectFile()));
|
||||||
connect(mUI.mActionOpenProjectFile, SIGNAL(triggered()), this, SLOT(ShowProjectFileDialog()));
|
connect(mUI.mActionOpenProjectFile, SIGNAL(triggered()), this, SLOT(OpenProjectFile()));
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
connect(mUI.mActionHelpContents, SIGNAL(triggered()), this, SLOT(OpenHelpContents()));
|
connect(mUI.mActionHelpContents, SIGNAL(triggered()), this, SLOT(OpenHelpContents()));
|
||||||
@ -685,7 +685,7 @@ void MainWindow::OpenHtmlHelpContents()
|
|||||||
#endif // WIN32
|
#endif // WIN32
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::ShowProjectFileDialog()
|
void MainWindow::OpenProjectFile()
|
||||||
{
|
{
|
||||||
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
|
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
|
||||||
QString filepath = QFileDialog::getOpenFileName(this,
|
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(*.*)");
|
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
|
||||||
QString filepath = QFileDialog::getSaveFileName(this,
|
QString filepath = QFileDialog::getSaveFileName(this,
|
||||||
|
@ -132,16 +132,16 @@ public slots:
|
|||||||
void Save();
|
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:
|
protected slots:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user