Skip to content

Commit aee073c

Browse files
author
gsherman
committed
New context_ids for context help.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5619 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 095e37f commit aee073c

8 files changed

+15
-6
lines changed

src/gui/qgsbookmarks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public slots:
4343
int connectDb();
4444
void zoomToBookmark();
4545
sqlite3 *db;
46-
static const int context_id = 85340544;
46+
static const int context_id = 151694916;
4747

4848
};
4949
#endif // QGSBOOKMARKS_H

src/gui/qgsdbsourceselect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class QgsDbSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
117117
//! Pointer to the qgis application mainwindow
118118
QgisApp *qgisApp;
119119
PGconn *pd;
120-
static const int context_id = 1244423922;
120+
static const int context_id = 939347163;
121121
};
122122

123123

src/gui/qgsidentifyresults.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
/* $Id$ */
1919

2020
#include "qgsidentifyresults.h"
21+
#include "qgscontexthelp.h"
2122
#include "qgsapplication.h"
2223

2324
#include <QCloseEvent>
@@ -290,3 +291,7 @@ void QgsIdentifyResults::clicked ( Q3ListViewItem *item )
290291

291292
mActions.doAction(id, mValues, mClickedOnValue);
292293
}
294+
void QgsIdentifyResults::on_buttonHelp_clicked()
295+
{
296+
QgsContextHelp::run(context_id);
297+
}

src/gui/qgsidentifyresults.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,16 @@ class QgsIdentifyResults: public QDialog, private Ui::QgsIdentifyResultsBase
9090
/* Item in tree was clicked */
9191
void clicked ( Q3ListViewItem *lvi );
9292

93+
//! Context help
94+
void on_buttonHelp_clicked();
95+
9396
private:
9497

9598
QgsAttributeAction mActions;
9699
int mClickedOnValue;
97100
QMenu* mActionPopup;
98101
std::vector<std::pair<QString, QString> > mValues;
102+
static const int context_id = -689216579;
99103

100104
/**
101105
Keeps track of what derived-attribute (e.g. Length, Area)

src/gui/qgsmapserverexport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void QgsMapserverExport::writeMapFile()
292292
break;
293293
}
294294
#ifdef QGISDEBUG
295-
std::cout << "\tMapsrver Export creating symbol entries" << std::endl;
295+
std::cout << "\tMapserver Export creating symbol entries" << std::endl;
296296
#endif
297297
// create a simple class entry based on red fill color and black outline color
298298
//TODO: adapt the following section to the new symbology

src/gui/qgsmeasure.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public slots:
113113
QgsRubberBand *mRubberBand;
114114

115115
//! Help context id
116-
static const int context_id = 940759457;
116+
static const int context_id = -687883780;
117117

118118
//! indicates whether we're measuring distances or areas
119119
bool mMeasureArea;

src/gui/qgsnewconnection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class QgsNewConnection : public QDialog, private Ui::QgsNewConnectionBase
4343
void on_btnHelp_clicked();
4444
void on_btnConnect_clicked();
4545
private:
46-
static const int context_id = 821572257;
46+
static const int context_id = -929865718;
4747
};
4848

4949
#endif // QGSNEWCONNECTIONBASE_H

src/gui/qgsprojectproperties.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,5 @@ public slots:
113113
//! notification of when on the fly projections are enabled / disabled
114114
void projectionEnabled(bool);
115115
private:
116-
static const int context_id = 1173513647;
116+
static const int context_id = 361087368;
117117
};

0 commit comments

Comments
 (0)