Skip to content

Commit

Permalink
Moved the dbmodel classes to app as they are not very likely to be of…
Browse files Browse the repository at this point in the history
… use to third part apps

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7983 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 16, 2008
1 parent 2220a57 commit dd860a6
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ SET(QGIS_APP_SRCS
qgsclipboard.cpp
qgscontinuouscolordialog.cpp
qgscustomprojectiondialog.cpp
qgsdbfilterproxymodel.cpp
qgsdbtablemodel.cpp
qgsdelattrdialog.cpp
qgsfillstylewidget.cpp
qgsgeomtypedialog.cpp
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/**A class that implements a custom filter and can be used
as a proxy for QgsDbTableModel*/
class CORE_EXPORT QgsDbFilterProxyModel: public QSortFilterProxyModel
class QgsDbFilterProxyModel: public QSortFilterProxyModel
{
public:
QgsDbFilterProxyModel(QObject* parent = 0);
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/core/qgsdbtablemodel.h → src/app/qgsdbtablemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**A model that holds the tables of a database in a hierarchy where the
schemas are the root elements that contain the individual tables as children.
The tables have the following columns: Type, Schema, Tablename, Geometry Column, Sql*/
class CORE_EXPORT QgsDbTableModel: public QStandardItemModel
class QgsDbTableModel: public QStandardItemModel
{
public:
QgsDbTableModel();
Expand Down
2 changes: 0 additions & 2 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ qgsclipper.cpp
qgscontexthelp.cpp
qgscoordinatetransform.cpp
qgsdatasourceuri.cpp
qgsdbfilterproxymodel.cpp
qgsdbtablemodel.cpp
qgsdistancearea.cpp
qgsexception.cpp
qgsfeature.cpp
Expand Down

0 comments on commit dd860a6

Please sign in to comment.