#include <qgsbookmarkitem.h>
Collaboration diagram for QgsBookmarkItem:

Definition at line 30 of file qgsbookmarkitem.h.
Public Member Functions | |
| QgsBookmarkItem (QString name, QString projectTitle, QgsRect viewExtent, int srid, QString databasePath) | |
| Constructs a bookmark item. | |
| ~QgsBookmarkItem () | |
| Default destructor. | |
| void | store () |
| Store the bookmark in the database. | |
Private Attributes | |
| QString | mName |
| Name of the bookmark. | |
| QString | mProjectTitle |
| Project that this bookmark was created from. | |
| QgsRect | mViewExtent |
| Extent of the view for the bookmark. | |
| int | mSrid |
| SRID of the canvas coordinate system when the bookmark was created. | |
| QString | mUserDbPath |
| Full path to the user database. | |
| QgsBookmarkItem::QgsBookmarkItem | ( | QString | name, | |
| QString | projectTitle, | |||
| QgsRect | viewExtent, | |||
| int | srid, | |||
| QString | databasePath | |||
| ) |
| QgsBookmarkItem::~QgsBookmarkItem | ( | ) |
| void QgsBookmarkItem::store | ( | ) |
Store the bookmark in the database.
Definition at line 37 of file qgsbookmarkitem.cpp.
References mName, mProjectTitle, mSrid, mUserDbPath, mViewExtent, QgsDebugMsg, sqlite3_close, sqlite3_errmsg, sqlite3_finalize, sqlite3_open, sqlite3_prepare, sqlite3_step, SQLITE_DONE, SQLITE_OK, QgsRect::xMax(), QgsRect::xMin(), QgsRect::yMax(), and QgsRect::yMin().
Referenced by QgisApp::newBookmark().
QString QgsBookmarkItem::mName [private] |
QString QgsBookmarkItem::mProjectTitle [private] |
Project that this bookmark was created from.
Definition at line 44 of file qgsbookmarkitem.h.
Referenced by store().
QgsRect QgsBookmarkItem::mViewExtent [private] |
Extent of the view for the bookmark.
Definition at line 46 of file qgsbookmarkitem.h.
Referenced by store().
int QgsBookmarkItem::mSrid [private] |
SRID of the canvas coordinate system when the bookmark was created.
Definition at line 48 of file qgsbookmarkitem.h.
Referenced by store().
QString QgsBookmarkItem::mUserDbPath [private] |
Full path to the user database.
Definition at line 50 of file qgsbookmarkitem.h.
Referenced by store().
1.5.1