Skip to content

Commit

Permalink
Update broken links to documentation
Browse files Browse the repository at this point in the history
Because links to doc are based on plain hyperlinks, changes in doc
structure affect these relations. This PR fixes the broken links.
  • Loading branch information
DelazJ authored and m-kuhn committed Aug 6, 2017
1 parent 434bda7 commit 139fe68
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 80 deletions.
59 changes: 0 additions & 59 deletions resources/context_help/QgsFieldCalculator

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginmanager.h
Expand Up @@ -155,7 +155,7 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
void on_ckbDeprecated_toggled( bool state );

//! Open help browser
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "plugins/plugins.html#the-plugins-dialog" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "plugins/plugins.html" ) ); }

//! Reimplement QgsOptionsDialogBase method to prevent modifying the tab list by signals from the stacked widget
void optionsStackedWidget_CurrentChanged( int indx ) { Q_UNUSED( indx ) }
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgscustomprojectiondialog.h
Expand Up @@ -42,7 +42,7 @@ class APP_EXPORT QgsCustomProjectionDialog : public QDialog, private Ui::QgsCust
void on_pbnCopyCRS_clicked();
void on_leNameList_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev );

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_projections/working_with_projections.html#custom-coordinate-reference-system" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_projections/working_with_projections.html" ) ); }
void on_buttonBox_accepted();

private:
Expand Down
5 changes: 3 additions & 2 deletions src/app/qgsfieldcalculator.h
Expand Up @@ -17,7 +17,7 @@
#define QGSFIELDCALCULATOR_H

#include "ui_qgsfieldcalculatorbase.h"
#include "qgscontexthelp.h"
#include "qgshelp.h"
#include "qgsfields.h"
#include "qgis_app.h"

Expand All @@ -42,7 +42,8 @@ class APP_EXPORT QgsFieldCalculator: public QDialog, private Ui::QgsFieldCalcula
void on_mOutputFieldNameLineEdit_textChanged( const QString &text );
void on_mOutputFieldTypeComboBox_activated( int index );

void on_mButtonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
void on_mButtonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/attribute_table.html#editing-attribute-values" ) ); }


private slots:
//! Sets the OK button enabled / disabled
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsnewspatialitelayerdialog.h
Expand Up @@ -49,7 +49,7 @@ class APP_EXPORT QgsNewSpatialiteLayerDialog: public QDialog, private Ui::QgsNew
void selectionChanged();
void checkOk();

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/editing_geometry_attributes.html#vector-create-spatialite" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/create_layers.html#creating-a-new-spatialite-layer" ) ); }
void on_buttonBox_accepted();
void on_buttonBox_rejected();

Expand Down
2 changes: 1 addition & 1 deletion src/gui/ogr/qgsvectorlayersaveasdialog.h
Expand Up @@ -122,7 +122,7 @@ class GUI_EXPORT QgsVectorLayerSaveAsDialog : public QDialog, private Ui::QgsVec
void on_leFilename_textChanged( const QString &text );
void on_browseFilename_clicked();
void on_mCrsSelector_crsChanged( const QgsCoordinateReferenceSystem &crs );
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#save-layer-into-file" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/create_layers.html#save-layer-from-an-existing-file" ) ); }
void on_mSymbologyExportComboBox_currentIndexChanged( const QString &text );
void on_mGeometryTypeComboBox_currentIndexChanged( int index );
void accept() override;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsnewvectorlayerdialog.h
Expand Up @@ -68,7 +68,7 @@ class GUI_EXPORT QgsNewVectorLayerDialog: public QDialog, private Ui::QgsNewVect
void on_mRemoveAttributeButton_clicked();
void on_mFileFormatComboBox_currentIndexChanged( int index );
void on_mTypeBox_currentIndexChanged( int index );
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/editing_geometry_attributes.html#creating-a-new-shapefile-layer" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/create_layers.html#creating-a-new-shapefile-layer" ) ); }
void nameChanged( const QString & );
void selectionChanged();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/db2/qgsdb2newconnection.h
Expand Up @@ -48,7 +48,7 @@ class QgsDb2NewConnection : public QDialog, private Ui::QgsDb2NewConnectionBase
void on_btnListDatabase_clicked();
void on_btnConnect_clicked();
void on_cb_trustedConnection_clicked();
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#db2-spatial-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#connecting-to-db2-spatial" ) ); }
private:
QString mOriginalConnName; //store initial name to delete entry in case of rename
QgsAuthConfigSelect *mAuthConfigSelect = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/db2/qgsdb2sourceselect.h
Expand Up @@ -147,7 +147,7 @@ class QgsDb2SourceSelect : public QgsAbstractDataSourceWidget, private Ui::QgsDb
//!Sets a new regular expression to the model
void setSearchExpression( const QString &regexp );

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#db2-spatial-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#loading-a-database-layer" ) ); }

void columnThreadFinished();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/delimitedtext/qgsdelimitedtextsourceselect.h
Expand Up @@ -62,7 +62,7 @@ class QgsDelimitedTextSourceSelect : public QgsAbstractDataSourceWidget, private
private slots:
void on_buttonBox_helpRequested()
{
QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#delimited-text-files" ) );
QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#importing-a-delimited-text-file" ) );
}
void on_btnBrowseForFile_clicked();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/mssql/qgsmssqlnewconnection.h
Expand Up @@ -47,7 +47,7 @@ class QgsMssqlNewConnection : public QDialog, private Ui::QgsMssqlNewConnectionB
void on_btnListDatabase_clicked();
void on_btnConnect_clicked();
void on_cb_trustedConnection_clicked();
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#mssql-spatial-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#connecting-to-mssql-spatial" ) ); }
private:
QString mOriginalConnName; //store initial name to delete entry in case of rename
};
Expand Down
2 changes: 1 addition & 1 deletion src/providers/mssql/qgsmssqlsourceselect.h
Expand Up @@ -119,7 +119,7 @@ class QgsMssqlSourceSelect : public QgsAbstractDataSourceWidget, private Ui::Qgs
//!Sets a new regular expression to the model
void setSearchExpression( const QString &regexp );

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#mssql-spatial-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#loading-a-database-layer" ) ); }

void columnThreadFinished();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrsourceselect.h
Expand Up @@ -101,7 +101,7 @@ class QgsOgrSourceSelect : public QgsAbstractDataSourceWidget, private Ui::QgsOg
void on_btnDelete_clicked();
void on_cmbDatabaseTypes_currentIndexChanged( const QString &text );
void on_cmbConnections_currentIndexChanged( const QString &text );
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#loading-a-layer-from-a-file" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#loading-a-layer-from-a-file" ) ); }
};

#endif // QGSOGRSOURCESELECT_H
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoraclenewconnection.h
Expand Up @@ -39,7 +39,7 @@ class QgsOracleNewConnection : public QDialog, private Ui::QgsOracleNewConnectio
public slots:
void accept();
void on_btnConnect_clicked();
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#oracle-spatial-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#connecting-to-oracle-spatial" ) ); }
private:
QString mOriginalConnName; //store initial name to delete entry in case of rename
};
Expand Down
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoraclesourceselect.h
Expand Up @@ -135,7 +135,7 @@ class QgsOracleSourceSelect : public QgsAbstractDataSourceWidget, private Ui::Qg
//!Sets a new regular expression to the model
void setSearchExpression( const QString &regexp );

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#oracle-spatial-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#loading-a-database-layer" ) ); }

void columnThreadFinished();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspgnewconnection.h
Expand Up @@ -40,7 +40,7 @@ class QgsPgNewConnection : public QDialog, private Ui::QgsPgNewConnectionBase
void accept() override;
void on_btnConnect_clicked();
void on_cb_geometryColumnsOnly_clicked();
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#postgis-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#creating-a-stored-connection" ) ); }
private:
QString mOriginalConnName; //store initial name to delete entry in case of rename
QgsAuthConfigSelect *mAuthConfigSelect = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspgsourceselect.h
Expand Up @@ -118,7 +118,7 @@ class QgsPgSourceSelect : public QgsAbstractDataSourceWidget, private Ui::QgsDbS
//!Sets a new regular expression to the model
void setSearchExpression( const QString &regexp );

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#postgis-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#loading-a-database-layer" ) ); }

void columnThreadFinished();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialitesourceselect.h
Expand Up @@ -94,7 +94,7 @@ class QgsSpatiaLiteSourceSelect: public QgsAbstractDataSourceWidget, private Ui:
//!Sets a new regular expression to the model
void setSearchExpression( const QString &regexp );

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#spatialite-layers" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "managing_data_source/opening_data.html#spatialite-layers" ) ); }

private:
enum Columns
Expand Down
5 changes: 3 additions & 2 deletions src/providers/wfs/qgswfssourceselect.h
Expand Up @@ -19,7 +19,7 @@
#define QGSWFSSOURCESELECT_H

#include "ui_qgswfssourceselectbase.h"
#include "qgscontexthelp.h"
#include "qgshelp.h"
#include "qgswfscapabilities.h"
#include "qgsproviderregistry.h"
#include "qgsabstractdatasourcewidget.h"
Expand Down Expand Up @@ -103,7 +103,8 @@ class QgsWFSSourceSelect: public QgsAbstractDataSourceWidget, private Ui::QgsWFS

void populateConnectionList();

void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_ogc/ogc_client_support.html" ) ); }


};

Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmssourceselect.h
Expand Up @@ -97,7 +97,7 @@ class QgsWMSSourceSelect : public QgsAbstractDataSourceWidget, private Ui::QgsWM
//! Add some default wms servers to the list
void on_btnAddDefault_clicked();

void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_ogc/ogc_client_support.html#wms-wmts-client" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_ogc/ogc_client_support.html" ) ); }

private:
//! Populate the connection list combo box
Expand Down

0 comments on commit 139fe68

Please sign in to comment.