Skip to content

Commit 4ea5aaf

Browse files
author
mhugent
committed
Moved the dbmodel classes to app as they are not very likely to be of use to third part apps
git-svn-id: http://svn.osgeo.org/qgis/trunk@7983 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f415fde commit 4ea5aaf

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

src/app/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ SET(QGIS_APP_SRCS
1616
qgsclipboard.cpp
1717
qgscontinuouscolordialog.cpp
1818
qgscustomprojectiondialog.cpp
19+
qgsdbfilterproxymodel.cpp
20+
qgsdbtablemodel.cpp
1921
qgsdelattrdialog.cpp
2022
qgsfillstylewidget.cpp
2123
qgsgeomtypedialog.cpp

src/core/qgsdbfilterproxymodel.h renamed to src/app/qgsdbfilterproxymodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**A class that implements a custom filter and can be used
2424
as a proxy for QgsDbTableModel*/
25-
class CORE_EXPORT QgsDbFilterProxyModel: public QSortFilterProxyModel
25+
class QgsDbFilterProxyModel: public QSortFilterProxyModel
2626
{
2727
public:
2828
QgsDbFilterProxyModel(QObject* parent = 0);
File renamed without changes.

src/core/qgsdbtablemodel.h renamed to src/app/qgsdbtablemodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**A model that holds the tables of a database in a hierarchy where the
2222
schemas are the root elements that contain the individual tables as children.
2323
The tables have the following columns: Type, Schema, Tablename, Geometry Column, Sql*/
24-
class CORE_EXPORT QgsDbTableModel: public QStandardItemModel
24+
class QgsDbTableModel: public QStandardItemModel
2525
{
2626
public:
2727
QgsDbTableModel();

src/core/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ qgsclipper.cpp
1111
qgscontexthelp.cpp
1212
qgscoordinatetransform.cpp
1313
qgsdatasourceuri.cpp
14-
qgsdbfilterproxymodel.cpp
15-
qgsdbtablemodel.cpp
1614
qgsdistancearea.cpp
1715
qgsexception.cpp
1816
qgsfeature.cpp

0 commit comments

Comments
 (0)