@@ -32,9 +32,9 @@ LogView::LogView(QWidget *parent)
3232 setWindowFlags (Qt::Tool);
3333
3434 mUI .mButtonBox ->button (QDialogButtonBox::Reset)->setText (tr (" Clear" ));
35- connect (mUI .mButtonBox ->button (QDialogButtonBox::Close), SIGNAL (clicked ()), this , SLOT (CloseButtonClicked ()));
36- connect (mUI .mButtonBox ->button (QDialogButtonBox::Reset), SIGNAL (clicked ()), this , SLOT (ClearButtonClicked ()));
37- connect (mUI .mButtonBox ->button (QDialogButtonBox::Save), SIGNAL (clicked ()), this , SLOT (SaveButtonClicked ()));
35+ connect (mUI .mButtonBox ->button (QDialogButtonBox::Close), SIGNAL (clicked ()), this , SLOT (closeButtonClicked ()));
36+ connect (mUI .mButtonBox ->button (QDialogButtonBox::Reset), SIGNAL (clicked ()), this , SLOT (clearButtonClicked ()));
37+ connect (mUI .mButtonBox ->button (QDialogButtonBox::Save), SIGNAL (clicked ()), this , SLOT (saveButtonClicked ()));
3838
3939 QSettings settings;
4040 resize (settings.value (SETTINGS_LOG_VIEW_WIDTH, 400 ).toInt (),
@@ -48,22 +48,22 @@ LogView::~LogView()
4848 settings.setValue (SETTINGS_LOG_VIEW_HEIGHT, size ().height ());
4949}
5050
51- void LogView::AppendLine (const QString &line)
51+ void LogView::appendLine (const QString &line)
5252{
5353 mUI .mLogEdit ->appendPlainText (line);
5454}
5555
56- void LogView::CloseButtonClicked ()
56+ void LogView::closeButtonClicked ()
5757{
5858 close ();
5959}
6060
61- void LogView::ClearButtonClicked ()
61+ void LogView::clearButtonClicked ()
6262{
6363 mUI .mLogEdit ->clear ();
6464}
6565
66- void LogView::SaveButtonClicked ()
66+ void LogView::saveButtonClicked ()
6767{
6868 QString fileName = QFileDialog::getSaveFileName (this , tr (" Save Log" ),
6969 " " , tr (" Text files (*.txt *.log);;All files (*.*)" ));
0 commit comments