From ae2c9f2dc955ec53845f35edefaca70ce29689ba Mon Sep 17 00:00:00 2001 From: Andrea Giudiceandrea Date: Thu, 27 Aug 2020 22:03:01 +0200 Subject: [PATCH] Remove some other leftovers trailing asterisks Followup #38378 --- python/core/auto_generated/qgslogger.sip.in | 8 ++++---- src/app/qgisapp.h | 2 +- src/core/pal/layer.h | 2 +- src/core/qgsgml.h | 2 +- src/core/qgslogger.h | 8 ++++---- src/core/qgsmaplayer.h | 2 +- src/gui/ogr/qgsnewogrconnection.cpp | 4 ++-- .../geometry_checker/qgsgeometrycheckerresulttab.cpp | 6 +++--- src/providers/db2/qgsdb2newconnection.cpp | 4 ++-- src/providers/mssql/qgsmssqlnewconnection.cpp | 4 ++-- src/providers/mssql/qgsmssqlprovider.h | 2 +- src/providers/oracle/qgsoraclesourceselect.cpp | 4 ++-- src/providers/postgres/qgspgnewconnection.cpp | 4 ++-- src/providers/postgres/qgspgsourceselect.cpp | 4 ++-- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/python/core/auto_generated/qgslogger.sip.in b/python/core/auto_generated/qgslogger.sip.in index 6d3817592f3..44b62c8fc06 100644 --- a/python/core/auto_generated/qgslogger.sip.in +++ b/python/core/auto_generated/qgslogger.sip.in @@ -56,17 +56,17 @@ Similar to the previous method, but prints a variable int-value pair static void warning( const QString &msg ); %Docstring -Goes to qWarning +Goes to qWarning. %End static void critical( const QString &msg ); %Docstring -Goes to qCritical +Goes to qCritical. %End static void fatal( const QString &msg ); %Docstring -Goes to qFatal +Goes to qFatal. %End static int debugLevel(); @@ -77,7 +77,7 @@ the function returns 1 if QGISDEBUG is defined and 0 if not. static void logMessageToFile( const QString &message ); %Docstring -Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any. * +Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any. %End static QString logFile(); diff --git a/src/app/qgisapp.h b/src/app/qgisapp.h index dfc547cf55d..8706a1bf9a9 100644 --- a/src/app/qgisapp.h +++ b/src/app/qgisapp.h @@ -304,7 +304,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow //! Returns the messageBar object which allows displaying unobtrusive messages to the user. QgsMessageBar *messageBar(); - //! Open the message log dock widget * + //! Open the message log dock widget void openMessageLog(); //! Adds a widget to the user input tool bar. diff --git a/src/core/pal/layer.h b/src/core/pal/layer.h index 33983725b86..2d1a2b9c9d3 100644 --- a/src/core/pal/layer.h +++ b/src/core/pal/layer.h @@ -314,7 +314,7 @@ namespace pal */ int connectedFeatureId( QgsFeatureId featureId ) const; - //! Chop layer features at the repeat distance * + //! Chop layer features at the repeat distance void chopFeaturesAtRepeatDistance(); protected: diff --git a/src/core/qgsgml.h b/src/core/qgsgml.h index 247b87773e8..3028c47590b 100644 --- a/src/core/qgsgml.h +++ b/src/core/qgsgml.h @@ -70,7 +70,7 @@ class CORE_EXPORT QgsGmlStreamingParser //! Axis orientation logic. typedef enum { - //! Honour EPSG axis order only if srsName is of the form urn:ogc:def:crs:EPSG: * + //! Honour EPSG axis order only if srsName is of the form urn:ogc:def:crs:EPSG: Honour_EPSG_if_urn, //! Honour EPSG axis order Honour_EPSG, diff --git a/src/core/qgslogger.h b/src/core/qgslogger.h index b81f5e44c1f..790bb6db959 100644 --- a/src/core/qgslogger.h +++ b/src/core/qgslogger.h @@ -91,13 +91,13 @@ class CORE_EXPORT QgsLogger debug( var, os.str().c_str(), file, function, line, debuglevel ); } - //! Goes to qWarning + //! Goes to qWarning. static void warning( const QString &msg ); - //! Goes to qCritical + //! Goes to qCritical. static void critical( const QString &msg ); - //! Goes to qFatal + //! Goes to qFatal. static void fatal( const QString &msg ); /** @@ -111,7 +111,7 @@ class CORE_EXPORT QgsLogger return sDebugLevel; } - //! Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any. * + //! Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any. static void logMessageToFile( const QString &message ); /** diff --git a/src/core/qgsmaplayer.h b/src/core/qgsmaplayer.h index 8ec025e633e..bdf4487c2d3 100644 --- a/src/core/qgsmaplayer.h +++ b/src/core/qgsmaplayer.h @@ -1637,7 +1637,7 @@ class CORE_EXPORT QgsMapLayer : public QObject //! A flag that tells us whether to use the above vars to restrict layer visibility bool mScaleBasedVisibility = false; - //! Collection of undoable operations for this layer. * + //! Collection of undoable operations for this layer. QUndoStack *mUndoStack = nullptr; QUndoStack *mUndoStackStyles = nullptr; diff --git a/src/gui/ogr/qgsnewogrconnection.cpp b/src/gui/ogr/qgsnewogrconnection.cpp index add7e680be8..ec9667293b4 100644 --- a/src/gui/ogr/qgsnewogrconnection.cpp +++ b/src/gui/ogr/qgsnewogrconnection.cpp @@ -128,7 +128,7 @@ void QgsNewOgrConnection::updateOkButtonState() } -//! Autoconnected SLOTS * +//! Autoconnected SLOTS void QgsNewOgrConnection::accept() { QgsSettings settings; @@ -170,4 +170,4 @@ void QgsNewOgrConnection::btnConnect_clicked() testConnection(); } -//! End Autoconnected SLOTS * +//! End Autoconnected SLOTS diff --git a/src/plugins/geometry_checker/qgsgeometrycheckerresulttab.cpp b/src/plugins/geometry_checker/qgsgeometrycheckerresulttab.cpp index 5257f793f56..696c0d3cf5d 100644 --- a/src/plugins/geometry_checker/qgsgeometrycheckerresulttab.cpp +++ b/src/plugins/geometry_checker/qgsgeometrycheckerresulttab.cpp @@ -462,7 +462,7 @@ void QgsGeometryCheckerResultTab::openAttributeTable() void QgsGeometryCheckerResultTab::fixErrors( bool prompt ) { - //! Collect errors to fix * + //! Collect errors to fix QModelIndexList rows = ui.tableWidgetErrors->selectionModel()->selectedRows(); if ( rows.isEmpty() ) { @@ -490,13 +490,13 @@ void QgsGeometryCheckerResultTab::fixErrors( bool prompt ) // Disable sorting while fixing errors ui.tableWidgetErrors->setSortingEnabled( false ); - //! Reset statistics, clear rubberbands * + //! Reset statistics, clear rubberbands mStatistics = QgsGeometryCheckerFixSummaryDialog::Statistics(); qDeleteAll( mCurrentRubberBands ); mCurrentRubberBands.clear(); - //! Fix errors * + //! Fix errors mCloseable = false; if ( prompt ) { diff --git a/src/providers/db2/qgsdb2newconnection.cpp b/src/providers/db2/qgsdb2newconnection.cpp index 3d5214d6a5c..5c4b45e8845 100644 --- a/src/providers/db2/qgsdb2newconnection.cpp +++ b/src/providers/db2/qgsdb2newconnection.cpp @@ -83,7 +83,7 @@ QgsDb2NewConnection::QgsDb2NewConnection( QWidget *parent, const QString &connNa txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) ); } -//! Autoconnected SLOTS * +//! Autoconnected SLOTS void QgsDb2NewConnection::accept() { QgsSettings settings; @@ -150,7 +150,7 @@ void QgsDb2NewConnection::on_cb_trustedConnection_clicked() } -//! End Autoconnected SLOTS * +//! End Autoconnected SLOTS bool QgsDb2NewConnection::testConnection() { diff --git a/src/providers/mssql/qgsmssqlnewconnection.cpp b/src/providers/mssql/qgsmssqlnewconnection.cpp index 177742f31cd..aeb9e80d1dc 100644 --- a/src/providers/mssql/qgsmssqlnewconnection.cpp +++ b/src/providers/mssql/qgsmssqlnewconnection.cpp @@ -80,7 +80,7 @@ QgsMssqlNewConnection::QgsMssqlNewConnection( QWidget *parent, const QString &co txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) ); cb_trustedConnection_clicked(); } -//! Autoconnected SLOTS * +//! Autoconnected SLOTS void QgsMssqlNewConnection::accept() { QgsSettings settings; @@ -156,7 +156,7 @@ void QgsMssqlNewConnection::cb_trustedConnection_clicked() } } -//! End Autoconnected SLOTS * +//! End Autoconnected SLOTS bool QgsMssqlNewConnection::testConnection( const QString &testDatabase ) { diff --git a/src/providers/mssql/qgsmssqlprovider.h b/src/providers/mssql/qgsmssqlprovider.h index 5cf9dc4c2ae..d522d5fe14e 100644 --- a/src/providers/mssql/qgsmssqlprovider.h +++ b/src/providers/mssql/qgsmssqlprovider.h @@ -127,7 +127,7 @@ class QgsMssqlProvider final: public QgsVectorDataProvider //! Convert a QgsField to work with MSSQL static bool convertField( QgsField &field ); - //! Convert values to quoted values for database work * + //! Convert values to quoted values for database work static QString quotedValue( const QVariant &value ); static QString quotedIdentifier( const QString &value ); diff --git a/src/providers/oracle/qgsoraclesourceselect.cpp b/src/providers/oracle/qgsoraclesourceselect.cpp index daeff481a32..be76d52ede4 100644 --- a/src/providers/oracle/qgsoraclesourceselect.cpp +++ b/src/providers/oracle/qgsoraclesourceselect.cpp @@ -246,7 +246,7 @@ QgsOracleSourceSelect::QgsOracleSourceSelect( QWidget *parent, Qt::WindowFlags f populateConnectionList(); } -//! Autoconnected SLOTS * +//! Autoconnected SLOTS // Slot for adding a new connection void QgsOracleSourceSelect::on_btnNew_clicked() { @@ -309,7 +309,7 @@ void QgsOracleSourceSelect::on_btnEdit_clicked() delete nc; } -//! End Autoconnected SLOTS * +//! End Autoconnected SLOTS // Remember which database is selected void QgsOracleSourceSelect::on_cmbConnections_currentIndexChanged( const QString &text ) diff --git a/src/providers/postgres/qgspgnewconnection.cpp b/src/providers/postgres/qgspgnewconnection.cpp index e49584c8a43..2975f677857 100644 --- a/src/providers/postgres/qgspgnewconnection.cpp +++ b/src/providers/postgres/qgspgnewconnection.cpp @@ -115,7 +115,7 @@ QgsPgNewConnection::QgsPgNewConnection( QWidget *parent, const QString &connName txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]*" ), txtName ) ); } -//! Autoconnected SLOTS * +//! Autoconnected SLOTS void QgsPgNewConnection::accept() { QgsSettings settings; @@ -189,7 +189,7 @@ void QgsPgNewConnection::cb_geometryColumnsOnly_clicked() cb_publicSchemaOnly->setEnabled( true ); } -//! End Autoconnected SLOTS * +//! End Autoconnected SLOTS void QgsPgNewConnection::testConnection() { diff --git a/src/providers/postgres/qgspgsourceselect.cpp b/src/providers/postgres/qgspgsourceselect.cpp index ae690f7b000..88ca4159d7e 100644 --- a/src/providers/postgres/qgspgsourceselect.cpp +++ b/src/providers/postgres/qgspgsourceselect.cpp @@ -295,7 +295,7 @@ QgsPgSourceSelect::QgsPgSourceSelect( QWidget *parent, Qt::WindowFlags fl, QgsPr mSearchModeLabel->setVisible( false ); mSearchTableEdit->setVisible( false ); } -//! Autoconnected SLOTS * +//! Autoconnected SLOTS // Slot for adding a new connection void QgsPgSourceSelect::btnNew_clicked() { @@ -354,7 +354,7 @@ void QgsPgSourceSelect::btnEdit_clicked() delete nc; } -//! End Autoconnected SLOTS * +//! End Autoconnected SLOTS // Remember which database is selected void QgsPgSourceSelect::cmbConnections_currentIndexChanged( const QString &text )