@@ -72,69 +72,69 @@ MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) :
7272 mFilterTimer = new QTimer (this );
7373 mFilterTimer ->setInterval (500 );
7474 mFilterTimer ->setSingleShot (true );
75- connect (mFilterTimer , SIGNAL (timeout ()), this , SLOT (FilterResults ()));
75+ connect (mFilterTimer , SIGNAL (timeout ()), this , SLOT (filterResults ()));
7676
7777 // "Filter" toolbar
7878 mLineEditFilter = new QLineEdit (mUI .mToolBarFilter );
7979 mLineEditFilter ->setPlaceholderText (tr (" Quick Filter:" ));
8080 mUI .mToolBarFilter ->addWidget (mLineEditFilter );
8181 connect (mLineEditFilter , SIGNAL (textChanged (const QString&)), mFilterTimer , SLOT (start ()));
82- connect (mLineEditFilter , SIGNAL (returnPressed ()), this , SLOT (FilterResults ()));
82+ connect (mLineEditFilter , SIGNAL (returnPressed ()), this , SLOT (filterResults ()));
8383
84- connect (mUI .mActionPrint , SIGNAL (triggered ()), mUI .mResults , SLOT (Print ()));
85- connect (mUI .mActionPrintPreview , SIGNAL (triggered ()), mUI .mResults , SLOT (PrintPreview ()));
84+ connect (mUI .mActionPrint , SIGNAL (triggered ()), mUI .mResults , SLOT (print ()));
85+ connect (mUI .mActionPrintPreview , SIGNAL (triggered ()), mUI .mResults , SLOT (printPreview ()));
8686 connect (mUI .mActionQuit , SIGNAL (triggered ()), this , SLOT (close ()));
87- connect (mUI .mActionCheckFiles , SIGNAL (triggered ()), this , SLOT (CheckFiles ()));
88- connect (mUI .mActionCheckDirectory , SIGNAL (triggered ()), this , SLOT (CheckDirectory ()));
89- connect (mUI .mActionSettings , SIGNAL (triggered ()), this , SLOT (ProgramSettings ()));
90- connect (mUI .mActionClearResults , SIGNAL (triggered ()), this , SLOT (ClearResults ()));
91- connect (mUI .mActionOpenXML , SIGNAL (triggered ()), this , SLOT (OpenResults ()));
92-
93- connect (mUI .mActionShowStyle , SIGNAL (toggled (bool )), this , SLOT (ShowStyle (bool )));
94- connect (mUI .mActionShowErrors , SIGNAL (toggled (bool )), this , SLOT (ShowErrors (bool )));
95- connect (mUI .mActionShowWarnings , SIGNAL (toggled (bool )), this , SLOT (ShowWarnings (bool )));
96- connect (mUI .mActionShowPortability , SIGNAL (toggled (bool )), this , SLOT (ShowPortability (bool )));
97- connect (mUI .mActionShowPerformance , SIGNAL (toggled (bool )), this , SLOT (ShowPerformance (bool )));
98- connect (mUI .mActionShowInformation , SIGNAL (toggled (bool )), this , SLOT (ShowInformation (bool )));
99- connect (mUI .mActionCheckAll , SIGNAL (triggered ()), this , SLOT (CheckAll ()));
100- connect (mUI .mActionUncheckAll , SIGNAL (triggered ()), this , SLOT (UncheckAll ()));
101- connect (mUI .mActionCollapseAll , SIGNAL (triggered ()), mUI .mResults , SLOT (CollapseAllResults ()));
102- connect (mUI .mActionExpandAll , SIGNAL (triggered ()), mUI .mResults , SLOT (ExpandAllResults ()));
103- connect (mUI .mActionShowHidden , SIGNAL (triggered ()), mUI .mResults , SLOT (ShowHiddenResults ()));
104- connect (mUI .mActionViewLog , SIGNAL (triggered ()), this , SLOT (ShowLogView ()));
105- connect (mUI .mActionViewStats , SIGNAL (triggered ()), this , SLOT (ShowStatistics ()));
106- connect (mUI .mActionLibraryEditor , SIGNAL (triggered ()), this , SLOT (ShowLibraryEditor ()));
107-
108- connect (mUI .mActionRecheckModified , SIGNAL (triggered ()), this , SLOT (ReCheckModified ()));
109- connect (mUI .mActionRecheckAll , SIGNAL (triggered ()), this , SLOT (ReCheckAll ()));
110-
111- connect (mUI .mActionStop , SIGNAL (triggered ()), this , SLOT (StopChecking ()));
112- connect (mUI .mActionSave , SIGNAL (triggered ()), this , SLOT (Save ()));
87+ connect (mUI .mActionCheckFiles , SIGNAL (triggered ()), this , SLOT (checkFiles ()));
88+ connect (mUI .mActionCheckDirectory , SIGNAL (triggered ()), this , SLOT (checkDirectory ()));
89+ connect (mUI .mActionSettings , SIGNAL (triggered ()), this , SLOT (programSettings ()));
90+ connect (mUI .mActionClearResults , SIGNAL (triggered ()), this , SLOT (clearResults ()));
91+ connect (mUI .mActionOpenXML , SIGNAL (triggered ()), this , SLOT (openResults ()));
92+
93+ connect (mUI .mActionShowStyle , SIGNAL (toggled (bool )), this , SLOT (showStyle (bool )));
94+ connect (mUI .mActionShowErrors , SIGNAL (toggled (bool )), this , SLOT (showErrors (bool )));
95+ connect (mUI .mActionShowWarnings , SIGNAL (toggled (bool )), this , SLOT (showWarnings (bool )));
96+ connect (mUI .mActionShowPortability , SIGNAL (toggled (bool )), this , SLOT (showPortability (bool )));
97+ connect (mUI .mActionShowPerformance , SIGNAL (toggled (bool )), this , SLOT (showPerformance (bool )));
98+ connect (mUI .mActionShowInformation , SIGNAL (toggled (bool )), this , SLOT (showInformation (bool )));
99+ connect (mUI .mActionCheckAll , SIGNAL (triggered ()), this , SLOT (checkAll ()));
100+ connect (mUI .mActionUncheckAll , SIGNAL (triggered ()), this , SLOT (uncheckAll ()));
101+ connect (mUI .mActionCollapseAll , SIGNAL (triggered ()), mUI .mResults , SLOT (collapseAllResults ()));
102+ connect (mUI .mActionExpandAll , SIGNAL (triggered ()), mUI .mResults , SLOT (expandAllResults ()));
103+ connect (mUI .mActionShowHidden , SIGNAL (triggered ()), mUI .mResults , SLOT (showHiddenResults ()));
104+ connect (mUI .mActionViewLog , SIGNAL (triggered ()), this , SLOT (showLogView ()));
105+ connect (mUI .mActionViewStats , SIGNAL (triggered ()), this , SLOT (showStatistics ()));
106+ connect (mUI .mActionLibraryEditor , SIGNAL (triggered ()), this , SLOT (showLibraryEditor ()));
107+
108+ connect (mUI .mActionRecheckModified , SIGNAL (triggered ()), this , SLOT (reCheckModified ()));
109+ connect (mUI .mActionRecheckAll , SIGNAL (triggered ()), this , SLOT (reCheckAll ()));
110+
111+ connect (mUI .mActionStop , SIGNAL (triggered ()), this , SLOT (stopChecking ()));
112+ connect (mUI .mActionSave , SIGNAL (triggered ()), this , SLOT (save ()));
113113
114114 // About menu
115- connect (mUI .mActionAbout , SIGNAL (triggered ()), this , SLOT (About ()));
116- connect (mUI .mActionLicense , SIGNAL (triggered ()), this , SLOT (ShowLicense ()));
115+ connect (mUI .mActionAbout , SIGNAL (triggered ()), this , SLOT (about ()));
116+ connect (mUI .mActionLicense , SIGNAL (triggered ()), this , SLOT (showLicense ()));
117117
118118 // View > Toolbar menu
119- connect (mUI .mActionToolBarMain , SIGNAL (toggled (bool )), this , SLOT (ToggleMainToolBar ()));
120- connect (mUI .mActionToolBarView , SIGNAL (toggled (bool )), this , SLOT (ToggleViewToolBar ()));
121- connect (mUI .mActionToolBarFilter , SIGNAL (toggled (bool )), this , SLOT (ToggleFilterToolBar ()));
119+ connect (mUI .mActionToolBarMain , SIGNAL (toggled (bool )), this , SLOT (toggleMainToolBar ()));
120+ connect (mUI .mActionToolBarView , SIGNAL (toggled (bool )), this , SLOT (toggleViewToolBar ()));
121+ connect (mUI .mActionToolBarFilter , SIGNAL (toggled (bool )), this , SLOT (toggleFilterToolBar ()));
122122
123- connect (mUI .mActionAuthors , SIGNAL (triggered ()), this , SLOT (ShowAuthors ()));
124- connect (mThread , SIGNAL (Done ()), this , SLOT (CheckDone ()));
125- connect (mUI .mResults , SIGNAL (GotResults ()), this , SLOT (ResultsAdded ()));
126- connect (mUI .mResults , SIGNAL (ResultsHidden (bool )), mUI .mActionShowHidden , SLOT (setEnabled (bool )));
127- connect (mUI .mResults , SIGNAL (CheckSelected (QStringList)), this , SLOT (PerformSelectedFilesCheck (QStringList)));
128- connect (mUI .mMenuView , SIGNAL (aboutToShow ()), this , SLOT (AboutToShowViewMenu ()));
123+ connect (mUI .mActionAuthors , SIGNAL (triggered ()), this , SLOT (showAuthors ()));
124+ connect (mThread , SIGNAL (Done ()), this , SLOT (checkDone ()));
125+ connect (mUI .mResults , SIGNAL (gotResults ()), this , SLOT (resultsAdded ()));
126+ connect (mUI .mResults , SIGNAL (resultsHidden (bool )), mUI .mActionShowHidden , SLOT (setEnabled (bool )));
127+ connect (mUI .mResults , SIGNAL (checkSelected (QStringList)), this , SLOT (performSelectedFilesCheck (QStringList)));
128+ connect (mUI .mMenuView , SIGNAL (aboutToShow ()), this , SLOT (aboutToShowViewMenu ()));
129129
130130 // File menu
131- connect (mUI .mActionNewProjectFile , SIGNAL (triggered ()), this , SLOT (NewProjectFile ()));
132- connect (mUI .mActionOpenProjectFile , SIGNAL (triggered ()), this , SLOT (OpenProjectFile ()));
133- connect (mUI .mActionShowScratchpad , SIGNAL (triggered ()), this , SLOT (ShowScratchpad ()));
134- connect (mUI .mActionCloseProjectFile , SIGNAL (triggered ()), this , SLOT (CloseProjectFile ()));
135- connect (mUI .mActionEditProjectFile , SIGNAL (triggered ()), this , SLOT (EditProjectFile ()));
131+ connect (mUI .mActionNewProjectFile , SIGNAL (triggered ()), this , SLOT (newProjectFile ()));
132+ connect (mUI .mActionOpenProjectFile , SIGNAL (triggered ()), this , SLOT (openProjectFile ()));
133+ connect (mUI .mActionShowScratchpad , SIGNAL (triggered ()), this , SLOT (showScratchpad ()));
134+ connect (mUI .mActionCloseProjectFile , SIGNAL (triggered ()), this , SLOT (closeProjectFile ()));
135+ connect (mUI .mActionEditProjectFile , SIGNAL (triggered ()), this , SLOT (editProjectFile ()));
136136
137- connect (mUI .mActionHelpContents , SIGNAL (triggered ()), this , SLOT (OpenHelpContents ()));
137+ connect (mUI .mActionHelpContents , SIGNAL (triggered ()), this , SLOT (openHelpContents ()));
138138
139139 loadSettings ();
140140
@@ -159,7 +159,7 @@ MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) :
159159 mRecentProjectActs [i] = new QAction (this );
160160 mRecentProjectActs [i]->setVisible (false );
161161 connect (mRecentProjectActs [i], SIGNAL (triggered ()),
162- this , SLOT (OpenRecentProject ()));
162+ this , SLOT (openRecentProject ()));
163163 }
164164 mRecentProjectActs [MaxRecentProjects] = NULL ; // The separator
165165 mUI .mActionProjectMRU ->setVisible (false );
@@ -182,7 +182,7 @@ MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) :
182182 act->setCheckable (true );
183183 act->setActionGroup (mPlatformActions );
184184 mUI .mMenuCheck ->insertAction (mUI .mActionPlatforms , act);
185- connect (act, SIGNAL (triggered ()), this , SLOT (SelectPlatform ()));
185+ connect (act, SIGNAL (triggered ()), this , SLOT (selectPlatform ()));
186186 }
187187
188188 mUI .mActionC89 ->setActionGroup (mCStandardActions );
0 commit comments