Skip to content

Commit

Permalink
Fix links to official documentation
Browse files Browse the repository at this point in the history
Avoid use of relative (hence temporary) hyperlinks
  • Loading branch information
DelazJ authored and m-kuhn committed Feb 14, 2017
1 parent 1430e93 commit 77b2e97
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsdecorationcopyrightdialog.cpp
Expand Up @@ -100,5 +100,5 @@ void QgsDecorationCopyrightDialog::apply()

void QgsDecorationCopyrightDialog::on_buttonBox_helpRequested()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#id57" ) );
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#copyright-label" ) );
}
2 changes: 1 addition & 1 deletion src/app/qgsdecorationgriddialog.cpp
Expand Up @@ -178,7 +178,7 @@ QgsDecorationGridDialog::~QgsDecorationGridDialog()

void QgsDecorationGridDialog::on_buttonBox_helpRequested()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#id56" ) );
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#grid" ) );
}

void QgsDecorationGridDialog::on_buttonBox_accepted()
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmeasuredialog.h
Expand Up @@ -61,7 +61,7 @@ class APP_EXPORT QgsMeasureDialog : public QDialog, private Ui::QgsMeasureBase
void closeEvent( QCloseEvent *e ) override;

//! Show the help for the dialog
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#id38" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#measuring" ) ); }

//! When any external settings change
void updateSettings();
Expand Down
Expand Up @@ -72,7 +72,7 @@ class eVisDatabaseConnectionGui : public QDialog, private Ui::eVisDatabaseConnec
void drawNewVectorLayer( const QString&, const QString&, const QString& );

void on_buttonBox_accepted();
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "plugins/plugins_evis.html#id11" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "plugins/plugins_evis.html#database-connection" ) ); }

void on_cboxDatabaseType_currentIndexChanged( int );
void on_cboxPredefinedQueryList_currentIndexChanged( int );
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#id33" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#db2-spatial-layers" ) ); }
private:
QString mOriginalConnName; //store initial name to delete entry in case of rename
QgsAuthConfigSelect * mAuthConfigSelect;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/db2/qgsdb2sourceselect.h
Expand Up @@ -146,7 +146,7 @@ class QgsDb2SourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
//!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#id33" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#db2-spatial-layers" ) ); }

void columnThreadFinished();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/delimitedtext/qgsdelimitedtextsourceselect.h
Expand Up @@ -62,7 +62,7 @@ class QgsDelimitedTextSourceSelect : public QDialog, private Ui::QgsDelimitedTex
void on_buttonBox_rejected();
void on_buttonBox_helpRequested()
{
QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#id8" ) );
QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#delimited-text-files" ) );
}
void on_btnBrowseForFile_clicked();

Expand Down
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#id2" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#oracle-spatial-layers" ) ); }
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 @@ -134,7 +134,7 @@ class QgsOracleSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
//!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#id2" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#oracle-spatial-layers" ) ); }

void columnThreadFinished();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspgnewconnection.h
Expand Up @@ -39,7 +39,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#id14" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#postgis-layers" ) ); }
private:
QString mOriginalConnName; //store initial name to delete entry in case of rename
QgsAuthConfigSelect * mAuthConfigSelect;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspgsourceselect.h
Expand Up @@ -116,7 +116,7 @@ class QgsPgSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
//!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#id14" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/supported_data.html#postgis-layers" ) ); }

void columnThreadFinished();

Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmssourceselect.h
Expand Up @@ -95,7 +95,7 @@ class QgsWMSSourceSelect : public QDialog, private Ui::QgsWMSSourceSelectBase
//! 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#id5" ) ); }
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_ogc/ogc_client_support.html#wms-wmts-client" ) ); }

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

0 comments on commit 77b2e97

Please sign in to comment.