Showing with 2,341 additions and 342 deletions.
  1. +1 −1 doc/index.dox
  2. +5 −5 python/plugins/db_manager/db_manager.py
  3. +3 −3 python/plugins/db_manager/db_plugins/connector.py
  4. +9 −2 python/plugins/db_manager/table_viewer.py
  5. +65 −0 scripts/addcopyright.sh
  6. +14 −0 src/analysis/interpolation/HalfEdge.cc
  7. +14 −0 src/analysis/interpolation/TriangleInterpolator.cc
  8. +14 −0 src/analysis/interpolation/Triangulation.cc
  9. +14 −0 src/analysis/raster/qgsrastercalcnode.cpp
  10. +6 −6 src/app/composer/qgscomposerlegendlayersdialog.cpp
  11. +6 −6 src/app/composer/qgscomposerlegendlayersdialog.h
  12. +6 −11 src/app/legend/qgslegendgroup.cpp
  13. +6 −11 src/app/legend/qgslegendgroup.h
  14. +6 −11 src/app/legend/qgslegenditem.cpp
  15. +6 −11 src/app/legend/qgslegenditem.h
  16. +6 −12 src/app/legend/qgslegendlayer.cpp
  17. +6 −11 src/app/legend/qgslegendlayer.h
  18. +6 −11 src/app/legend/qgslegendpropertygroup.cpp
  19. +6 −11 src/app/legend/qgslegendpropertygroup.h
  20. +6 −11 src/app/legend/qgslegendpropertyitem.cpp
  21. +6 −11 src/app/legend/qgslegendpropertyitem.h
  22. +6 −11 src/app/legend/qgslegendsymbologygroup.cpp
  23. +6 −11 src/app/legend/qgslegendsymbologygroup.h
  24. +6 −12 src/app/legend/qgslegendsymbologyitem.cpp
  25. +6 −11 src/app/legend/qgslegendsymbologyitem.h
  26. +0 −1 src/app/main.cpp
  27. +14 −0 src/app/qgsbrowserdockwidget.cpp
  28. +14 −0 src/app/qgsbrowserdockwidget.h
  29. +14 −0 src/app/qgsembedlayerdialog.cpp
  30. +14 −0 src/app/qgsembedlayerdialog.h
  31. +14 −0 src/app/qgsformannotationdialog.cpp
  32. +14 −0 src/app/qgsformannotationdialog.h
  33. +14 −0 src/app/qgslabelengineconfigdialog.cpp
  34. +14 −0 src/app/qgslabelengineconfigdialog.h
  35. +14 −0 src/app/qgslabelpreview.cpp
  36. +14 −0 src/app/qgslabelpreview.h
  37. +6 −12 src/app/qgstip.h
  38. +6 −12 src/app/qgstipfactory.cpp
  39. +6 −11 src/app/qgstipfactory.h
  40. +14 −0 src/app/qgsundowidget.cpp
  41. +14 −0 src/app/qgsundowidget.h
  42. +14 −0 src/core/pal/costcalculator.cpp
  43. +14 −0 src/core/pal/costcalculator.h
  44. +14 −0 src/core/qgsbrowsermodel.cpp
  45. +14 −0 src/core/qgsbrowsermodel.h
  46. +38 −26 src/core/qgscoordinatereferencesystem.cpp
  47. +36 −21 src/core/qgsdataitem.cpp
  48. +14 −0 src/core/qgsdiagram.cpp
  49. +14 −0 src/core/qgsdiagram.h
  50. +14 −0 src/core/qgsdiagramrendererv2.cpp
  51. +14 −0 src/core/qgsdiagramrendererv2.h
  52. +14 −0 src/core/qgslabelsearchtree.cpp
  53. +10 −12 src/core/qgsmaprenderer.cpp
  54. +14 −0 src/core/qgsmimedatautils.cpp
  55. +14 −0 src/core/qgsmimedatautils.h
  56. +14 −0 src/core/qgspluginlayer.cpp
  57. +14 −0 src/core/qgspluginlayer.h
  58. +14 −0 src/core/qgspythonrunner.cpp
  59. +14 −0 src/core/qgspythonrunner.h
  60. +14 −0 src/core/qgsvectorlayerundocommand.cpp
  61. +14 −0 src/core/qgsvectorlayerundocommand.h
  62. +14 −0 src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
  63. +14 −0 src/core/symbology-ng/qgscategorizedsymbolrendererv2.h
  64. +14 −0 src/core/symbology-ng/qgscolorbrewerpalette.h
  65. +14 −0 src/core/symbology-ng/qgsellipsesymbollayerv2.cpp
  66. +14 −0 src/core/symbology-ng/qgsellipsesymbollayerv2.h
  67. +14 −0 src/core/symbology-ng/qgsfillsymbollayerv2.cpp
  68. +14 −0 src/core/symbology-ng/qgsfillsymbollayerv2.h
  69. +13 −12 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
  70. +14 −0 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.h
  71. +14 −0 src/core/symbology-ng/qgslinesymbollayerv2.cpp
  72. +14 −0 src/core/symbology-ng/qgslinesymbollayerv2.h
  73. +14 −0 src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
  74. +14 −0 src/core/symbology-ng/qgsmarkersymbollayerv2.h
  75. +14 −0 src/core/symbology-ng/qgsrendererv2.cpp
  76. +14 −0 src/core/symbology-ng/qgsrendererv2.h
  77. +14 −0 src/core/symbology-ng/qgsrendererv2registry.cpp
  78. +14 −0 src/core/symbology-ng/qgsrendererv2registry.h
  79. +14 −0 src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
  80. +14 −0 src/core/symbology-ng/qgssinglesymbolrendererv2.h
  81. +14 −0 src/core/symbology-ng/qgsstylev2.cpp
  82. +14 −0 src/core/symbology-ng/qgsstylev2.h
  83. +14 −0 src/core/symbology-ng/qgssymbollayerv2.cpp
  84. +14 −0 src/core/symbology-ng/qgssymbollayerv2.h
  85. +14 −0 src/core/symbology-ng/qgssymbollayerv2registry.cpp
  86. +14 −0 src/core/symbology-ng/qgssymbollayerv2registry.h
  87. +14 −0 src/core/symbology-ng/qgssymbollayerv2utils.cpp
  88. +14 −0 src/core/symbology-ng/qgssymbollayerv2utils.h
  89. +14 −0 src/core/symbology-ng/qgssymbologyv2conversion.cpp
  90. +14 −0 src/core/symbology-ng/qgssymbologyv2conversion.h
  91. +14 −0 src/core/symbology-ng/qgssymbolv2.cpp
  92. +14 −0 src/core/symbology-ng/qgssymbolv2.h
  93. +14 −0 src/core/symbology-ng/qgsvectorcolorrampv2.cpp
  94. +14 −0 src/core/symbology-ng/qgsvectorcolorrampv2.h
  95. +15 −0 src/gui/qgsprojectbadlayerguihandler.cpp
  96. +14 −0 src/gui/qgsprojectbadlayerguihandler.h
  97. +14 −0 src/gui/symbology-ng/qgsbrushstylecombobox.cpp
  98. +14 −0 src/gui/symbology-ng/qgsbrushstylecombobox.h
  99. +14 −0 src/gui/symbology-ng/qgscategorizedsymbolrendererv2widget.cpp
  100. +14 −0 src/gui/symbology-ng/qgscategorizedsymbolrendererv2widget.h
  101. +14 −0 src/gui/symbology-ng/qgscolorrampcombobox.cpp
  102. +14 −0 src/gui/symbology-ng/qgscolorrampcombobox.h
  103. +14 −0 src/gui/symbology-ng/qgsellipsesymbollayerv2widget.cpp
  104. +14 −0 src/gui/symbology-ng/qgsellipsesymbollayerv2widget.h
  105. +14 −0 src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp
  106. +15 −0 src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.h
  107. +14 −0 src/gui/symbology-ng/qgspenstylecombobox.cpp
  108. +14 −0 src/gui/symbology-ng/qgspenstylecombobox.h
  109. +14 −1 src/gui/symbology-ng/qgsrendererv2propertiesdialog.cpp
  110. +15 −0 src/gui/symbology-ng/qgsrendererv2propertiesdialog.h
  111. +14 −0 src/gui/symbology-ng/qgsrendererv2widget.cpp
  112. +14 −0 src/gui/symbology-ng/qgsrendererv2widget.h
  113. +14 −0 src/gui/symbology-ng/qgssinglesymbolrendererv2widget.cpp
  114. +14 −0 src/gui/symbology-ng/qgssinglesymbolrendererv2widget.h
  115. +14 −0 src/gui/symbology-ng/qgsstylev2managerdialog.cpp
  116. +14 −0 src/gui/symbology-ng/qgsstylev2managerdialog.h
  117. +15 −0 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
  118. +15 −0 src/gui/symbology-ng/qgssymbollayerv2widget.h
  119. +14 −0 src/gui/symbology-ng/qgssymbollevelsv2dialog.cpp
  120. +14 −0 src/gui/symbology-ng/qgssymbollevelsv2dialog.h
  121. +14 −0 src/gui/symbology-ng/qgssymbolv2propertiesdialog.cpp
  122. +14 −0 src/gui/symbology-ng/qgssymbolv2propertiesdialog.h
  123. +14 −0 src/gui/symbology-ng/qgssymbolv2selectordialog.cpp
  124. +14 −0 src/gui/symbology-ng/qgssymbolv2selectordialog.h
  125. +14 −0 src/gui/symbology-ng/qgsvectorcolorbrewercolorrampv2dialog.cpp
  126. +14 −0 src/gui/symbology-ng/qgsvectorcolorbrewercolorrampv2dialog.h
  127. +14 −0 src/gui/symbology-ng/qgsvectorfieldsymbollayerwidget.cpp
  128. +14 −0 src/gui/symbology-ng/qgsvectorfieldsymbollayerwidget.h
  129. +14 −0 src/gui/symbology-ng/qgsvectorfieldwidget.h
  130. +14 −0 src/gui/symbology-ng/qgsvectorgradientcolorrampv2dialog.cpp
  131. +14 −0 src/gui/symbology-ng/qgsvectorgradientcolorrampv2dialog.h
  132. +14 −0 src/gui/symbology-ng/qgsvectorrandomcolorrampv2dialog.cpp
  133. +14 −0 src/gui/symbology-ng/qgsvectorrandomcolorrampv2dialog.h
  134. +14 −0 src/mapserver/qgsgetrequesthandler.cpp
  135. +14 −0 src/mapserver/qgslogicalfilter.cpp
  136. +14 −0 src/mapserver/qgsmsutils.cpp
  137. +14 −0 src/mapserver/qgsmsutils.h
  138. +62 −3 src/mapserver/qgswfsserver.cpp
  139. +16 −0 src/mapserver/qgswfsserver.h
  140. +14 −0 src/plugins/diagram_overlay/qgsdiagramrenderer.cpp
  141. +14 −0 src/plugins/globe/qgsosgearthtilesource.cpp
  142. +14 −0 src/plugins/globe/qgsosgearthtilesource.h
  143. +14 −0 src/plugins/grass/qgis.g.browser.cpp
  144. +14 −0 src/plugins/interpolation/qgsidwinterpolatordialog.cpp
  145. +14 −0 src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisdialog.cpp
  146. +14 −0 src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisdialog.h
  147. +14 −0 src/providers/gdal/qgsgdaldataitems.cpp
  148. +14 −0 src/providers/gdal/qgsgdaldataitems.h
  149. +14 −0 src/providers/grass/qgis.d.rast.c
  150. +14 −0 src/providers/grass/qgis.g.info.c
  151. +14 −0 src/providers/postgres/qgspostgresdataitems.cpp
  152. +14 −0 src/providers/postgres/qgspostgresdataitems.h
  153. +25 −6 src/providers/postgres/qgspostgresprovider.cpp
  154. +14 −0 src/providers/spatialite/qgsspatialiteconnection.cpp
  155. +14 −0 src/providers/spatialite/qgsspatialiteconnection.h
  156. +14 −0 src/providers/spatialite/qgsspatialitedataitems.cpp
  157. +14 −0 src/providers/spatialite/qgsspatialitedataitems.h
  158. +14 −0 src/providers/wfs/qgswfsconnection.cpp
  159. +14 −0 src/providers/wfs/qgswfsconnection.h
  160. +14 −0 src/providers/wfs/qgswfsdataitems.cpp
  161. +14 −0 src/providers/wfs/qgswfsdataitems.h
  162. +14 −0 src/providers/wfs/qgswfsutils.cpp
  163. +14 −0 src/providers/wfs/qgswfsutils.h
  164. +14 −0 src/providers/wms/qgswmsdataitems.cpp
  165. +14 −0 src/providers/wms/qgswmsdataitems.h
  166. +47 −42 src/providers/wms/qgswmsprovider.cpp
  167. +12 −4 src/python/qgspythonutilsimpl.cpp
  168. +18 −0 tests/src/core/testziplayer.cpp
  169. BIN tests/testdata/testzip.zip
2 changes: 1 addition & 1 deletion doc/index.dox
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/*! \mainpage Quantum GIS

\section index_intro Introduction
\htmlonly<img src="http://download.qgis.org/qgis-icon-60x60.png" alt="QGIS"
\htmlonly<img src="http://hub.qgis.org/projects/quantum-gis/repository/revisions/master/entry/images/icons/qgis-icon-60x60.png" alt="QGIS"
align="left"><a href="http://qgis.org">Quantum GIS</a>\endhtmlonly\latexonly
Quantum GIS \endlatexonly (QGIS) is a user friendly Open Source Geographic
Information System (GIS) that runs on Linux, Unix, Mac OSX, and Windows. QGIS
Expand Down
10 changes: 5 additions & 5 deletions python/plugins/db_manager/db_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def registerAction(self, action, menuName, callback=None):
# get the placeholder's position to insert before it
pos = 0
for pos in range(len(menuActions)):
if menuActions[pos].isSeparator() and menuActions[pos].text() == "placeholder":
if menuActions[pos].isSeparator() and menuActions[pos].objectName().endsWith("_placeholder"):
menuActions[pos].setVisible(True)
break

Expand Down Expand Up @@ -301,7 +301,7 @@ def unregisterAction(self, action, menuName):
# hide the placeholder if there're no other registered actions
if len(self._registeredDbActions[menuName]) <= 0:
for i in range(len(menuActions)):
if menuActions[i].isSeparator() and menuActions[i].text() == "placeholder":
if menuActions[i].isSeparator() and menuActions[i].objectName().endsWith("_placeholder"):
menuActions[i].setVisible(False)
break

Expand Down Expand Up @@ -369,18 +369,18 @@ def setupUi(self):
# create menus' actions

# menu DATABASE
sep = self.menuDb.addAction("placeholder"); sep.setSeparator(True); sep.setVisible(False)
sep = self.menuDb.addSeparator(); sep.setObjectName("DB_Manager_DbMenu_placeholder"); sep.setVisible(False)
self.actionRefresh = self.menuDb.addAction( QIcon(":/db_manager/actions/refresh"), "&Refresh", self.refreshActionSlot, QKeySequence("F5") )
self.actionSqlWindow = self.menuDb.addAction( QIcon(":/db_manager/actions/sql_window"), "&SQL window", self.runSqlWindow, QKeySequence("F2") )
self.menuDb.addSeparator()
self.actionClose = self.menuDb.addAction( QIcon(), "&Exit", self.close, QKeySequence("CTRL+Q") )

# menu SCHEMA
sep = self.menuSchema.addAction("placeholder"); sep.setSeparator(True); sep.setVisible(False)
sep = self.menuSchema.addSeparator(); sep.setObjectName("DB_Manager_SchemaMenu_placeholder"); sep.setVisible(False)
actionMenuSchema.setVisible(False)

# menu TABLE
sep = self.menuTable.addAction("placeholder"); sep.setSeparator(True); sep.setVisible(False)
sep = self.menuTable.addSeparator(); sep.setObjectName("DB_Manager_TableMenu_placeholder"); sep.setVisible(False)
actionMenuTable.setVisible(False)
self.actionShowSystemTables = self.menuTable.addAction("Show system tables/views", self.showSystemTables)
self.actionShowSystemTables.setCheckable(True)
Expand Down
6 changes: 3 additions & 3 deletions python/plugins/db_manager/db_plugins/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ def hasTableColumnEditingSupport(self):
return False


def execution_error_types():
def execution_error_types(self):
raise Exception("DBConnector.execution_error_types() is an abstract method")

def connection_error_types():
def connection_error_types(self):
raise Exception("DBConnector.connection_error_types() is an abstract method")

def error_types():
def error_types(self):
return self.connection_error_types() + self.execution_error_types()

def _execute(self, cursor, sql):
Expand Down
11 changes: 9 additions & 2 deletions python/plugins/db_manager/table_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ def setDirty(self, val=True):

def _clear(self):
if self.item is not None:
self.disconnect(self.item, SIGNAL('aboutToChange'), self.setDirty)
try:
self.disconnect(self.item, SIGNAL('aboutToChange'), self.setDirty)
except:
# do not raise any error if self.item was deleted
pass

self.item = None
self.dirty = False

Expand All @@ -83,11 +88,13 @@ def _loadTableData(self, table):
self.setModel( table.tableDataModel(self) )

except DbError, e:
QApplication.restoreOverrideCursor()
DlgDbError.showError(e, self)
return

else:
self.update()

finally:
QApplication.restoreOverrideCursor()


Expand Down
65 changes: 65 additions & 0 deletions scripts/addcopyright.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#!/bin/bash
# licensecheck -r src

for i in $(<files); do
author=
authordate=
eval $(git log --reverse --pretty="export author='%an' authordate=\"\$(date --date='%ai' +'%%B %Y')\"" $i | head -1)
basename=$(basename $i)
authoryear=${authordate#* }
case $author in
wonder|"Martin Dobias")
authorname="Martin Dobias"
authoremail="wonder.sk at gmail.com"
;;

"Marco Hugentobler"|mhugent)
authorname="Marco Hugentobler"
authoremail="marco dot hugentobler at sourcepole dot ch"
;;

"Pirmin Kalberer")
authorname="Pirmin Kalberer"
authoremail="pka at sourcepole dot ch"
;;

rblazek)
authorname="Radim Blazek"
authoremail="radim dot blazek at gmail dot com"
;;

timlinux)
authorname="Tim Sutton"
authoremail="tim dot linfiniti at com"
;;

*)
echo "Author $author not found."
exit 1
;;
esac

src=$i
if [ -f "$i.nocopyright" ]; then
src=$i.nocopyright
fi

cat - $src >/tmp/new <<EOF
/***************************************************************************
$basename
---------------------
begin : $authordate
copyright : (C) $authoryear by $authorname
email : $authoremail
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
EOF
[ -f $i.nocopyright ] || mv $i $i.nocopyright
cp /tmp/new $i
done
14 changes: 14 additions & 0 deletions src/analysis/interpolation/HalfEdge.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/***************************************************************************
HalfEdge.cc
---------------------
begin : September 2009
copyright : (C) 2009 by Marco Hugentobler
email : marco dot hugentobler at sourcepole dot ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "HalfEdge.h"

//empty file, all methods are inline
14 changes: 14 additions & 0 deletions src/analysis/interpolation/TriangleInterpolator.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/***************************************************************************
TriangleInterpolator.cc
---------------------
begin : September 2009
copyright : (C) 2009 by Marco Hugentobler
email : marco dot hugentobler at sourcepole dot ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "TriangleInterpolator.h"

//empty file, all methods are inline
14 changes: 14 additions & 0 deletions src/analysis/interpolation/Triangulation.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/***************************************************************************
Triangulation.cc
---------------------
begin : September 2009
copyright : (C) 2009 by Marco Hugentobler
email : marco dot hugentobler at sourcepole dot ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "Triangulation.h"

//empty file (abstract class)
14 changes: 14 additions & 0 deletions src/analysis/raster/qgsrastercalcnode.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/***************************************************************************
qgsrastercalcnode.cpp
---------------------
begin : October 2010
copyright : (C) 2010 by Marco Hugentobler
email : marco dot hugentobler at sourcepole dot ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "qgsrastercalcnode.h"
#include <cfloat>

Expand Down
12 changes: 6 additions & 6 deletions src/app/composer/qgscomposerlegendlayersdialog.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/***************************************************************************
qgscomposerlegendlayersdialog.cpp
-------------------------------
***************************************************************************/

/***************************************************************************
qgscomposerlegendlayersdialog.cpp
---------------------
begin : December 2010
copyright : (C) 2010 by Tim Sutton
email : tim dot linfiniti at com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#include "qgscomposerlegendlayersdialog.h"

#include <QStandardItem>
Expand Down
12 changes: 6 additions & 6 deletions src/app/composer/qgscomposerlegendlayersdialog.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/***************************************************************************
qgscomposerlegenditemdialog.h
-----------------------------
***************************************************************************/

/***************************************************************************
qgscomposerlegendlayersdialog.h
---------------------
begin : December 2010
copyright : (C) 2010 by Tim Sutton
email : tim dot linfiniti at com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#ifndef QGSCOMPOSERLEGENDLAYERSDIALOG_H
#define QGSCOMPOSERLEGENDLAYERSDIALOG_H

Expand Down
17 changes: 6 additions & 11 deletions src/app/legend/qgslegendgroup.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
/***************************************************************************
* Copyright (C) 2005 by Tim Sutton *
* aps02ts@macbuntu *
qgslegendgroup.cpp
---------------------
begin : January 2007
copyright : (C) 2007 by Martin Dobias
email : wonder.sk at gmail.com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "qgsapplication.h"
#include "qgisapp.h"
Expand Down
17 changes: 6 additions & 11 deletions src/app/legend/qgslegendgroup.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
/***************************************************************************
* Copyright (C) 2005 by Tim Sutton *
* aps02ts@macbuntu *
qgslegendgroup.h
---------------------
begin : January 2007
copyright : (C) 2007 by Martin Dobias
email : wonder.sk at gmail.com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef QGSLEGENDGROUP_H
#define QGSLEGENDGROUP_H
Expand Down
17 changes: 6 additions & 11 deletions src/app/legend/qgslegenditem.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
/***************************************************************************
* Copyright (C) 2005 by Tim Sutton *
* aps02ts@macbuntu *
qgslegenditem.cpp
---------------------
begin : January 2007
copyright : (C) 2007 by Martin Dobias
email : wonder.sk at gmail.com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "qgslegenditem.h"
#include <QCoreApplication>
Expand Down
17 changes: 6 additions & 11 deletions src/app/legend/qgslegenditem.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
/***************************************************************************
* Copyright (C) 2005 by Tim Sutton *
* aps02ts@macbuntu *
qgslegenditem.h
---------------------
begin : January 2007
copyright : (C) 2007 by Martin Dobias
email : wonder.sk at gmail.com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef QGSLEGENDITEM_H
#define QGSLEGENDITEM_H
Expand Down
Loading