00001 00002 /*************************************************************************** 00003 QgsBookmarkItem.h - Spatial Bookmark Item 00004 ------------------- 00005 begin : 2005-04-23 00006 copyright : (C) 2005 Gary Sherman 00007 email : sherman at mrcc dot com 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 /* $Id: qgsbookmarkitem.h 9138 2008-08-23 21:37:31Z jef $ */ 00019 #ifndef QGSBOOKMARKITEM_H 00020 #define QGSBOOKMARKITEM_H 00021 00022 #include <QString> 00023 #include "qgsrect.h" 00024 00030 class QgsBookmarkItem 00031 { 00032 public: 00034 QgsBookmarkItem( QString name, QString projectTitle, 00035 QgsRect viewExtent, int srid, QString databasePath ); 00037 ~QgsBookmarkItem(); 00039 void store(); 00040 private: 00042 QString mName; 00044 QString mProjectTitle; 00046 QgsRect mViewExtent; 00048 int mSrid; 00050 QString mUserDbPath; 00051 00052 }; 00053 00054 #endif // QGSBOOKMARKITEM_H 00055
1.5.1